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_GENERIC_STAT_H
2022851890Sopenharmony_ci#define __ASM_GENERIC_STAT_H
2122851890Sopenharmony_ci#include <asm/bitsperlong.h>
2222851890Sopenharmony_ci#define STAT_HAVE_NSEC 1
2322851890Sopenharmony_cistruct stat {
2422851890Sopenharmony_ci  unsigned long st_dev;
2522851890Sopenharmony_ci  unsigned long st_ino;
2622851890Sopenharmony_ci  unsigned int st_mode;
2722851890Sopenharmony_ci  unsigned int st_nlink;
2822851890Sopenharmony_ci  unsigned int st_uid;
2922851890Sopenharmony_ci  unsigned int st_gid;
3022851890Sopenharmony_ci  unsigned long st_rdev;
3122851890Sopenharmony_ci  unsigned long __pad1;
3222851890Sopenharmony_ci  long st_size;
3322851890Sopenharmony_ci  int st_blksize;
3422851890Sopenharmony_ci  int __pad2;
3522851890Sopenharmony_ci  long st_blocks;
3622851890Sopenharmony_ci  long st_atime;
3722851890Sopenharmony_ci  unsigned long st_atime_nsec;
3822851890Sopenharmony_ci  long st_mtime;
3922851890Sopenharmony_ci  unsigned long st_mtime_nsec;
4022851890Sopenharmony_ci  long st_ctime;
4122851890Sopenharmony_ci  unsigned long st_ctime_nsec;
4222851890Sopenharmony_ci  unsigned int __unused4;
4322851890Sopenharmony_ci  unsigned int __unused5;
4422851890Sopenharmony_ci};
4522851890Sopenharmony_ci#if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64)
4622851890Sopenharmony_cistruct stat64 {
4722851890Sopenharmony_ci  unsigned long long st_dev;
4822851890Sopenharmony_ci  unsigned long long st_ino;
4922851890Sopenharmony_ci  unsigned int st_mode;
5022851890Sopenharmony_ci  unsigned int st_nlink;
5122851890Sopenharmony_ci  unsigned int st_uid;
5222851890Sopenharmony_ci  unsigned int st_gid;
5322851890Sopenharmony_ci  unsigned long long st_rdev;
5422851890Sopenharmony_ci  unsigned long long __pad1;
5522851890Sopenharmony_ci  long long st_size;
5622851890Sopenharmony_ci  int st_blksize;
5722851890Sopenharmony_ci  int __pad2;
5822851890Sopenharmony_ci  long long st_blocks;
5922851890Sopenharmony_ci  int st_atime;
6022851890Sopenharmony_ci  unsigned int st_atime_nsec;
6122851890Sopenharmony_ci  int st_mtime;
6222851890Sopenharmony_ci  unsigned int st_mtime_nsec;
6322851890Sopenharmony_ci  int st_ctime;
6422851890Sopenharmony_ci  unsigned int st_ctime_nsec;
6522851890Sopenharmony_ci  unsigned int __unused4;
6622851890Sopenharmony_ci  unsigned int __unused5;
6722851890Sopenharmony_ci};
6822851890Sopenharmony_ci#endif
6922851890Sopenharmony_ci#endif
70