122851890Sopenharmony_ci/**************************************************************************** 222851890Sopenharmony_ci **************************************************************************** 322851890Sopenharmony_ci *** 422851890Sopenharmony_ci *** This header was automatically generated from a Linux kernel header 522851890Sopenharmony_ci *** of the same name, to make information necessary for userspace to 622851890Sopenharmony_ci *** call into the kernel available to libc. It contains only constants, 722851890Sopenharmony_ci *** structures, and macros generated from the original header, and thus, 822851890Sopenharmony_ci *** contains no copyrightable information. 922851890Sopenharmony_ci *** 1022851890Sopenharmony_ci *** To edit the content of this header, modify the corresponding 1122851890Sopenharmony_ci *** source file (e.g. under external/kernel-headers/original/) then 1222851890Sopenharmony_ci *** run bionic/libc/kernel/tools/update_all.py 1322851890Sopenharmony_ci *** 1422851890Sopenharmony_ci *** Any manual change here will be lost the next time this script will 1522851890Sopenharmony_ci *** be run. You've been warned! 1622851890Sopenharmony_ci *** 1722851890Sopenharmony_ci **************************************************************************** 1822851890Sopenharmony_ci ****************************************************************************/ 1922851890Sopenharmony_ci#ifndef _ASM_STATFS_H 2022851890Sopenharmony_ci#define _ASM_STATFS_H 2122851890Sopenharmony_ci#include <linux/posix_types.h> 2222851890Sopenharmony_ci#include <asm/sgidefs.h> 2322851890Sopenharmony_cistruct statfs { 2422851890Sopenharmony_ci long f_type; 2522851890Sopenharmony_ci#define f_fstyp f_type 2622851890Sopenharmony_ci long f_bsize; 2722851890Sopenharmony_ci long f_frsize; 2822851890Sopenharmony_ci long f_blocks; 2922851890Sopenharmony_ci long f_bfree; 3022851890Sopenharmony_ci long f_files; 3122851890Sopenharmony_ci long f_ffree; 3222851890Sopenharmony_ci long f_bavail; 3322851890Sopenharmony_ci __kernel_fsid_t f_fsid; 3422851890Sopenharmony_ci long f_namelen; 3522851890Sopenharmony_ci long f_flags; 3622851890Sopenharmony_ci long f_spare[5]; 3722851890Sopenharmony_ci}; 3822851890Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32 3922851890Sopenharmony_cistruct statfs64 { 4022851890Sopenharmony_ci __u32 f_type; 4122851890Sopenharmony_ci __u32 f_bsize; 4222851890Sopenharmony_ci __u32 f_frsize; 4322851890Sopenharmony_ci __u32 __pad; 4422851890Sopenharmony_ci __u64 f_blocks; 4522851890Sopenharmony_ci __u64 f_bfree; 4622851890Sopenharmony_ci __u64 f_files; 4722851890Sopenharmony_ci __u64 f_ffree; 4822851890Sopenharmony_ci __u64 f_bavail; 4922851890Sopenharmony_ci __kernel_fsid_t f_fsid; 5022851890Sopenharmony_ci __u32 f_namelen; 5122851890Sopenharmony_ci __u32 f_flags; 5222851890Sopenharmony_ci __u32 f_spare[5]; 5322851890Sopenharmony_ci}; 5422851890Sopenharmony_ci#endif 5522851890Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI64 5622851890Sopenharmony_cistruct statfs64 { 5722851890Sopenharmony_ci long f_type; 5822851890Sopenharmony_ci long f_bsize; 5922851890Sopenharmony_ci long f_frsize; 6022851890Sopenharmony_ci long f_blocks; 6122851890Sopenharmony_ci long f_bfree; 6222851890Sopenharmony_ci long f_files; 6322851890Sopenharmony_ci long f_ffree; 6422851890Sopenharmony_ci long f_bavail; 6522851890Sopenharmony_ci __kernel_fsid_t f_fsid; 6622851890Sopenharmony_ci long f_namelen; 6722851890Sopenharmony_ci long f_flags; 6822851890Sopenharmony_ci long f_spare[5]; 6922851890Sopenharmony_ci}; 7022851890Sopenharmony_cistruct compat_statfs64 { 7122851890Sopenharmony_ci __u32 f_type; 7222851890Sopenharmony_ci __u32 f_bsize; 7322851890Sopenharmony_ci __u32 f_frsize; 7422851890Sopenharmony_ci __u32 __pad; 7522851890Sopenharmony_ci __u64 f_blocks; 7622851890Sopenharmony_ci __u64 f_bfree; 7722851890Sopenharmony_ci __u64 f_files; 7822851890Sopenharmony_ci __u64 f_ffree; 7922851890Sopenharmony_ci __u64 f_bavail; 8022851890Sopenharmony_ci __kernel_fsid_t f_fsid; 8122851890Sopenharmony_ci __u32 f_namelen; 8222851890Sopenharmony_ci __u32 f_flags; 8322851890Sopenharmony_ci __u32 f_spare[5]; 8422851890Sopenharmony_ci}; 8522851890Sopenharmony_ci#endif 8622851890Sopenharmony_ci#endif 87