xref: /openbmc/linux/fs/xfs/xfs_fsops.h (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
10b61f8a4SDave Chinner // SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds /*
37b718769SNathan Scott  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
47b718769SNathan Scott  * All Rights Reserved.
51da177e4SLinus Torvalds  */
61da177e4SLinus Torvalds #ifndef __XFS_FSOPS_H__
71da177e4SLinus Torvalds #define	__XFS_FSOPS_H__
81da177e4SLinus Torvalds 
9*07aabd9cSGao Xiang extern int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
10*07aabd9cSGao Xiang extern int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
1191083269SEric Sandeen extern void xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt);
12c8ce540dSDarrick J. Wong extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval,
131da177e4SLinus Torvalds 				xfs_fsop_resblks_t *outval);
14c8ce540dSDarrick J. Wong extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags);
151da177e4SLinus Torvalds 
1684d69619SDarrick J. Wong extern int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
1784d69619SDarrick J. Wong extern int xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
1884d69619SDarrick J. Wong 
191da177e4SLinus Torvalds #endif	/* __XFS_FSOPS_H__ */
20