xref: /linux/fs/xfs/scrub/reap.h (revision 2b0cfa6e49566c8fa6759734cf821aa6e8271a9e)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (C) 2022-2023 Oracle.  All Rights Reserved.
4  * Author: Darrick J. Wong <djwong@kernel.org>
5  */
6 #ifndef __XFS_SCRUB_REAP_H__
7 #define __XFS_SCRUB_REAP_H__
8 
9 struct xagb_bitmap;
10 struct xfsb_bitmap;
11 
12 int xrep_reap_agblocks(struct xfs_scrub *sc, struct xagb_bitmap *bitmap,
13 		const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
14 int xrep_reap_fsblocks(struct xfs_scrub *sc, struct xfsb_bitmap *bitmap,
15 		const struct xfs_owner_info *oinfo);
16 
17 #endif /* __XFS_SCRUB_REAP_H__ */
18