]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - scrub/spacemap.h
xfs_scrub: check label for misleading characters
[thirdparty/xfsprogs-dev.git] / scrub / spacemap.h
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (C) 2018 Oracle. All Rights Reserved.
4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
5 */
6 #ifndef XFS_SCRUB_SPACEMAP_H_
7 #define XFS_SCRUB_SPACEMAP_H_
8
9 typedef bool (*xfs_fsmap_iter_fn)(struct scrub_ctx *ctx, const char *descr,
10 struct fsmap *fsr, void *arg);
11
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,
15 void *arg);
16
17 #endif /* XFS_SCRUB_SPACEMAP_H_ */