2018-06-06 10:42:14 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
2005-11-02 11:58:39 +08:00
|
|
|
* Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
|
|
|
|
* All Rights Reserved.
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
#ifndef __XFS_FSOPS_H__
|
|
|
|
#define __XFS_FSOPS_H__
|
|
|
|
|
2005-11-02 11:58:39 +08:00
|
|
|
extern int xfs_growfs_data(xfs_mount_t *mp, xfs_growfs_data_t *in);
|
|
|
|
extern int xfs_growfs_log(xfs_mount_t *mp, xfs_growfs_log_t *in);
|
|
|
|
extern int xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt);
|
2017-06-17 02:00:05 +08:00
|
|
|
extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval,
|
2005-11-02 11:58:39 +08:00
|
|
|
xfs_fsop_resblks_t *outval);
|
2017-06-17 02:00:05 +08:00
|
|
|
extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-10-04 00:11:44 +08:00
|
|
|
extern int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
|
|
|
|
extern int xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif /* __XFS_FSOPS_H__ */
|