1 #ifndef _GENERIC_STATFS_H 2 #define _GENERIC_STATFS_H 3 4 #ifndef __KERNEL_STRICT_NAMES 5 # include <linux/types.h> 6 typedef __kernel_fsid_t fsid_t; 7 #endif 8 9 struct statfs { 10 __u32 f_type; 11 __u32 f_bsize; 12 __u32 f_blocks; 13 __u32 f_bfree; 14 __u32 f_bavail; 15 __u32 f_files; 16 __u32 f_ffree; 17 __kernel_fsid_t f_fsid; 18 __u32 f_namelen; 19 __u32 f_frsize; 20 __u32 f_spare[5]; 21 }; 22 23 struct statfs64 { 24 __u32 f_type; 25 __u32 f_bsize; 26 __u64 f_blocks; 27 __u64 f_bfree; 28 __u64 f_bavail; 29 __u64 f_files; 30 __u64 f_ffree; 31 __kernel_fsid_t f_fsid; 32 __u32 f_namelen; 33 __u32 f_frsize; 34 __u32 f_spare[5]; 35 }; 36 37 struct compat_statfs64 { 38 __u32 f_type; 39 __u32 f_bsize; 40 __u64 f_blocks; 41 __u64 f_bfree; 42 __u64 f_bavail; 43 __u64 f_files; 44 __u64 f_ffree; 45 __kernel_fsid_t f_fsid; 46 __u32 f_namelen; 47 __u32 f_frsize; 48 __u32 f_spare[5]; 49 }; 50 51 #endif 52