• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPI_GENERIC_STATFS_H
8 #define _UAPI_GENERIC_STATFS_H
9 #include <linux/types.h>
10 #ifndef __statfs_word
11 #if __BITS_PER_LONG == 64
12 #define __statfs_word __kernel_long_t
13 #else
14 #define __statfs_word __u32
15 #endif
16 #endif
17 struct statfs {
18   __statfs_word f_type;
19   __statfs_word f_bsize;
20   __statfs_word f_blocks;
21   __statfs_word f_bfree;
22   __statfs_word f_bavail;
23   __statfs_word f_files;
24   __statfs_word f_ffree;
25   __kernel_fsid_t f_fsid;
26   __statfs_word f_namelen;
27   __statfs_word f_frsize;
28   __statfs_word f_flags;
29   __statfs_word f_spare[4];
30 };
31 #ifndef ARCH_PACK_STATFS64
32 #define ARCH_PACK_STATFS64
33 #endif
34 struct statfs64 {
35   __statfs_word f_type;
36   __statfs_word f_bsize;
37   __u64 f_blocks;
38   __u64 f_bfree;
39   __u64 f_bavail;
40   __u64 f_files;
41   __u64 f_ffree;
42   __kernel_fsid_t f_fsid;
43   __statfs_word f_namelen;
44   __statfs_word f_frsize;
45   __statfs_word f_flags;
46   __statfs_word f_spare[4];
47 } ARCH_PACK_STATFS64;
48 #ifndef ARCH_PACK_COMPAT_STATFS64
49 #define ARCH_PACK_COMPAT_STATFS64
50 #endif
51 struct compat_statfs64 {
52   __u32 f_type;
53   __u32 f_bsize;
54   __u64 f_blocks;
55   __u64 f_bfree;
56   __u64 f_bavail;
57   __u64 f_files;
58   __u64 f_ffree;
59   __kernel_fsid_t f_fsid;
60   __u32 f_namelen;
61   __u32 f_frsize;
62   __u32 f_flags;
63   __u32 f_spare[4];
64 } ARCH_PACK_COMPAT_STATFS64;
65 #endif
66