blob: 36cc3d5fffe1116ac7b75a67167a5221d41b6bb1 [file] [log] [blame]
Elliott Hughesabd62612013-11-08 11:45:48 -08001/****************************************************************************
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 */
24struct statfs {
Tao Baod7db5942015-01-28 10:07:51 -080025 long f_type;
Elliott Hughesabd62612013-11-08 11:45:48 -080026#define f_fstyp f_type
Tao Baod7db5942015-01-28 10:07:51 -080027 long f_bsize;
Elliott Hughesabd62612013-11-08 11:45:48 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 long f_frsize;
30 long f_blocks;
31 long f_bfree;
32 long f_files;
Elliott Hughesabd62612013-11-08 11:45:48 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 long f_ffree;
35 long f_bavail;
36 __kernel_fsid_t f_fsid;
37 long f_namelen;
Elliott Hughesabd62612013-11-08 11:45:48 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 long f_flags;
40 long f_spare[5];
Elliott Hughesabd62612013-11-08 11:45:48 -080041};
42#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44struct statfs64 {
Tao Baod7db5942015-01-28 10:07:51 -080045 __u32 f_type;
46 __u32 f_bsize;
47 __u32 f_frsize;
Elliott Hughesabd62612013-11-08 11:45:48 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 __u32 __pad;
50 __u64 f_blocks;
51 __u64 f_bfree;
52 __u64 f_files;
Elliott Hughesabd62612013-11-08 11:45:48 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __u64 f_ffree;
55 __u64 f_bavail;
56 __kernel_fsid_t f_fsid;
57 __u32 f_namelen;
Elliott Hughesabd62612013-11-08 11:45:48 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __u32 f_flags;
60 __u32 f_spare[5];
Elliott Hughesabd62612013-11-08 11:45:48 -080061};
62#endif
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#if _MIPS_SIM == _MIPS_SIM_ABI64
65struct statfs64 {
Tao Baod7db5942015-01-28 10:07:51 -080066 long f_type;
67 long f_bsize;
Elliott Hughesabd62612013-11-08 11:45:48 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 long f_frsize;
70 long f_blocks;
71 long f_bfree;
72 long f_files;
Elliott Hughesabd62612013-11-08 11:45:48 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 long f_ffree;
75 long f_bavail;
76 __kernel_fsid_t f_fsid;
77 long f_namelen;
Elliott Hughesabd62612013-11-08 11:45:48 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080079 long f_flags;
80 long f_spare[5];
Elliott Hughesabd62612013-11-08 11:45:48 -080081};
82struct compat_statfs64 {
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 __u32 f_type;
85 __u32 f_bsize;
86 __u32 f_frsize;
87 __u32 __pad;
Elliott Hughesabd62612013-11-08 11:45:48 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080089 __u64 f_blocks;
90 __u64 f_bfree;
91 __u64 f_files;
92 __u64 f_ffree;
Elliott Hughesabd62612013-11-08 11:45:48 -080093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080094 __u64 f_bavail;
95 __kernel_fsid_t f_fsid;
96 __u32 f_namelen;
97 __u32 f_flags;
Elliott Hughesabd62612013-11-08 11:45:48 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080099 __u32 f_spare[5];
Elliott Hughesabd62612013-11-08 11:45:48 -0800100};
101#endif
102#endif
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */