blob: d023db0862c24ce512865c25581d8adb373604ee [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
Nathan Scott7b718762005-11-02 14:58:39 +11009extern int xfs_growfs_data(xfs_mount_t *mp, xfs_growfs_data_t *in);
10extern int xfs_growfs_log(xfs_mount_t *mp, xfs_growfs_log_t *in);
11extern int 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__ */