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