blob: 0d03cff83d144d097165b829860cfe98b43f4e54 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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 _UAPI_GENERIC_STATFS_H
20#define _UAPI_GENERIC_STATFS_H
21#include <linux/types.h>
22#ifndef __statfs_word
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#if __BITS_PER_LONG == 64
Christopher Ferris38062f92014-07-09 15:33:25 -070025#define __statfs_word __kernel_long_t
Ben Cheng655a7c02013-10-16 16:09:24 -070026#else
27#define __statfs_word __u32
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#endif
30#endif
31struct statfs {
Tao Baod7db5942015-01-28 10:07:51 -080032 __statfs_word f_type;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 __statfs_word f_bsize;
35 __statfs_word f_blocks;
36 __statfs_word f_bfree;
37 __statfs_word f_bavail;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __statfs_word f_files;
40 __statfs_word f_ffree;
41 __kernel_fsid_t f_fsid;
42 __statfs_word f_namelen;
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 __statfs_word f_frsize;
45 __statfs_word f_flags;
46 __statfs_word f_spare[4];
Ben Cheng655a7c02013-10-16 16:09:24 -070047};
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#ifndef ARCH_PACK_STATFS64
50#define ARCH_PACK_STATFS64
51#endif
52struct statfs64 {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __statfs_word f_type;
55 __statfs_word f_bsize;
56 __u64 f_blocks;
57 __u64 f_bfree;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __u64 f_bavail;
60 __u64 f_files;
61 __u64 f_ffree;
62 __kernel_fsid_t f_fsid;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 __statfs_word f_namelen;
65 __statfs_word f_frsize;
66 __statfs_word f_flags;
67 __statfs_word f_spare[4];
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69} ARCH_PACK_STATFS64;
70#ifndef ARCH_PACK_COMPAT_STATFS64
71#define ARCH_PACK_COMPAT_STATFS64
72#endif
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74struct compat_statfs64 {
Tao Baod7db5942015-01-28 10:07:51 -080075 __u32 f_type;
76 __u32 f_bsize;
77 __u64 f_blocks;
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080079 __u64 f_bfree;
80 __u64 f_bavail;
81 __u64 f_files;
82 __u64 f_ffree;
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 __kernel_fsid_t f_fsid;
85 __u32 f_namelen;
86 __u32 f_frsize;
87 __u32 f_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080089 __u32 f_spare[4];
Ben Cheng655a7c02013-10-16 16:09:24 -070090} ARCH_PACK_COMPAT_STATFS64;
91#endif