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__
|
|
|
|
|
2021-02-03 10:24:06 +08:00
|
|
|
extern int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
|
|
|
|
extern int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
|
2019-05-02 11:26:30 +08:00
|
|
|
extern void 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__ */
|