2005-04-17 02:20:36 +04:00
|
|
|
/*
|
2005-11-02 06:58:39 +03:00
|
|
|
* Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
|
|
|
|
* All Rights Reserved.
|
2005-04-17 02:20:36 +04:00
|
|
|
*
|
2005-11-02 06:58:39 +03:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
2005-04-17 02:20:36 +04:00
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
2005-11-02 06:58:39 +03:00
|
|
|
* This program is distributed in the hope that it would be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2005-04-17 02:20:36 +04:00
|
|
|
*
|
2005-11-02 06:58:39 +03:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2005-04-17 02:20:36 +04:00
|
|
|
*/
|
|
|
|
#ifndef __XFS_FSOPS_H__
|
|
|
|
#define __XFS_FSOPS_H__
|
|
|
|
|
2005-11-02 06:58:39 +03:00
|
|
|
extern int xfs_fs_geometry(xfs_mount_t *mp, xfs_fsop_geom_t *geo, int nversion);
|
|
|
|
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);
|
|
|
|
extern int xfs_reserve_blocks(xfs_mount_t *mp, __uint64_t *inval,
|
|
|
|
xfs_fsop_resblks_t *outval);
|
|
|
|
extern int xfs_fs_goingdown(xfs_mount_t *mp, __uint32_t inflags);
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2016-10-03 19:11:44 +03: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 02:20:36 +04:00
|
|
|
#endif /* __XFS_FSOPS_H__ */
|