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_STAT_H 2022851890Sopenharmony_ci#define _ASM_STAT_H 2122851890Sopenharmony_ci#include <linux/types.h> 2222851890Sopenharmony_ci#include <asm/sgidefs.h> 2322851890Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32 2422851890Sopenharmony_cistruct stat { 2522851890Sopenharmony_ci unsigned st_dev; 2622851890Sopenharmony_ci long st_pad1[3]; 2722851890Sopenharmony_ci ino_t st_ino; 2822851890Sopenharmony_ci mode_t st_mode; 2922851890Sopenharmony_ci __u32 st_nlink; 3022851890Sopenharmony_ci uid_t st_uid; 3122851890Sopenharmony_ci gid_t st_gid; 3222851890Sopenharmony_ci unsigned st_rdev; 3322851890Sopenharmony_ci long st_pad2[2]; 3422851890Sopenharmony_ci long st_size; 3522851890Sopenharmony_ci long st_pad3; 3622851890Sopenharmony_ci long st_atime; 3722851890Sopenharmony_ci long st_atime_nsec; 3822851890Sopenharmony_ci long st_mtime; 3922851890Sopenharmony_ci long st_mtime_nsec; 4022851890Sopenharmony_ci long st_ctime; 4122851890Sopenharmony_ci long st_ctime_nsec; 4222851890Sopenharmony_ci long st_blksize; 4322851890Sopenharmony_ci long st_blocks; 4422851890Sopenharmony_ci long st_pad4[14]; 4522851890Sopenharmony_ci}; 4622851890Sopenharmony_cistruct stat64 { 4722851890Sopenharmony_ci unsigned long st_dev; 4822851890Sopenharmony_ci unsigned long st_pad0[3]; 4922851890Sopenharmony_ci unsigned long long st_ino; 5022851890Sopenharmony_ci mode_t st_mode; 5122851890Sopenharmony_ci __u32 st_nlink; 5222851890Sopenharmony_ci uid_t st_uid; 5322851890Sopenharmony_ci gid_t st_gid; 5422851890Sopenharmony_ci unsigned long st_rdev; 5522851890Sopenharmony_ci unsigned long st_pad1[3]; 5622851890Sopenharmony_ci long long st_size; 5722851890Sopenharmony_ci long st_atime; 5822851890Sopenharmony_ci unsigned long st_atime_nsec; 5922851890Sopenharmony_ci long st_mtime; 6022851890Sopenharmony_ci unsigned long st_mtime_nsec; 6122851890Sopenharmony_ci long st_ctime; 6222851890Sopenharmony_ci unsigned long st_ctime_nsec; 6322851890Sopenharmony_ci unsigned long st_blksize; 6422851890Sopenharmony_ci unsigned long st_pad2; 6522851890Sopenharmony_ci long long st_blocks; 6622851890Sopenharmony_ci}; 6722851890Sopenharmony_ci#endif 6822851890Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI64 6922851890Sopenharmony_cistruct stat { 7022851890Sopenharmony_ci unsigned int st_dev; 7122851890Sopenharmony_ci unsigned int st_pad0[3]; 7222851890Sopenharmony_ci unsigned long st_ino; 7322851890Sopenharmony_ci mode_t st_mode; 7422851890Sopenharmony_ci __u32 st_nlink; 7522851890Sopenharmony_ci uid_t st_uid; 7622851890Sopenharmony_ci gid_t st_gid; 7722851890Sopenharmony_ci unsigned int st_rdev; 7822851890Sopenharmony_ci unsigned int st_pad1[3]; 7922851890Sopenharmony_ci long st_size; 8022851890Sopenharmony_ci unsigned int st_atime; 8122851890Sopenharmony_ci unsigned int st_atime_nsec; 8222851890Sopenharmony_ci unsigned int st_mtime; 8322851890Sopenharmony_ci unsigned int st_mtime_nsec; 8422851890Sopenharmony_ci unsigned int st_ctime; 8522851890Sopenharmony_ci unsigned int st_ctime_nsec; 8622851890Sopenharmony_ci unsigned int st_blksize; 8722851890Sopenharmony_ci unsigned int st_pad2; 8822851890Sopenharmony_ci unsigned long st_blocks; 8922851890Sopenharmony_ci}; 9022851890Sopenharmony_ci#endif 9122851890Sopenharmony_ci#define STAT_HAVE_NSEC 1 9222851890Sopenharmony_ci#endif 93