#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_btree.h"
#include "xfs_sb.h"
#include "xfs_alloc.h"
#include "xfs_ialloc.h"
#include "xfs_rmap.h"
#include "xfs_ag.h"
#include "xfs_inode.h"
#include "scrub/scrub.h"
#include "scrub/common.h"
int
xchk_setup_agheader(
struct xfs_scrub *sc)
{ … }
STATIC void
xchk_superblock_xref(
struct xfs_scrub *sc,
struct xfs_buf *bp)
{ … }
int
xchk_superblock(
struct xfs_scrub *sc)
{ … }
STATIC int
xchk_agf_record_bno_lengths(
struct xfs_btree_cur *cur,
const struct xfs_alloc_rec_incore *rec,
void *priv)
{ … }
static inline void
xchk_agf_xref_freeblks(
struct xfs_scrub *sc)
{ … }
static inline void
xchk_agf_xref_cntbt(
struct xfs_scrub *sc)
{ … }
STATIC void
xchk_agf_xref_btreeblks(
struct xfs_scrub *sc)
{ … }
static inline void
xchk_agf_xref_refcblks(
struct xfs_scrub *sc)
{ … }
STATIC void
xchk_agf_xref(
struct xfs_scrub *sc)
{ … }
int
xchk_agf(
struct xfs_scrub *sc)
{ … }
struct xchk_agfl_info { … };
STATIC void
xchk_agfl_block_xref(
struct xfs_scrub *sc,
xfs_agblock_t agbno)
{ … }
STATIC int
xchk_agfl_block(
struct xfs_mount *mp,
xfs_agblock_t agbno,
void *priv)
{ … }
static int
xchk_agblock_cmp(
const void *pa,
const void *pb)
{ … }
STATIC void
xchk_agfl_xref(
struct xfs_scrub *sc)
{ … }
int
xchk_agfl(
struct xfs_scrub *sc)
{ … }
static inline void
xchk_agi_xref_icounts(
struct xfs_scrub *sc)
{ … }
static inline void
xchk_agi_xref_fiblocks(
struct xfs_scrub *sc)
{ … }
STATIC void
xchk_agi_xref(
struct xfs_scrub *sc)
{ … }
STATIC void
xchk_iunlink(
struct xfs_scrub *sc,
struct xfs_agi *agi)
{ … }
int
xchk_agi(
struct xfs_scrub *sc)
{ … }