*/
#include "xfs/libxfs.h"
-#include <xfs/xfs.h>
-#include <xfs/xfs_types.h>
-#include <xfs/jdm.h>
-#include <xfs/xfs_bmap_btree.h>
-#include <xfs/xfs_attr_sf.h>
+#include "xfs/xfs.h"
+#include "xfs/xfs_types.h"
+#include "xfs/jdm.h"
+#include "xfs/xfs_bmap_btree.h"
+#include "xfs/xfs_attr_sf.h"
#include <fcntl.h>
#include <errno.h>
*/
#include "xfs/libxfs.h"
-#include <xfs/path.h>
+#include "xfs/path.h"
static void
usage(void)
#include <ctype.h>
#include <libgen.h>
#include <paths.h>
-#include <xfs/swab.h>
+#include "xfs/swab.h"
#define constpp char * const *
#include <pwd.h>
#include <grp.h>
#include <sys/types.h>
-#include <xfs/project.h>
+#include "xfs/project.h"
#include <stdbool.h>
extern char **breakline(char *input, int *count);
#ifndef __LIBXFS_H__
#define __LIBXFS_H__
-#include <xfs/libxfs_api_defs.h>
-#include <xfs/platform_defs.h>
+#include "xfs/libxfs_api_defs.h"
+#include "xfs/platform_defs.h"
-#include <xfs/list.h>
-#include <xfs/hlist.h>
-#include <xfs/cache.h>
-#include <xfs/bitops.h>
-#include <xfs/kmem.h>
-#include <xfs/radix-tree.h>
-#include <xfs/swab.h>
-#include <xfs/atomic.h>
+#include "xfs/list.h"
+#include "xfs/hlist.h"
+#include "xfs/cache.h"
+#include "xfs/bitops.h"
+#include "xfs/kmem.h"
+#include "xfs/radix-tree.h"
+#include "xfs/swab.h"
+#include "xfs/atomic.h"
-#include <xfs/xfs_types.h>
-#include <xfs/xfs_fs.h>
-#include <xfs/xfs_arch.h>
+#include "xfs/xfs_types.h"
+#include "xfs/xfs_fs.h"
+#include "xfs/xfs_arch.h"
-#include <xfs/xfs_shared.h>
-#include <xfs/xfs_format.h>
-#include <xfs/xfs_log_format.h>
-#include <xfs/xfs_quota_defs.h>
-#include <xfs/xfs_trans_resv.h>
+#include "xfs/xfs_shared.h"
+#include "xfs/xfs_format.h"
+#include "xfs/xfs_log_format.h"
+#include "xfs/xfs_quota_defs.h"
+#include "xfs/xfs_trans_resv.h"
/* CRC stuff, buffer API dependent on it */
#define crc32(c,p,l) crc32_le((c),(unsigned char const *)(p),(l))
#define crc32c(c,p,l) crc32c_le((c),(unsigned char const *)(p),(l))
-#include <xfs/xfs_cksum.h>
+#include "xfs/xfs_cksum.h"
/*
* This mirrors the kernel include for xfs_buf.h - it's implicitly included in
* every files via a similar include in the kernel xfs_linux.h.
*/
-#include <xfs/libxfs_io.h>
-
-#include <xfs/xfs_bit.h>
-#include <xfs/xfs_sb.h>
-#include <xfs/xfs_mount.h>
-#include <xfs/xfs_da_format.h>
-#include <xfs/xfs_da_btree.h>
-#include <xfs/xfs_dir2.h>
-#include <xfs/xfs_bmap_btree.h>
-#include <xfs/xfs_alloc_btree.h>
-#include <xfs/xfs_ialloc_btree.h>
-#include <xfs/xfs_attr_sf.h>
-#include <xfs/xfs_inode_fork.h>
-#include <xfs/xfs_inode_buf.h>
-#include <xfs/xfs_inode.h>
-#include <xfs/xfs_alloc.h>
-#include <xfs/xfs_btree.h>
-#include <xfs/xfs_btree_trace.h>
-#include <xfs/xfs_bmap.h>
-#include <xfs/xfs_trace.h>
-#include <xfs/xfs_trans.h>
+#include "xfs/libxfs_io.h"
+
+#include "xfs/xfs_bit.h"
+#include "xfs/xfs_sb.h"
+#include "xfs/xfs_mount.h"
+#include "xfs/xfs_da_format.h"
+#include "xfs/xfs_da_btree.h"
+#include "xfs/xfs_dir2.h"
+#include "xfs/xfs_bmap_btree.h"
+#include "xfs/xfs_alloc_btree.h"
+#include "xfs/xfs_ialloc_btree.h"
+#include "xfs/xfs_attr_sf.h"
+#include "xfs/xfs_inode_fork.h"
+#include "xfs/xfs_inode_buf.h"
+#include "xfs/xfs_inode.h"
+#include "xfs/xfs_alloc.h"
+#include "xfs/xfs_btree.h"
+#include "xfs/xfs_btree_trace.h"
+#include "xfs/xfs_bmap.h"
+#include "xfs/xfs_trace.h"
+#include "xfs/xfs_trans.h"
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
extern int libxfs_nproc(void);
extern unsigned long libxfs_physmem(void); /* in kilobytes */
-#include <xfs/xfs_ialloc.h>
+#include "xfs/xfs_ialloc.h"
-#include <xfs/xfs_attr_leaf.h>
-#include <xfs/xfs_attr_remote.h>
-#include <xfs/xfs_trans_space.h>
+#include "xfs/xfs_attr_leaf.h"
+#include "xfs/xfs_attr_remote.h"
+#include "xfs/xfs_trans_space.h"
#define XFS_INOBT_IS_FREE_DISK(rp,i) \
((be64_to_cpu((rp)->ir_free) & XFS_INOBT_MASK(i)) != 0)
int l_sectBBsize; /* size of log sector in 512 byte chunks */
};
-#include <xfs/xfs_log_recover.h>
+#include "xfs/xfs_log_recover.h"
/*
* macros mapping kernel code to user code
#ifndef __PATH_H__
#define __PATH_H__
-#include <xfs/xfs.h>
+#include "xfs/xfs.h"
/*
* XFS Filesystem Paths
typedef struct filldir filldir_t;
#if defined(__linux__)
-#include <xfs/linux.h>
+#include "xfs/linux.h"
#elif defined(__FreeBSD__)
-#include <xfs/freebsd.h>
+#include "xfs/freebsd.h"
#elif defined(__FreeBSD_kernel__)
-#include <xfs/gnukfreebsd.h>
+#include "xfs/gnukfreebsd.h"
#elif defined(__APPLE__)
-#include <xfs/darwin.h>
+#include "xfs/darwin.h"
#elif defined(__sgi__) || defined(__sgi)
-#include <xfs/irix.h>
+#include "xfs/irix.h"
#else
# error unknown platform... have fun porting!
#endif
#ifndef __PROJECT_H__
#define __PROJECT_H__
-#include <xfs/xfs.h>
+#include "xfs/xfs.h"
extern int setprojid(const char *__name, int __fd, prid_t __id);
extern int getprojid(const char *__name, int __fd, prid_t *__id);
#ifndef __XFS_H__
#define __XFS_H__
-#include <xfs/platform_defs.h>
-#include <xfs/xfs_types.h>
-#include <xfs/xfs_fs.h>
+#include "xfs/platform_defs.h"
+#include "xfs/xfs_types.h"
+#include "xfs/xfs_fs.h"
#endif /* __XFS_H__ */
#define __XFS_INODE_H__
/* These match kernel side includes */
-#include <xfs/xfs_inode_buf.h>
-#include <xfs/xfs_inode_fork.h>
+#include "xfs/xfs_inode_buf.h"
+#include "xfs/xfs_inode_fork.h"
struct xfs_trans;
struct xfs_mount;
#ifndef __XQM_H__
#define __XQM_H__
-#include <xfs/xfs.h>
+#include "xfs/xfs.h"
/*
* Disk quota - quotactl(2) commands for the XFS Quota Manager (XQM).
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
#include <linux/fiemap.h>
#include <linux/fs.h>
#include "init.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/mman.h>
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/time.h>
#include <sys/resource.h>
#include "init.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/mman.h>
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/mman.h>
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/mman.h>
#include <signal.h>
#include "init.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
-#include <xfs/path.h>
-#include <xfs/parent.h>
-#include <xfs/handle.h>
-#include <xfs/jdm.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
+#include "xfs/path.h"
+#include "xfs/parent.h"
+#include "xfs/handle.h"
+#include "xfs/jdm.h"
#include "init.h"
#include "io.h"
*/
#include <sys/uio.h>
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <ctype.h>
#include "init.h"
#include "io.h"
#if defined(HAVE_FALLOCATE)
#include <linux/falloc.h>
#endif
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
*/
#include <sys/uio.h>
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/types.h>
#include <unistd.h>
#include "init.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include <sys/sendfile.h>
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "io.h"
*/
#include <libgen.h>
-#include <xfs/xfs.h>
-#include <xfs/handle.h>
-#include <xfs/parent.h>
+#include "xfs/xfs.h"
+#include "xfs/handle.h"
+#include "xfs/parent.h"
/* just pick a value we know is more than big enough */
#define MAXHANSIZ 64
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/handle.h>
-#include <xfs/jdm.h>
-#include <xfs/parent.h>
+#include "xfs/xfs.h"
+#include "xfs/handle.h"
+#include "xfs/jdm.h"
+#include "xfs/parent.h"
/* internal fshandle - typecast to a void for external use */
#define FSHANDLE_SZ 8
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
cmdinfo_t *cmdtab;
int ncmds;
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
static cmdinfo_t help_cmd;
static void help_onecmd(const char *cmd, const cmdinfo_t *ct);
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/input.h>
+#include "xfs/xfs.h"
+#include "xfs/input.h"
#include <ctype.h>
#include <stdbool.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <xfs/path.h>
-#include <xfs/input.h>
-#include <xfs/project.h>
+#include "xfs/path.h"
+#include "xfs/input.h"
+#include "xfs/project.h"
#include <limits.h>
extern char *progname;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <xfs/project.h>
+#include "xfs/project.h"
#define PROJID "/etc/projid"
#define PROJECT_PATHS "/etc/projects"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xfs.h>
-#include <xfs/command.h>
+#include "xfs/xfs.h"
+#include "xfs/command.h"
static cmdinfo_t quit_cmd;
(ip)->d_ops, hdr, loghead)
#include "libxfs_api_defs.h"
-#include <xfs/platform_defs.h>
+#include "xfs/platform_defs.h"
-#include <xfs/list.h>
-#include <xfs/hlist.h>
-#include <xfs/cache.h>
-#include <xfs/bitops.h>
-#include <xfs/kmem.h>
-#include <xfs/radix-tree.h>
-#include <xfs/swab.h>
-#include <xfs/atomic.h>
+#include "xfs/list.h"
+#include "xfs/hlist.h"
+#include "xfs/cache.h"
+#include "xfs/bitops.h"
+#include "xfs/kmem.h"
+#include "xfs/radix-tree.h"
+#include "xfs/swab.h"
+#include "xfs/atomic.h"
-#include <xfs/xfs_types.h>
-#include <xfs/xfs_arch.h>
+#include "xfs/xfs_types.h"
+#include "xfs/xfs_arch.h"
-#include <xfs/xfs_fs.h>
+#include "xfs/xfs_fs.h"
/* CRC stuff, buffer API dependent on it */
extern uint32_t crc32_le(uint32_t crc, unsigned char const *p, size_t len);
#define crc32(c,p,l) crc32_le((c),(unsigned char const *)(p),(l))
#define crc32c(c,p,l) crc32c_le((c),(unsigned char const *)(p),(l))
-#include <xfs/xfs_cksum.h>
+#include "xfs/xfs_cksum.h"
/*
* This mirrors the kernel include for xfs_buf.h - it's implicitly included in
* every files via a similar include in the kernel xfs_linux.h.
*/
-#include <xfs/libxfs_io.h>
+#include "libxfs_io.h"
/* for all the support code that uses progname in error messages */
extern char *progname;
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <xfs/platform_defs.h>
+#include "xfs/platform_defs.h"
#include "radix-tree.h"
#ifndef ARRAY_SIZE
#include <pwd.h>
#include <grp.h>
#include <ctype.h>
-#include <xfs/input.h>
-#include <xfs/command.h>
+#include "xfs/input.h"
+#include "xfs/command.h"
#include "init.h"
#include "quota.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
+#include "xfs/command.h"
#include "init.h"
#include "quota.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/path.h>
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/path.h"
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
char *progname;
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "quota.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
-#include <xfs/input.h>
+#include "xfs/command.h"
+#include "xfs/input.h"
#include "init.h"
#include "quota.h"
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
+#include "xfs/command.h"
#include <ctype.h>
#include <pwd.h>
#include <grp.h>
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
+#include "xfs/command.h"
#include <ctype.h>
#include <pwd.h>
#include <grp.h>
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/xqm.h>
-#include <xfs/path.h>
-#include <xfs/project.h>
+#include "xfs/xqm.h"
+#include "xfs/path.h"
+#include "xfs/project.h"
#include <stdbool.h>
/*
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
+#include "xfs/command.h"
#include <sys/types.h>
#include <pwd.h>
#include <grp.h>
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <xfs/command.h>
+#include "xfs/command.h"
#include "init.h"
#include "quota.h"