blob: b3425dd8d777c155529c9aec8e01d11eb8388d58 [file] [log] [blame]
Ben Chenga6b53f02013-11-06 15:51:05 -08001/****************************************************************************
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
21struct __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 */
39struct stat {
Ben Chenga6b53f02013-11-06 15:51:05 -080040 unsigned long st_dev;
Ben Chenga6b53f02013-11-06 15:51:05 -080041 unsigned long st_ino;
Ben Chenga6b53f02013-11-06 15:51:05 -080042 unsigned short st_mode;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080044 unsigned short st_nlink;
45 unsigned short st_uid;
46 unsigned short st_gid;
Ben Chenga6b53f02013-11-06 15:51:05 -080047 unsigned long st_rdev;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080049 unsigned long st_size;
50 unsigned long st_blksize;
Ben Chenga6b53f02013-11-06 15:51:05 -080051 unsigned long st_blocks;
52 unsigned long st_atime;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080054 unsigned long st_atime_nsec;
55 unsigned long st_mtime;
Ben Chenga6b53f02013-11-06 15:51:05 -080056 unsigned long st_mtime_nsec;
57 unsigned long st_ctime;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080059 unsigned long st_ctime_nsec;
60 unsigned long __unused4;
Ben Chenga6b53f02013-11-06 15:51:05 -080061 unsigned long __unused5;
62};
Elliott Hughes8ed7a232014-05-15 12:01:11 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080064struct stat64 {
65 unsigned long long st_dev;
Ben Chenga6b53f02013-11-06 15:51:05 -080066 unsigned char __pad0[4];
67#define STAT64_HAS_BROKEN_ST_INO 1
Elliott Hughes8ed7a232014-05-15 12:01:11 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080069 unsigned long __st_ino;
70 unsigned int st_mode;
Ben Chenga6b53f02013-11-06 15:51:05 -080071 unsigned int st_nlink;
72 unsigned long st_uid;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080074 unsigned long st_gid;
75 unsigned long long st_rdev;
Ben Chenga6b53f02013-11-06 15:51:05 -080076 unsigned char __pad3[4];
77 long long st_size;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080079 unsigned long st_blksize;
80 unsigned long long st_blocks;
Ben Chenga6b53f02013-11-06 15:51:05 -080081 unsigned long st_atime;
82 unsigned long st_atime_nsec;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080084 unsigned long st_mtime;
85 unsigned long st_mtime_nsec;
Ben Chenga6b53f02013-11-06 15:51:05 -080086 unsigned long st_ctime;
87 unsigned long st_ctime_nsec;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Chenga6b53f02013-11-06 15:51:05 -080089 unsigned long long st_ino;
90};
Ben Chenga6b53f02013-11-06 15:51:05 -080091#endif