statfs.h revision 654325de026a2ca5b76b8b40e576c959d8211fdc
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 _ASM_X86_STATFS_H 20#define _ASM_X86_STATFS_H 21#ifdef __i386__ 22#include <asm-generic/statfs.h> 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#else 25struct statfs { 26 long f_type; 27 long f_bsize; 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 long f_blocks; 30 long f_bfree; 31 long f_bavail; 32 long f_files; 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 long f_ffree; 35 __kernel_fsid_t f_fsid; 36 long f_namelen; 37 long f_frsize; 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 long f_spare[5]; 40}; 41struct statfs64 { 42 long f_type; 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 long f_bsize; 45 long f_blocks; 46 long f_bfree; 47 long f_bavail; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 long f_files; 50 long f_ffree; 51 __kernel_fsid_t f_fsid; 52 long f_namelen; 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 long f_frsize; 55 long f_spare[5]; 56}; 57struct compat_statfs64 { 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 __u32 f_type; 60 __u32 f_bsize; 61 __u64 f_blocks; 62 __u64 f_bfree; 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 __u64 f_bavail; 65 __u64 f_files; 66 __u64 f_ffree; 67 __kernel_fsid_t f_fsid; 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 __u32 f_namelen; 70 __u32 f_frsize; 71 __u32 f_spare[5]; 72} __attribute__((packed)); 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74#endif 75#endif 76