/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _GENERIC_STATFS_H
#define _GENERIC_STATFS_H
* Most 64-bit platforms use 'long', while most 32-bit platforms use '__u32'.
* Yes, they differ in signedness as well as size.
* Special cases can override it for themselves -- except for S390x, which
* is just a little too special for us. And MIPS, which I'm not touching
#if __BITS_PER_LONG == 64
#define __statfs_word __kernel_long_t
#define __statfs_word __u32
__statfs_word f_spare[4];
* ARM needs to avoid the 32-bit padding at the end, for consistency
#ifndef ARCH_PACK_STATFS64
#define ARCH_PACK_STATFS64
__statfs_word f_spare[4];
* IA64 and x86_64 need to avoid the 32-bit padding at the end,
* to be compatible with the i386 ABI
#ifndef ARCH_PACK_COMPAT_STATFS64
#define ARCH_PACK_COMPAT_STATFS64
} ARCH_PACK_COMPAT_STATFS64;
#endif /* _GENERIC_STATFS_H */