• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifdef __ARMEB__
41  unsigned short st_dev;
42  unsigned short __pad1;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #else
45  unsigned long st_dev;
46 #endif
47  unsigned long st_ino;
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  unsigned short st_mode;
50  unsigned short st_nlink;
51  unsigned short st_uid;
52  unsigned short st_gid;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #ifdef __ARMEB__
55  unsigned short st_rdev;
56  unsigned short __pad2;
57 #else
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  unsigned long st_rdev;
60 #endif
61  unsigned long st_size;
62  unsigned long st_blksize;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64  unsigned 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 long st_mtime_nsec;
70  unsigned long st_ctime;
71  unsigned long st_ctime_nsec;
72  unsigned long __unused4;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74  unsigned long __unused5;
75 };
76 struct stat64 {
77  unsigned long long st_dev;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79  unsigned char __pad0[4];
80 #define STAT64_HAS_BROKEN_ST_INO 1
81  unsigned long __st_ino;
82  unsigned int st_mode;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84  unsigned int st_nlink;
85  unsigned long st_uid;
86  unsigned long st_gid;
87  unsigned long long st_rdev;
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89  unsigned char __pad3[4];
90  long long st_size;
91  unsigned long st_blksize;
92  unsigned long long st_blocks;
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94  unsigned long st_atime;
95  unsigned long st_atime_nsec;
96  unsigned long st_mtime;
97  unsigned long st_mtime_nsec;
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99  unsigned long st_ctime;
100  unsigned long st_ctime_nsec;
101  unsigned long long st_ino;
102 };
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #endif
105