#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_bit.h"
#include "xfs_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_log_format.h"
#include "xfs_trans.h"
#include "xfs_inode.h"
#include "xfs_quota.h"
#include "xfs_qm.h"
#include "xfs_bmap.h"
#include "scrub/scrub.h"
#include "scrub/common.h"
#include "scrub/quota.h"
xfs_dqtype_t
xchk_quota_to_dqtype(
struct xfs_scrub *sc)
{ … }
int
xchk_setup_quota(
struct xfs_scrub *sc)
{ … }
struct xchk_quota_info { … };
STATIC int
xchk_quota_item_bmap(
struct xfs_scrub *sc,
struct xfs_dquot *dq,
xfs_fileoff_t offset)
{ … }
static inline void
xchk_quota_item_timer(
struct xfs_scrub *sc,
xfs_fileoff_t offset,
const struct xfs_dquot_res *res)
{ … }
STATIC int
xchk_quota_item(
struct xchk_quota_info *sqi,
struct xfs_dquot *dq)
{ … }
STATIC int
xchk_quota_data_fork(
struct xfs_scrub *sc)
{ … }
int
xchk_quota(
struct xfs_scrub *sc)
{ … }