#ifndef __XFS_FS_H__
#define __XFS_FS_H__
#ifndef HAVE_DIOATTR
struct dioattr { … };
#endif
#ifndef HAVE_GETBMAP
struct getbmap { … };
#endif
#ifndef HAVE_GETBMAPX
struct getbmapx { … };
#endif
#define BMV_IF_ATTRFORK …
#define BMV_IF_NO_DMAPI_READ …
#define BMV_IF_PREALLOC …
#define BMV_IF_DELALLOC …
#define BMV_IF_NO_HOLES …
#define BMV_IF_COWFORK …
#define BMV_IF_VALID …
#define BMV_OF_PREALLOC …
#define BMV_OF_DELALLOC …
#define BMV_OF_LAST …
#define BMV_OF_SHARED …
#define XFS_FMR_OWN_FREE …
#define XFS_FMR_OWN_UNKNOWN …
#define XFS_FMR_OWN_FS …
#define XFS_FMR_OWN_LOG …
#define XFS_FMR_OWN_AG …
#define XFS_FMR_OWN_INOBT …
#define XFS_FMR_OWN_INODES …
#define XFS_FMR_OWN_REFC …
#define XFS_FMR_OWN_COW …
#define XFS_FMR_OWN_DEFECTIVE …
xfs_flock64_t;
struct xfs_fsop_geom_v1 { … };
struct xfs_fsop_geom_v4 { … };
struct xfs_fsop_geom { … };
#define XFS_FSOP_GEOM_SICK_COUNTERS …
#define XFS_FSOP_GEOM_SICK_UQUOTA …
#define XFS_FSOP_GEOM_SICK_GQUOTA …
#define XFS_FSOP_GEOM_SICK_PQUOTA …
#define XFS_FSOP_GEOM_SICK_RT_BITMAP …
#define XFS_FSOP_GEOM_SICK_RT_SUMMARY …
#define XFS_FSOP_GEOM_SICK_QUOTACHECK …
#define XFS_FSOP_GEOM_SICK_NLINKS …
xfs_fsop_counts_t;
xfs_fsop_resblks_t;
#define XFS_FSOP_GEOM_VERSION …
#define XFS_FSOP_GEOM_VERSION_V5 …
#define XFS_FSOP_GEOM_FLAGS_ATTR …
#define XFS_FSOP_GEOM_FLAGS_NLINK …
#define XFS_FSOP_GEOM_FLAGS_QUOTA …
#define XFS_FSOP_GEOM_FLAGS_IALIGN …
#define XFS_FSOP_GEOM_FLAGS_DALIGN …
#define XFS_FSOP_GEOM_FLAGS_SHARED …
#define XFS_FSOP_GEOM_FLAGS_EXTFLG …
#define XFS_FSOP_GEOM_FLAGS_DIRV2 …
#define XFS_FSOP_GEOM_FLAGS_LOGV2 …
#define XFS_FSOP_GEOM_FLAGS_SECTOR …
#define XFS_FSOP_GEOM_FLAGS_ATTR2 …
#define XFS_FSOP_GEOM_FLAGS_PROJID32 …
#define XFS_FSOP_GEOM_FLAGS_DIRV2CI …
#define XFS_FSOP_GEOM_FLAGS_LAZYSB …
#define XFS_FSOP_GEOM_FLAGS_V5SB …
#define XFS_FSOP_GEOM_FLAGS_FTYPE …
#define XFS_FSOP_GEOM_FLAGS_FINOBT …
#define XFS_FSOP_GEOM_FLAGS_SPINODES …
#define XFS_FSOP_GEOM_FLAGS_RMAPBT …
#define XFS_FSOP_GEOM_FLAGS_REFLINK …
#define XFS_FSOP_GEOM_FLAGS_BIGTIME …
#define XFS_FSOP_GEOM_FLAGS_INOBTCNT …
#define XFS_FSOP_GEOM_FLAGS_NREXT64 …
#define XFS_FSOP_GEOM_FLAGS_EXCHANGE_RANGE …
#define XFS_FSOP_GEOM_FLAGS_PARENT …
#define XFS_MIN_AG_BLOCKS …
#define XFS_MIN_LOG_BLOCKS …
#define XFS_MAX_LOG_BLOCKS …
#define XFS_MIN_LOG_BYTES …
#define XFS_MIN_AG_BYTES …
#define XFS_MAX_AG_BYTES …
#define XFS_MAX_AG_BLOCKS …
#define XFS_MAX_CRC_AG_BLOCKS …
#define XFS_MAX_AGNUMBER …
#define XFS_MAX_LOG_BYTES …
#define XFS_MAX_DBLOCKS(s) …
#define XFS_MIN_DBLOCKS(s) …
struct xfs_ag_geometry { … };
#define XFS_AG_GEOM_SICK_SB …
#define XFS_AG_GEOM_SICK_AGF …
#define XFS_AG_GEOM_SICK_AGFL …
#define XFS_AG_GEOM_SICK_AGI …
#define XFS_AG_GEOM_SICK_BNOBT …
#define XFS_AG_GEOM_SICK_CNTBT …
#define XFS_AG_GEOM_SICK_INOBT …
#define XFS_AG_GEOM_SICK_FINOBT …
#define XFS_AG_GEOM_SICK_RMAPBT …
#define XFS_AG_GEOM_SICK_REFCNTBT …
#define XFS_AG_GEOM_SICK_INODES …
xfs_growfs_data_t;
xfs_growfs_log_t;
xfs_growfs_rt_t;
xfs_bstime_t;
struct xfs_bstat { … };
struct xfs_bulkstat { … };
#define XFS_BULKSTAT_VERSION_V1 …
#define XFS_BULKSTAT_VERSION_V5 …
#define XFS_BS_SICK_INODE …
#define XFS_BS_SICK_BMBTD …
#define XFS_BS_SICK_BMBTA …
#define XFS_BS_SICK_BMBTC …
#define XFS_BS_SICK_DIR …
#define XFS_BS_SICK_XATTR …
#define XFS_BS_SICK_SYMLINK …
#define XFS_BS_SICK_PARENT …
#define XFS_BS_SICK_DIRTREE …
static inline uint32_t
bstat_get_projid(const struct xfs_bstat *bs)
{ … }
struct xfs_fsop_bulkreq { … };
struct xfs_inogrp { … };
struct xfs_inumbers { … };
#define XFS_INUMBERS_VERSION_V1 …
#define XFS_INUMBERS_VERSION_V5 …
struct xfs_bulk_ireq { … };
#define XFS_BULK_IREQ_AGNO …
#define XFS_BULK_IREQ_SPECIAL …
#define XFS_BULK_IREQ_NREXT64 …
#define XFS_BULK_IREQ_FLAGS_ALL …
#define XFS_BULK_IREQ_SPECIAL_ROOT …
struct xfs_bulkstat_req { … };
#define XFS_BULKSTAT_REQ_SIZE(nr) …
struct xfs_inumbers_req { … };
#define XFS_INUMBERS_REQ_SIZE(nr) …
xfs_error_injection_t;
#define XFS_EOFBLOCKS_VERSION …
struct xfs_fs_eofblocks { … };
#define XFS_EOF_FLAGS_SYNC …
#define XFS_EOF_FLAGS_UID …
#define XFS_EOF_FLAGS_GID …
#define XFS_EOF_FLAGS_PRID …
#define XFS_EOF_FLAGS_MINFILESIZE …
#define XFS_EOF_FLAGS_UNION …
#define XFS_EOF_FLAGS_VALID …
xfs_fsop_handlereq_t;
#define XFS_IOC_ATTR_ROOT …
#define XFS_IOC_ATTR_SECURE …
#define XFS_IOC_ATTR_CREATE …
#define XFS_IOC_ATTR_REPLACE …
xfs_attrlist_cursor_t;
struct xfs_attrlist { … };
struct xfs_attrlist_ent { … };
xfs_fsop_attrlist_handlereq_t;
xfs_attr_multiop_t;
xfs_fsop_attrmulti_handlereq_t;
xfs_fsid_t;
xfs_fid_t;
xfs_handle_t;
#define ha_fsid …
xfs_swapext_t;
#define XFS_FSOP_GOING_FLAGS_DEFAULT …
#define XFS_FSOP_GOING_FLAGS_LOGFLUSH …
#define XFS_FSOP_GOING_FLAGS_NOLOGFLUSH …
struct xfs_scrub_metadata { … };
#define XFS_SCRUB_TYPE_PROBE …
#define XFS_SCRUB_TYPE_SB …
#define XFS_SCRUB_TYPE_AGF …
#define XFS_SCRUB_TYPE_AGFL …
#define XFS_SCRUB_TYPE_AGI …
#define XFS_SCRUB_TYPE_BNOBT …
#define XFS_SCRUB_TYPE_CNTBT …
#define XFS_SCRUB_TYPE_INOBT …
#define XFS_SCRUB_TYPE_FINOBT …
#define XFS_SCRUB_TYPE_RMAPBT …
#define XFS_SCRUB_TYPE_REFCNTBT …
#define XFS_SCRUB_TYPE_INODE …
#define XFS_SCRUB_TYPE_BMBTD …
#define XFS_SCRUB_TYPE_BMBTA …
#define XFS_SCRUB_TYPE_BMBTC …
#define XFS_SCRUB_TYPE_DIR …
#define XFS_SCRUB_TYPE_XATTR …
#define XFS_SCRUB_TYPE_SYMLINK …
#define XFS_SCRUB_TYPE_PARENT …
#define XFS_SCRUB_TYPE_RTBITMAP …
#define XFS_SCRUB_TYPE_RTSUM …
#define XFS_SCRUB_TYPE_UQUOTA …
#define XFS_SCRUB_TYPE_GQUOTA …
#define XFS_SCRUB_TYPE_PQUOTA …
#define XFS_SCRUB_TYPE_FSCOUNTERS …
#define XFS_SCRUB_TYPE_QUOTACHECK …
#define XFS_SCRUB_TYPE_NLINKS …
#define XFS_SCRUB_TYPE_HEALTHY …
#define XFS_SCRUB_TYPE_DIRTREE …
#define XFS_SCRUB_TYPE_NR …
#define XFS_SCRUB_TYPE_BARRIER …
#define XFS_SCRUB_IFLAG_REPAIR …
#define XFS_SCRUB_OFLAG_CORRUPT …
#define XFS_SCRUB_OFLAG_PREEN …
#define XFS_SCRUB_OFLAG_XFAIL …
#define XFS_SCRUB_OFLAG_XCORRUPT …
#define XFS_SCRUB_OFLAG_INCOMPLETE …
#define XFS_SCRUB_OFLAG_WARNING …
#define XFS_SCRUB_OFLAG_NO_REPAIR_NEEDED …
#define XFS_SCRUB_IFLAG_FORCE_REBUILD …
#define XFS_SCRUB_FLAGS_IN …
#define XFS_SCRUB_FLAGS_OUT …
#define XFS_SCRUB_FLAGS_ALL …
struct xfs_scrub_vec { … };
struct xfs_scrub_vec_head { … };
#define XFS_SCRUB_VEC_FLAGS_ALL …
#ifdef XATTR_LIST_MAX
#define XFS_XATTR_LIST_MAX …
#else
#define XFS_XATTR_LIST_MAX …
#endif
struct xfs_exchange_range { … };
struct xfs_commit_range { … };
#define XFS_EXCHANGE_RANGE_TO_EOF …
#define XFS_EXCHANGE_RANGE_DSYNC …
#define XFS_EXCHANGE_RANGE_DRY_RUN …
#define XFS_EXCHANGE_RANGE_FILE1_WRITTEN …
#define XFS_EXCHANGE_RANGE_ALL_FLAGS …
#define XFS_GETPARENTS_OFLAG_ROOT …
#define XFS_GETPARENTS_OFLAG_DONE …
#define XFS_GETPARENTS_OFLAGS_ALL …
#define XFS_GETPARENTS_IFLAGS_ALL …
struct xfs_getparents_rec { … };
struct xfs_getparents { … };
static inline struct xfs_getparents_rec *
xfs_getparents_first_rec(struct xfs_getparents *gp)
{ … }
static inline struct xfs_getparents_rec *
xfs_getparents_next_rec(struct xfs_getparents *gp,
struct xfs_getparents_rec *gpr)
{ … }
struct xfs_getparents_by_handle { … };
#define XFS_IOC_GETXFLAGS …
#define XFS_IOC_SETXFLAGS …
#define XFS_IOC_GETVERSION …
#define XFS_IOC_DIOINFO …
#define XFS_IOC_FSGETXATTR …
#define XFS_IOC_FSSETXATTR …
#define XFS_IOC_GETBMAP …
#define XFS_IOC_RESVSP …
#define XFS_IOC_UNRESVSP …
#define XFS_IOC_RESVSP64 …
#define XFS_IOC_UNRESVSP64 …
#define XFS_IOC_GETBMAPA …
#define XFS_IOC_FSGETXATTRA …
#define XFS_IOC_GETBMAPX …
#define XFS_IOC_ZERO_RANGE …
#define XFS_IOC_FREE_EOFBLOCKS …
#define XFS_IOC_SCRUB_METADATA …
#define XFS_IOC_AG_GEOMETRY …
#define XFS_IOC_GETPARENTS …
#define XFS_IOC_GETPARENTS_BY_HANDLE …
#define XFS_IOC_SCRUBV_METADATA …
#define XFS_IOC_FSGEOMETRY_V1 …
#define XFS_IOC_FSBULKSTAT …
#define XFS_IOC_FSBULKSTAT_SINGLE …
#define XFS_IOC_FSINUMBERS …
#define XFS_IOC_PATH_TO_FSHANDLE …
#define XFS_IOC_PATH_TO_HANDLE …
#define XFS_IOC_FD_TO_HANDLE …
#define XFS_IOC_OPEN_BY_HANDLE …
#define XFS_IOC_READLINK_BY_HANDLE …
#define XFS_IOC_SWAPEXT …
#define XFS_IOC_FSGROWFSDATA …
#define XFS_IOC_FSGROWFSLOG …
#define XFS_IOC_FSGROWFSRT …
#define XFS_IOC_FSCOUNTS …
#define XFS_IOC_SET_RESBLKS …
#define XFS_IOC_GET_RESBLKS …
#define XFS_IOC_ERROR_INJECTION …
#define XFS_IOC_ERROR_CLEARALL …
#define XFS_IOC_FREEZE …
#define XFS_IOC_THAW …
#define XFS_IOC_ATTRLIST_BY_HANDLE …
#define XFS_IOC_ATTRMULTI_BY_HANDLE …
#define XFS_IOC_FSGEOMETRY_V4 …
#define XFS_IOC_GOINGDOWN …
#define XFS_IOC_FSGEOMETRY …
#define XFS_IOC_BULKSTAT …
#define XFS_IOC_INUMBERS …
#define XFS_IOC_EXCHANGE_RANGE …
#define XFS_IOC_START_COMMIT …
#define XFS_IOC_COMMIT_RANGE …
#ifndef HAVE_BBMACROS
#define BBSHIFT …
#define BBSIZE …
#define BBMASK …
#define BTOBB(bytes) …
#define BTOBBT(bytes) …
#define BBTOB(bbs) …
#endif
#endif