~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/include/uapi/asm/statfs.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 /*
  3  * This file is subject to the terms and conditions of the GNU General Public
  4  * License.  See the file "COPYING" in the main directory of this archive
  5  * for more details.
  6  *
  7  * Copyright (C) 1995, 1999 by Ralf Baechle
  8  */
  9 #ifndef _ASM_STATFS_H
 10 #define _ASM_STATFS_H
 11 
 12 #include <linux/posix_types.h>
 13 #include <asm/sgidefs.h>
 14 
 15 #ifndef __KERNEL_STRICT_NAMES
 16 
 17 #include <linux/types.h>
 18 
 19 typedef __kernel_fsid_t        fsid_t;
 20 
 21 #endif
 22 
 23 struct statfs {
 24         long            f_type;
 25 #define f_fstyp f_type
 26         long            f_bsize;
 27         long            f_frsize;       /* Fragment size - unsupported */
 28         long            f_blocks;
 29         long            f_bfree;
 30         long            f_files;
 31         long            f_ffree;
 32         long            f_bavail;
 33 
 34         /* Linux specials */
 35         __kernel_fsid_t f_fsid;
 36         long            f_namelen;
 37         long            f_flags;
 38         long            f_spare[5];
 39 };
 40 
 41 #if (_MIPS_SIM == _MIPS_SIM_ABI32) || (_MIPS_SIM == _MIPS_SIM_NABI32)
 42 
 43 /*
 44  * Unlike the traditional version the LFAPI version has none of the ABI junk
 45  */
 46 struct statfs64 {
 47         __u32   f_type;
 48         __u32   f_bsize;
 49         __u32   f_frsize;       /* Fragment size - unsupported */
 50         __u32   __pad;
 51         __u64   f_blocks;
 52         __u64   f_bfree;
 53         __u64   f_files;
 54         __u64   f_ffree;
 55         __u64   f_bavail;
 56         __kernel_fsid_t f_fsid;
 57         __u32   f_namelen;
 58         __u32   f_flags;
 59         __u32   f_spare[5];
 60 };
 61 
 62 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
 63 
 64 #if _MIPS_SIM == _MIPS_SIM_ABI64
 65 
 66 struct statfs64 {                       /* Same as struct statfs */
 67         long            f_type;
 68         long            f_bsize;
 69         long            f_frsize;       /* Fragment size - unsupported */
 70         long            f_blocks;
 71         long            f_bfree;
 72         long            f_files;
 73         long            f_ffree;
 74         long            f_bavail;
 75 
 76         /* Linux specials */
 77         __kernel_fsid_t f_fsid;
 78         long            f_namelen;
 79         long            f_flags;
 80         long            f_spare[5];
 81 };
 82 
 83 struct compat_statfs64 {
 84         __u32   f_type;
 85         __u32   f_bsize;
 86         __u32   f_frsize;       /* Fragment size - unsupported */
 87         __u32   __pad;
 88         __u64   f_blocks;
 89         __u64   f_bfree;
 90         __u64   f_files;
 91         __u64   f_ffree;
 92         __u64   f_bavail;
 93         __kernel_fsid_t f_fsid;
 94         __u32   f_namelen;
 95         __u32   f_flags;
 96         __u32   f_spare[5];
 97 };
 98 
 99 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
100 
101 #endif /* _ASM_STATFS_H */
102 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php