1*1da177e4SLinus Torvalds /* 2*1da177e4SLinus Torvalds * Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. 3*1da177e4SLinus Torvalds * 4*1da177e4SLinus Torvalds * This program is free software; you can redistribute it and/or modify it 5*1da177e4SLinus Torvalds * under the terms of version 2 of the GNU General Public License as 6*1da177e4SLinus Torvalds * published by the Free Software Foundation. 7*1da177e4SLinus Torvalds * 8*1da177e4SLinus Torvalds * This program is distributed in the hope that it would be useful, but 9*1da177e4SLinus Torvalds * WITHOUT ANY WARRANTY; without even the implied warranty of 10*1da177e4SLinus Torvalds * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11*1da177e4SLinus Torvalds * 12*1da177e4SLinus Torvalds * Further, this software is distributed without any warranty that it is 13*1da177e4SLinus Torvalds * free of the rightful claim of any third person regarding infringement 14*1da177e4SLinus Torvalds * or the like. Any license provided herein, whether implied or 15*1da177e4SLinus Torvalds * otherwise, applies only to this software file. Patent licenses, if 16*1da177e4SLinus Torvalds * any, provided herein do not apply to combinations of this program with 17*1da177e4SLinus Torvalds * other software, or any other product whatsoever. 18*1da177e4SLinus Torvalds * 19*1da177e4SLinus Torvalds * You should have received a copy of the GNU General Public License along 20*1da177e4SLinus Torvalds * with this program; if not, write the Free Software Foundation, Inc., 59 21*1da177e4SLinus Torvalds * Temple Place - Suite 330, Boston MA 02111-1307, USA. 22*1da177e4SLinus Torvalds * 23*1da177e4SLinus Torvalds * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, 24*1da177e4SLinus Torvalds * Mountain View, CA 94043, or: 25*1da177e4SLinus Torvalds * 26*1da177e4SLinus Torvalds * http://www.sgi.com 27*1da177e4SLinus Torvalds * 28*1da177e4SLinus Torvalds * For further information regarding this notice, see: 29*1da177e4SLinus Torvalds * 30*1da177e4SLinus Torvalds * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ 31*1da177e4SLinus Torvalds */ 32*1da177e4SLinus Torvalds #ifndef __XFS_FSOPS_H__ 33*1da177e4SLinus Torvalds #define __XFS_FSOPS_H__ 34*1da177e4SLinus Torvalds 35*1da177e4SLinus Torvalds int 36*1da177e4SLinus Torvalds xfs_fs_geometry( 37*1da177e4SLinus Torvalds xfs_mount_t *mp, 38*1da177e4SLinus Torvalds xfs_fsop_geom_t *geo, 39*1da177e4SLinus Torvalds int new_version); 40*1da177e4SLinus Torvalds 41*1da177e4SLinus Torvalds int 42*1da177e4SLinus Torvalds xfs_growfs_data( 43*1da177e4SLinus Torvalds xfs_mount_t *mp, 44*1da177e4SLinus Torvalds xfs_growfs_data_t *in); 45*1da177e4SLinus Torvalds 46*1da177e4SLinus Torvalds int 47*1da177e4SLinus Torvalds xfs_growfs_log( 48*1da177e4SLinus Torvalds xfs_mount_t *mp, 49*1da177e4SLinus Torvalds xfs_growfs_log_t *in); 50*1da177e4SLinus Torvalds 51*1da177e4SLinus Torvalds int 52*1da177e4SLinus Torvalds xfs_fs_counts( 53*1da177e4SLinus Torvalds xfs_mount_t *mp, 54*1da177e4SLinus Torvalds xfs_fsop_counts_t *cnt); 55*1da177e4SLinus Torvalds 56*1da177e4SLinus Torvalds int 57*1da177e4SLinus Torvalds xfs_reserve_blocks( 58*1da177e4SLinus Torvalds xfs_mount_t *mp, 59*1da177e4SLinus Torvalds __uint64_t *inval, 60*1da177e4SLinus Torvalds xfs_fsop_resblks_t *outval); 61*1da177e4SLinus Torvalds 62*1da177e4SLinus Torvalds int 63*1da177e4SLinus Torvalds xfs_fs_goingdown( 64*1da177e4SLinus Torvalds xfs_mount_t *mp, 65*1da177e4SLinus Torvalds __uint32_t inflags); 66*1da177e4SLinus Torvalds 67*1da177e4SLinus Torvalds #endif /* __XFS_FSOPS_H__ */ 68