1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Copyright (c) 2021-2024 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <djwong@kernel.org> 5 */ 6 #ifndef __XFS_SCRUB_FSCOUNTERS_H__ 7 #define __XFS_SCRUB_FSCOUNTERS_H__ 8 9 struct xchk_fscounters { 10 struct xfs_scrub *sc; 11 uint64_t icount; 12 uint64_t ifree; 13 uint64_t fdblocks; 14 uint64_t frextents; 15 uint64_t frextents_delayed; 16 unsigned long long icount_min; 17 unsigned long long icount_max; 18 bool frozen; 19 }; 20 21 #endif /* __XFS_SCRUB_FSCOUNTERS_H__ */ 22