Home | History | Annotate | Download | only in asm
      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_STATFS_H
     20 #define _ASM_STATFS_H
     21 #include <linux/posix_types.h>
     22 #include <asm/sgidefs.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 struct statfs {
     25   long f_type;
     26 #define f_fstyp f_type
     27   long f_bsize;
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29   long f_frsize;
     30   long f_blocks;
     31   long f_bfree;
     32   long f_files;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34   long f_ffree;
     35   long f_bavail;
     36   __kernel_fsid_t f_fsid;
     37   long f_namelen;
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39   long f_flags;
     40   long f_spare[5];
     41 };
     42 #if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 struct statfs64 {
     45   __u32 f_type;
     46   __u32 f_bsize;
     47   __u32 f_frsize;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49   __u32 __pad;
     50   __u64 f_blocks;
     51   __u64 f_bfree;
     52   __u64 f_files;
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54   __u64 f_ffree;
     55   __u64 f_bavail;
     56   __kernel_fsid_t f_fsid;
     57   __u32 f_namelen;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59   __u32 f_flags;
     60   __u32 f_spare[5];
     61 };
     62 #endif
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #if _MIPS_SIM == _MIPS_SIM_ABI64
     65 struct statfs64 {
     66   long f_type;
     67   long f_bsize;
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69   long f_frsize;
     70   long f_blocks;
     71   long f_bfree;
     72   long f_files;
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74   long f_ffree;
     75   long f_bavail;
     76   __kernel_fsid_t f_fsid;
     77   long f_namelen;
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79   long f_flags;
     80   long f_spare[5];
     81 };
     82 struct compat_statfs64 {
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84   __u32 f_type;
     85   __u32 f_bsize;
     86   __u32 f_frsize;
     87   __u32 __pad;
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89   __u64 f_blocks;
     90   __u64 f_bfree;
     91   __u64 f_files;
     92   __u64 f_ffree;
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94   __u64 f_bavail;
     95   __kernel_fsid_t f_fsid;
     96   __u32 f_namelen;
     97   __u32 f_flags;
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99   __u32 f_spare[5];
    100 };
    101 #endif
    102 #endif
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104