1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_GENERIC_STATFS_H 20 #define _UAPI_GENERIC_STATFS_H 21 #include <linux/types.h> 22 #ifndef __statfs_word 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #if __BITS_PER_LONG == 64 25 #define __statfs_word __kernel_long_t 26 #else 27 #define __statfs_word __u32 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #endif 30 #endif 31 struct statfs { 32 __statfs_word f_type; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 __statfs_word f_bsize; 35 __statfs_word f_blocks; 36 __statfs_word f_bfree; 37 __statfs_word f_bavail; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 __statfs_word f_files; 40 __statfs_word f_ffree; 41 __kernel_fsid_t f_fsid; 42 __statfs_word f_namelen; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 __statfs_word f_frsize; 45 __statfs_word f_flags; 46 __statfs_word f_spare[4]; 47 }; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #ifndef ARCH_PACK_STATFS64 50 #define ARCH_PACK_STATFS64 51 #endif 52 struct statfs64 { 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 __statfs_word f_type; 55 __statfs_word f_bsize; 56 __u64 f_blocks; 57 __u64 f_bfree; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 __u64 f_bavail; 60 __u64 f_files; 61 __u64 f_ffree; 62 __kernel_fsid_t f_fsid; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 __statfs_word f_namelen; 65 __statfs_word f_frsize; 66 __statfs_word f_flags; 67 __statfs_word f_spare[4]; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 } ARCH_PACK_STATFS64; 70 #ifndef ARCH_PACK_COMPAT_STATFS64 71 #define ARCH_PACK_COMPAT_STATFS64 72 #endif 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 struct compat_statfs64 { 75 __u32 f_type; 76 __u32 f_bsize; 77 __u64 f_blocks; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 __u64 f_bfree; 80 __u64 f_bavail; 81 __u64 f_files; 82 __u64 f_ffree; 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 __kernel_fsid_t f_fsid; 85 __u32 f_namelen; 86 __u32 f_frsize; 87 __u32 f_flags; 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 __u32 f_spare[4]; 90 } ARCH_PACK_COMPAT_STATFS64; 91 #endif 92