blob: f137d17757649b9ace4aca44d2203f585afe5a48 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_X86_STATFS_H
20#define _ASM_X86_STATFS_H
Elliott Hughesd3e64a32013-09-30 17:41:08 -070021#ifdef __i386__
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#include <asm-generic/statfs.h>
Andrew Hsieh126601d2012-03-23 23:07:36 +080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesd3e64a32013-09-30 17:41:08 -070024#else
25struct statfs {
26 long f_type;
27 long f_bsize;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 long f_blocks;
30 long f_bfree;
31 long f_bavail;
32 long f_files;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 long f_ffree;
35 __kernel_fsid_t f_fsid;
36 long f_namelen;
37 long f_frsize;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 long f_spare[5];
40};
41struct statfs64 {
42 long f_type;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 long f_bsize;
45 long f_blocks;
46 long f_bfree;
47 long f_bavail;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 long f_files;
50 long f_ffree;
51 __kernel_fsid_t f_fsid;
52 long f_namelen;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 long f_frsize;
55 long f_spare[5];
56};
57struct compat_statfs64 {
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 __u32 f_type;
60 __u32 f_bsize;
61 __u64 f_blocks;
62 __u64 f_bfree;
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 __u64 f_bavail;
65 __u64 f_files;
66 __u64 f_ffree;
67 __kernel_fsid_t f_fsid;
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 __u32 f_namelen;
70 __u32 f_frsize;
71 __u32 f_spare[5];
72} __attribute__((packed));
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#endif
75#endif