2018-06-06 09:42:14 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2005-04-17 05:20:36 +07:00
|
|
|
/*
|
2005-11-02 10:58:39 +07:00
|
|
|
* Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
|
|
|
|
* All Rights Reserved.
|
2005-04-17 05:20:36 +07:00
|
|
|
*/
|
|
|
|
#ifndef __XFS_FSOPS_H__
|
|
|
|
#define __XFS_FSOPS_H__
|
|
|
|
|
2005-11-02 10:58:39 +07: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 01:00:05 +07:00
|
|
|
extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval,
|
2005-11-02 10:58:39 +07:00
|
|
|
xfs_fsop_resblks_t *outval);
|
2017-06-17 01:00:05 +07:00
|
|
|
extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2016-10-03 23:11:44 +07: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 05:20:36 +07:00
|
|
|
#endif /* __XFS_FSOPS_H__ */
|