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 _ASMARM_STAT_H 20 #define _ASMARM_STAT_H 21 struct __old_kernel_stat { 22 unsigned short st_dev; 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 unsigned short st_ino; 25 unsigned short st_mode; 26 unsigned short st_nlink; 27 unsigned short st_uid; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 unsigned short st_gid; 30 unsigned short st_rdev; 31 unsigned long st_size; 32 unsigned long st_atime; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 unsigned long st_mtime; 35 unsigned long st_ctime; 36 }; 37 #define STAT_HAVE_NSEC 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 struct stat { 40 unsigned long st_dev; 41 unsigned long st_ino; 42 unsigned short st_mode; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 unsigned short st_nlink; 45 unsigned short st_uid; 46 unsigned short st_gid; 47 unsigned long st_rdev; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 unsigned long st_size; 50 unsigned long st_blksize; 51 unsigned long st_blocks; 52 unsigned long st_atime; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 unsigned long st_atime_nsec; 55 unsigned long st_mtime; 56 unsigned long st_mtime_nsec; 57 unsigned long st_ctime; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 unsigned long st_ctime_nsec; 60 unsigned long __unused4; 61 unsigned long __unused5; 62 }; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 struct stat64 { 65 unsigned long long st_dev; 66 unsigned char __pad0[4]; 67 #define STAT64_HAS_BROKEN_ST_INO 1 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 unsigned long __st_ino; 70 unsigned int st_mode; 71 unsigned int st_nlink; 72 unsigned long st_uid; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 unsigned long st_gid; 75 unsigned long long st_rdev; 76 unsigned char __pad3[4]; 77 long long st_size; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 unsigned long st_blksize; 80 unsigned long long st_blocks; 81 unsigned long st_atime; 82 unsigned long st_atime_nsec; 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 unsigned long st_mtime; 85 unsigned long st_mtime_nsec; 86 unsigned long st_ctime; 87 unsigned long st_ctime_nsec; 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 unsigned long long st_ino; 90 }; 91 #endif 92