/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995, 1999 by Ralf Baechle */ #ifndef _ASM_STATFS_H #define _ASM_STATFS_H #include <linux/posix_types.h> #include <asm/sgidefs.h> #ifndef __KERNEL_STRICT_NAMES #include <linux/types.h> typedef __kernel_fsid_t fsid_t; #endif struct statfs { long f_type; #define f_fstyp f_type long f_bsize; long f_frsize; /* Fragment size - unsupported */ long f_blocks; long f_bfree; long f_files; long f_ffree; long f_bavail; /* Linux specials */ __kernel_fsid_t f_fsid; long f_namelen; long f_flags; long f_spare[5]; }; #if (_MIPS_SIM == _MIPS_SIM_ABI32) || (_MIPS_SIM == _MIPS_SIM_NABI32) /* * Unlike the traditional version the LFAPI version has none of the ABI junk */ struct statfs64 { __u32 f_type; __u32 f_bsize; __u32 f_frsize; /* Fragment size - unsupported */ __u32 __pad; __u64 f_blocks; __u64 f_bfree; __u64 f_files; __u64 f_ffree; __u64 f_bavail; __kernel_fsid_t f_fsid; __u32 f_namelen; __u32 f_flags; __u32 f_spare[5]; }; #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ #if _MIPS_SIM == _MIPS_SIM_ABI64 struct statfs64 { /* Same as struct statfs */ long f_type; long f_bsize; long f_frsize; /* Fragment size - unsupported */ long f_blocks; long f_bfree; long f_files; long f_ffree; long f_bavail; /* Linux specials */ __kernel_fsid_t f_fsid; long f_namelen; long f_flags; long f_spare[5]; }; struct compat_statfs64 { __u32 f_type; __u32 f_bsize; __u32 f_frsize; /* Fragment size - unsupported */ __u32 __pad; __u64 f_blocks; __u64 f_bfree; __u64 f_files; __u64 f_ffree; __u64 f_bavail; __kernel_fsid_t f_fsid; __u32 f_namelen; __u32 f_flags; __u32 f_spare[5]; }; #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ #endif /* _ASM_STATFS_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 123 B | 0644 |
|
auxvec.h | File | 616 B | 0644 |
|
bitfield.h | File | 766 B | 0644 |
|
bitsperlong.h | File | 244 B | 0644 |
|
break.h | File | 1.29 KB | 0644 |
|
byteorder.h | File | 580 B | 0644 |
|
cachectl.h | File | 800 B | 0644 |
|
errno.h | File | 5.66 KB | 0644 |
|
fcntl.h | File | 2.33 KB | 0644 |
|
hwcap.h | File | 231 B | 0644 |
|
inst.h | File | 27.22 KB | 0644 |
|
ioctl.h | File | 781 B | 0644 |
|
ioctls.h | File | 4.6 KB | 0644 |
|
kvm.h | File | 7.54 KB | 0644 |
|
kvm_para.h | File | 109 B | 0644 |
|
mman.h | File | 4.24 KB | 0644 |
|
msgbuf.h | File | 1.44 KB | 0644 |
|
param.h | File | 476 B | 0644 |
|
poll.h | File | 217 B | 0644 |
|
posix_types.h | File | 880 B | 0644 |
|
ptrace.h | File | 2.74 KB | 0644 |
|
reg.h | File | 5.3 KB | 0644 |
|
resource.h | File | 1.04 KB | 0644 |
|
sembuf.h | File | 666 B | 0644 |
|
setup.h | File | 183 B | 0644 |
|
sgidefs.h | File | 1.03 KB | 0644 |
|
shmbuf.h | File | 1.09 KB | 0644 |
|
sigcontext.h | File | 2.53 KB | 0644 |
|
siginfo.h | File | 3.13 KB | 0644 |
|
signal.h | File | 4.12 KB | 0644 |
|
socket.h | File | 3.33 KB | 0644 |
|
sockios.h | File | 760 B | 0644 |
|
stat.h | File | 2.87 KB | 0644 |
|
statfs.h | File | 1.94 KB | 0644 |
|
swab.h | File | 1.5 KB | 0644 |
|
sysmips.h | File | 841 B | 0644 |
|
termbits.h | File | 7.79 KB | 0644 |
|
termios.h | File | 2.09 KB | 0644 |
|
types.h | File | 922 B | 0644 |
|
ucontext.h | File | 2.15 KB | 0644 |
|
unistd.h | File | 45.04 KB | 0644 |
|