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 struct statfs {
     24   long f_type;
     25 #define f_fstyp f_type
     26   long f_bsize;
     27   long f_frsize;
     28   long f_blocks;
     29   long f_bfree;
     30   long f_files;
     31   long f_ffree;
     32   long f_bavail;
     33   __kernel_fsid_t f_fsid;
     34   long f_namelen;
     35   long f_flags;
     36   long f_spare[5];
     37 };
     38 #if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
     39 struct statfs64 {
     40   __u32 f_type;
     41   __u32 f_bsize;
     42   __u32 f_frsize;
     43   __u32 __pad;
     44   __u64 f_blocks;
     45   __u64 f_bfree;
     46   __u64 f_files;
     47   __u64 f_ffree;
     48   __u64 f_bavail;
     49   __kernel_fsid_t f_fsid;
     50   __u32 f_namelen;
     51   __u32 f_flags;
     52   __u32 f_spare[5];
     53 };
     54 #endif
     55 #if _MIPS_SIM == _MIPS_SIM_ABI64
     56 struct statfs64 {
     57   long f_type;
     58   long f_bsize;
     59   long f_frsize;
     60   long f_blocks;
     61   long f_bfree;
     62   long f_files;
     63   long f_ffree;
     64   long f_bavail;
     65   __kernel_fsid_t f_fsid;
     66   long f_namelen;
     67   long f_flags;
     68   long f_spare[5];
     69 };
     70 struct compat_statfs64 {
     71   __u32 f_type;
     72   __u32 f_bsize;
     73   __u32 f_frsize;
     74   __u32 __pad;
     75   __u64 f_blocks;
     76   __u64 f_bfree;
     77   __u64 f_files;
     78   __u64 f_ffree;
     79   __u64 f_bavail;
     80   __kernel_fsid_t f_fsid;
     81   __u32 f_namelen;
     82   __u32 f_flags;
     83   __u32 f_spare[5];
     84 };
     85 #endif
     86 #endif
     87