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