Dave Chinner | 0b61f8a | 2018-06-05 19:42:14 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 3 | * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. |
| 4 | * All Rights Reserved. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | */ |
| 6 | #ifndef __XFS_FSOPS_H__ |
| 7 | #define __XFS_FSOPS_H__ |
| 8 | |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 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 int xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt); |
Darrick J. Wong | c8ce540 | 2017-06-16 11:00:05 -0700 | [diff] [blame] | 12 | extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval, |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 13 | xfs_fsop_resblks_t *outval); |
Darrick J. Wong | c8ce540 | 2017-06-16 11:00:05 -0700 | [diff] [blame] | 14 | extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
Darrick J. Wong | 84d6961 | 2016-10-03 09:11:44 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif /* __XFS_FSOPS_H__ */ |