1/*
2 * This header was generated from the Linux kernel headers by update_headers.py,
3 * to provide necessary information from kernel to userspace, such as constants,
4 * structures, and macros, and thus, contains no copyrightable information.
5 */
6#ifndef _UAPI_GENERIC_STATFS_H
7#define _UAPI_GENERIC_STATFS_H
8#include <linux/types.h>
9#ifndef __statfs_word
10#if __BITS_PER_LONG == 64
11#define __statfs_word __kernel_long_t
12#else
13#define __statfs_word __u32
14#endif
15#endif
16struct statfs {
17	__statfs_word f_type;
18	__statfs_word f_bsize;
19	__statfs_word f_blocks;
20	__statfs_word f_bfree;
21	__statfs_word f_bavail;
22	__statfs_word f_files;
23	__statfs_word f_ffree;
24	__kernel_fsid_t f_fsid;
25	__statfs_word f_namelen;
26	__statfs_word f_frsize;
27	__statfs_word f_flags;
28	__statfs_word f_spare[4];
29};
30#ifndef ARCH_PACK_STATFS64
31#define ARCH_PACK_STATFS64
32#endif
33struct statfs64 {
34	__statfs_word f_type;
35	__statfs_word f_bsize;
36	__u64 f_blocks;
37	__u64 f_bfree;
38	__u64 f_bavail;
39	__u64 f_files;
40	__u64 f_ffree;
41	__kernel_fsid_t f_fsid;
42	__statfs_word f_namelen;
43	__statfs_word f_frsize;
44	__statfs_word f_flags;
45	__statfs_word f_spare[4];
46} ARCH_PACK_STATFS64;
47#ifndef ARCH_PACK_COMPAT_STATFS64
48#define ARCH_PACK_COMPAT_STATFS64
49#endif
50struct compat_statfs64 {
51	__u32 f_type;
52	__u32 f_bsize;
53	__u64 f_blocks;
54	__u64 f_bfree;
55	__u64 f_bavail;
56	__u64 f_files;
57	__u64 f_ffree;
58	__kernel_fsid_t f_fsid;
59	__u32 f_namelen;
60	__u32 f_frsize;
61	__u32 f_flags;
62	__u32 f_spare[4];
63} ARCH_PACK_COMPAT_STATFS64;
64#endif
65