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