/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2020-2024 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> */ #ifndef __XFS_SCRUB_QUOTACHECK_H__ #define __XFS_SCRUB_QUOTACHECK_H__ /* Quota counters for live quotacheck. */ struct xqcheck_dquot { … }; /* * This incore dquot record has been written at least once. We never want to * store an xqcheck_dquot that looks uninitialized. */ #define XQCHECK_DQUOT_WRITTEN … /* Already checked this dquot. */ #define XQCHECK_DQUOT_COMPARE_SCANNED … /* Already repaired this dquot. */ #define XQCHECK_DQUOT_REPAIR_SCANNED … /* Live quotacheck control structure. */ struct xqcheck { … }; /* Return the incore counter array for a given quota type. */ static inline struct xfarray * xqcheck_counters_for( struct xqcheck *xqc, xfs_dqtype_t dqtype) { … } #endif /* __XFS_SCRUB_QUOTACHECK_H__ */