]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | // SPDX-License-Identifier: GPL-2.0+ |
604dd334 DW |
2 | /* |
3 | * Copyright (C) 2018 Oracle. All Rights Reserved. | |
604dd334 | 4 | * Author: Darrick J. Wong <darrick.wong@oracle.com> |
604dd334 DW |
5 | */ |
6 | #ifndef XFS_SCRUB_FSCOUNTERS_H_ | |
7 | #define XFS_SCRUB_FSCOUNTERS_H_ | |
8 | ||
934d8d3a | 9 | int scrub_scan_estimate_blocks(struct scrub_ctx *ctx, |
604dd334 DW |
10 | unsigned long long *d_blocks, unsigned long long *d_bfree, |
11 | unsigned long long *r_blocks, unsigned long long *r_bfree, | |
0b78ac05 | 12 | unsigned long long *f_files_used); |
934d8d3a | 13 | int scrub_count_all_inodes(struct scrub_ctx *ctx, uint64_t *count); |
604dd334 DW |
14 | |
15 | #endif /* XFS_SCRUB_FSCOUNTERS_H_ */ |