PHP 7.4.33
Preview: statfs.h Size: 1.80 KB
/home/godevadmin/www/upload_images/home/000~ROOT~000/usr/include/asm-generic/statfs.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _GENERIC_STATFS_H
#define _GENERIC_STATFS_H

#include <linux/types.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
 * with a 10' pole.
 */
#ifndef __statfs_word
#if __BITS_PER_LONG == 64
#define __statfs_word __kernel_long_t
#else
#define __statfs_word __u32
#endif
#endif

struct statfs {
	__statfs_word f_type;
	__statfs_word f_bsize;
	__statfs_word f_blocks;
	__statfs_word f_bfree;
	__statfs_word f_bavail;
	__statfs_word f_files;
	__statfs_word f_ffree;
	__kernel_fsid_t f_fsid;
	__statfs_word f_namelen;
	__statfs_word f_frsize;
	__statfs_word f_flags;
	__statfs_word f_spare[4];
};

/*
 * ARM needs to avoid the 32-bit padding at the end, for consistency
 * between EABI and OABI 
 */
#ifndef ARCH_PACK_STATFS64
#define ARCH_PACK_STATFS64
#endif

struct statfs64 {
	__statfs_word f_type;
	__statfs_word f_bsize;
	__u64 f_blocks;
	__u64 f_bfree;
	__u64 f_bavail;
	__u64 f_files;
	__u64 f_ffree;
	__kernel_fsid_t f_fsid;
	__statfs_word f_namelen;
	__statfs_word f_frsize;
	__statfs_word f_flags;
	__statfs_word f_spare[4];
} ARCH_PACK_STATFS64;

/* 
 * 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
#endif

struct compat_statfs64 {
	__u32 f_type;
	__u32 f_bsize;
	__u64 f_blocks;
	__u64 f_bfree;
	__u64 f_bavail;
	__u64 f_files;
	__u64 f_ffree;
	__kernel_fsid_t f_fsid;
	__u32 f_namelen;
	__u32 f_frsize;
	__u32 f_flags;
	__u32 f_spare[4];
} ARCH_PACK_COMPAT_STATFS64;

#endif /* _GENERIC_STATFS_H */

Directory Contents

Dirs: 0 × Files: 37

Name Size Perms Modified Actions
218 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
564 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
238 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.57 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
5.52 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
5.30 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.76 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
718 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
864 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
3.40 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
3.89 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1003 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
96 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
3.46 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
740 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.58 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
353 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
878 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
2.32 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.83 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.51 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
190 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.79 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
231 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
12.21 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
800 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
2.65 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
2.42 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
439 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
2.57 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.80 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
502 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
4.61 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
1.34 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download
233 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
357 B lrw-r--r-- 2025-06-25 10:53:18
Edit Download
27.52 KB lrw-r--r-- 2025-06-25 10:53:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).