Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  *  S390 version
0004  *
0005  *  Derived from "include/asm-i386/statfs.h"
0006  */
0007 
0008 #ifndef _S390_STATFS_H
0009 #define _S390_STATFS_H
0010 
0011 /*
0012  * We can't use <asm-generic/statfs.h> because in 64-bit mode
0013  * we mix ints of different sizes in our struct statfs.
0014  */
0015 
0016 #ifndef __KERNEL_STRICT_NAMES
0017 #include <linux/types.h>
0018 typedef __kernel_fsid_t fsid_t;
0019 #endif
0020 
0021 struct statfs {
0022     unsigned int    f_type;
0023     unsigned int    f_bsize;
0024     unsigned long   f_blocks;
0025     unsigned long   f_bfree;
0026     unsigned long   f_bavail;
0027     unsigned long   f_files;
0028     unsigned long   f_ffree;
0029     __kernel_fsid_t f_fsid;
0030     unsigned int    f_namelen;
0031     unsigned int    f_frsize;
0032     unsigned int    f_flags;
0033     unsigned int    f_spare[4];
0034 };
0035 
0036 struct statfs64 {
0037     unsigned int    f_type;
0038     unsigned int    f_bsize;
0039     unsigned long long f_blocks;
0040     unsigned long long f_bfree;
0041     unsigned long long f_bavail;
0042     unsigned long long f_files;
0043     unsigned long long f_ffree;
0044     __kernel_fsid_t f_fsid;
0045     unsigned int    f_namelen;
0046     unsigned int    f_frsize;
0047     unsigned int    f_flags;
0048     unsigned int    f_spare[4];
0049 };
0050 
0051 #endif