]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - scrub/spacemap.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_SPACEMAP_H_
7 #define XFS_SCRUB_SPACEMAP_H_
9 typedef bool (*xfs_fsmap_iter_fn
)(struct scrub_ctx
*ctx
, const char *descr
,
10 struct fsmap
*fsr
, void *arg
);
12 bool xfs_iterate_fsmap(struct scrub_ctx
*ctx
, const char *descr
,
13 struct fsmap
*keys
, xfs_fsmap_iter_fn fn
, void *arg
);
14 bool xfs_scan_all_spacemaps(struct scrub_ctx
*ctx
, xfs_fsmap_iter_fn fn
,
17 #endif /* XFS_SCRUB_SPACEMAP_H_ */