#ifndef __XFS_TYPES_H__
#define __XFS_TYPES_H__
prid_t;
xfs_agblock_t;
xfs_agino_t;
xfs_extlen_t;
xfs_rtxlen_t;
xfs_agnumber_t;
xfs_extnum_t;
xfs_aextnum_t;
xfs_fsize_t;
xfs_ufsize_t;
xfs_suminfo_t;
xfs_rtsumoff_t;
xfs_rtword_t;
xfs_lsn_t;
xfs_csn_t;
xfs_dablk_t;
xfs_dahash_t;
xfs_fsblock_t;
xfs_rfsblock_t;
xfs_rtblock_t;
xfs_fileoff_t;
xfs_filblks_t;
xfs_rtxnum_t;
xfs_rtbxlen_t;
xfs_srtblock_t;
xfs_failaddr_t;
#define NULLFSBLOCK …
#define NULLRFSBLOCK …
#define NULLRTBLOCK …
#define NULLFILEOFF …
#define NULLAGBLOCK …
#define NULLAGNUMBER …
#define NULLCOMMITLSN …
#define NULLFSINO …
#define NULLAGINO …
#define XFS_MIN_BLOCKSIZE_LOG …
#define XFS_MAX_BLOCKSIZE_LOG …
#define XFS_MIN_BLOCKSIZE …
#define XFS_MAX_BLOCKSIZE …
#define XFS_MIN_CRC_BLOCKSIZE …
#define XFS_MIN_SECTORSIZE_LOG …
#define XFS_MAX_SECTORSIZE_LOG …
#define XFS_MIN_SECTORSIZE …
#define XFS_MAX_SECTORSIZE …
#define XFS_STAGING_FORK …
#define XFS_DATA_FORK …
#define XFS_ATTR_FORK …
#define XFS_COW_FORK …
#define XFS_WHICHFORK_STRINGS …
#define MINDBTPTRS …
#define MINABTPTRS …
#define MAXNAMELEN …
xfs_lookup_t;
#define XFS_AG_BTREE_CMP_FORMAT_STR …
struct xfs_name { … };
xfs_dqid_t;
#define XFS_NBBYLOG …
#define XFS_WORDLOG …
#define XFS_SUMINFOLOG …
#define XFS_NBWORDLOG …
#define XFS_NBWORD …
#define XFS_WORDMASK …
struct xfs_iext_cursor { … };
xfs_exntst_t;
xfs_bmbt_irec_t;
enum xfs_refc_domain { … };
#define XFS_REFC_DOMAIN_STRINGS …
struct xfs_refcount_irec { … };
#define XFS_RMAP_ATTR_FORK …
#define XFS_RMAP_BMBT_BLOCK …
#define XFS_RMAP_UNWRITTEN …
#define XFS_RMAP_KEY_FLAGS …
#define XFS_RMAP_REC_FLAGS …
struct xfs_rmap_irec { … };
enum xfs_ag_resv_type { … };
enum xbtree_recpacking { … };
struct xfs_mount;
bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno);
bool xfs_verify_fsbext(struct xfs_mount *mp, xfs_fsblock_t fsbno,
xfs_fsblock_t len);
bool xfs_verify_ino(struct xfs_mount *mp, xfs_ino_t ino);
bool xfs_internal_inum(struct xfs_mount *mp, xfs_ino_t ino);
bool xfs_verify_dir_ino(struct xfs_mount *mp, xfs_ino_t ino);
bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno);
bool xfs_verify_rtbext(struct xfs_mount *mp, xfs_rtblock_t rtbno,
xfs_filblks_t len);
bool xfs_verify_icount(struct xfs_mount *mp, unsigned long long icount);
bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off);
void xfs_icount_range(struct xfs_mount *mp, unsigned long long *min,
unsigned long long *max);
bool xfs_verify_fileoff(struct xfs_mount *mp, xfs_fileoff_t off);
bool xfs_verify_fileext(struct xfs_mount *mp, xfs_fileoff_t off,
xfs_fileoff_t len);
static inline bool
xfs_validate_rtextents(
xfs_rtbxlen_t rtextents)
{ … }
#endif