xref: /linux/fs/xfs/xfs_fsops.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
4  * All Rights Reserved.
5  */
6 #ifndef __XFS_FSOPS_H__
7 #define	__XFS_FSOPS_H__
8 
9 extern int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
10 extern int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
11 extern void xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt);
12 extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval,
13 				xfs_fsop_resblks_t *outval);
14 extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags);
15 
16 extern int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
17 extern int xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
18 
19 #endif	/* __XFS_FSOPS_H__ */
20