xref: /openbmc/linux/arch/s390/include/uapi/asm/statfs.h (revision b8668fd0)
1 /*
2  *  S390 version
3  *
4  *  Derived from "include/asm-i386/statfs.h"
5  */
6 
7 #ifndef _S390_STATFS_H
8 #define _S390_STATFS_H
9 
10 /*
11  * We can't use <asm-generic/statfs.h> because in 64-bit mode
12  * we mix ints of different sizes in our struct statfs.
13  */
14 
15 #ifndef __KERNEL_STRICT_NAMES
16 #include <linux/types.h>
17 typedef __kernel_fsid_t	fsid_t;
18 #endif
19 
20 struct statfs {
21 	unsigned int	f_type;
22 	unsigned int	f_bsize;
23 	unsigned long	f_blocks;
24 	unsigned long	f_bfree;
25 	unsigned long	f_bavail;
26 	unsigned long	f_files;
27 	unsigned long	f_ffree;
28 	__kernel_fsid_t f_fsid;
29 	unsigned int	f_namelen;
30 	unsigned int	f_frsize;
31 	unsigned int	f_flags;
32 	unsigned int	f_spare[4];
33 };
34 
35 struct statfs64 {
36 	unsigned int	f_type;
37 	unsigned int	f_bsize;
38 	unsigned long	f_blocks;
39 	unsigned long	f_bfree;
40 	unsigned long	f_bavail;
41 	unsigned long	f_files;
42 	unsigned long	f_ffree;
43 	__kernel_fsid_t f_fsid;
44 	unsigned int	f_namelen;
45 	unsigned int	f_frsize;
46 	unsigned int	f_flags;
47 	unsigned int	f_spare[4];
48 };
49 
50 #endif
51