xref: /linux/fs/xfs/xfs_fsops.h (revision 63307d015b91e626c97bb82e88054af3d0b74643)
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(xfs_mount_t *mp, xfs_growfs_data_t *in);
10 extern int xfs_growfs_log(xfs_mount_t *mp, xfs_growfs_log_t *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