]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - scrub/fscounters.h
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2018 Oracle. All Rights Reserved.
4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
6 #ifndef XFS_SCRUB_FSCOUNTERS_H_
7 #define XFS_SCRUB_FSCOUNTERS_H_
9 int scrub_scan_estimate_blocks(struct scrub_ctx
*ctx
,
10 unsigned long long *d_blocks
, unsigned long long *d_bfree
,
11 unsigned long long *r_blocks
, unsigned long long *r_bfree
,
12 unsigned long long *f_files_used
);
13 int scrub_count_all_inodes(struct scrub_ctx
*ctx
, uint64_t *count
);
15 #endif /* XFS_SCRUB_FSCOUNTERS_H_ */