blob: 2cffe51a31e8b24e9de9eeb5432fb2b838fda4e6 [file] [log] [blame]
Dave Chinner0b61f8a2018-06-05 19:42:14 -07001// SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Nathan Scott7b718762005-11-02 14:58:39 +11003 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
4 * All Rights Reserved.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 */
6#ifndef __XFS_FSOPS_H__
7#define __XFS_FSOPS_H__
8
Gao Xiang07aabd92021-02-02 18:24:06 -08009extern int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
10extern int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
Eric Sandeen91083262019-05-01 20:26:30 -070011extern void xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt);
Darrick J. Wongc8ce5402017-06-16 11:00:05 -070012extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval,
Nathan Scott7b718762005-11-02 14:58:39 +110013 xfs_fsop_resblks_t *outval);
Darrick J. Wongc8ce5402017-06-16 11:00:05 -070014extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Darrick J. Wong84d69612016-10-03 09:11:44 -070016extern int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
17extern int xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif /* __XFS_FSOPS_H__ */