1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __ASM_GENERIC_STAT_H 20 #define __ASM_GENERIC_STAT_H 21 #include <asm/bitsperlong.h> 22 #define STAT_HAVE_NSEC 1 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 struct stat { 25 unsigned long st_dev; 26 unsigned long st_ino; 27 unsigned int st_mode; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 unsigned int st_nlink; 30 unsigned int st_uid; 31 unsigned int st_gid; 32 unsigned long st_rdev; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 unsigned long __pad1; 35 long st_size; 36 int st_blksize; 37 int __pad2; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 long st_blocks; 40 long st_atime; 41 unsigned long st_atime_nsec; 42 long st_mtime; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 unsigned long st_mtime_nsec; 45 long st_ctime; 46 unsigned long st_ctime_nsec; 47 unsigned int __unused4; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 unsigned int __unused5; 50 }; 51 #if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64) 52 struct stat64 { 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 unsigned long long st_dev; 55 unsigned long long st_ino; 56 unsigned int st_mode; 57 unsigned int st_nlink; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 unsigned int st_uid; 60 unsigned int st_gid; 61 unsigned long long st_rdev; 62 unsigned long long __pad1; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 long long st_size; 65 int st_blksize; 66 int __pad2; 67 long long st_blocks; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 int st_atime; 70 unsigned int st_atime_nsec; 71 int st_mtime; 72 unsigned int st_mtime_nsec; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 int st_ctime; 75 unsigned int st_ctime_nsec; 76 unsigned int __unused4; 77 unsigned int __unused5; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 }; 80 #endif 81 #endif 82