Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
0004  * All Rights Reserved.
0005  */
0006 #ifndef __XFS_FSOPS_H__
0007 #define __XFS_FSOPS_H__
0008 
0009 extern int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
0010 extern int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
0011 extern void xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt);
0012 extern int xfs_reserve_blocks(xfs_mount_t *mp, uint64_t *inval,
0013                 xfs_fsop_resblks_t *outval);
0014 extern int xfs_fs_goingdown(xfs_mount_t *mp, uint32_t inflags);
0015 
0016 extern int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
0017 extern int xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
0018 
0019 #endif  /* __XFS_FSOPS_H__ */