blob: 5a78c010e9c804241a1b267e1c3803fea4babda3 [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 {
Tao Baod7db5942015-01-28 10:07:51 -080022 unsigned short st_dev;
Ben Chenga6b53f02013-11-06 15:51:05 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 unsigned short st_ino;
25 unsigned short st_mode;
26 unsigned short st_nlink;
27 unsigned short st_uid;
Ben Chenga6b53f02013-11-06 15:51:05 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 unsigned short st_gid;
30 unsigned short st_rdev;
31 unsigned long st_size;
32 unsigned long st_atime;
Ben Chenga6b53f02013-11-06 15:51:05 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 unsigned long st_mtime;
35 unsigned long st_ctime;
Ben Chenga6b53f02013-11-06 15:51:05 -080036};
37#define STAT_HAVE_NSEC
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39struct stat {
Tao Baod7db5942015-01-28 10:07:51 -080040 unsigned long st_dev;
41 unsigned long st_ino;
42 unsigned short st_mode;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 unsigned short st_nlink;
45 unsigned short st_uid;
46 unsigned short st_gid;
47 unsigned long st_rdev;
Elliott Hughes8ed7a232014-05-15 12:01:11 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 unsigned long st_size;
50 unsigned long st_blksize;
51 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 */
Tao Baod7db5942015-01-28 10:07:51 -080054 unsigned long st_atime_nsec;
55 unsigned long st_mtime;
56 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 */
Tao Baod7db5942015-01-28 10:07:51 -080059 unsigned long st_ctime_nsec;
60 unsigned long __unused4;
61 unsigned long __unused5;
Ben Chenga6b53f02013-11-06 15:51:05 -080062};
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 {
Tao Baod7db5942015-01-28 10:07:51 -080065 unsigned long long st_dev;
66 unsigned char __pad0[4];
Ben Chenga6b53f02013-11-06 15:51:05 -080067#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 */
Tao Baod7db5942015-01-28 10:07:51 -080069 unsigned long __st_ino;
70 unsigned int st_mode;
71 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 */
Tao Baod7db5942015-01-28 10:07:51 -080074 unsigned long st_gid;
75 unsigned long long st_rdev;
76 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 */
Tao Baod7db5942015-01-28 10:07:51 -080079 unsigned long st_blksize;
80 unsigned long long st_blocks;
81 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 */
Tao Baod7db5942015-01-28 10:07:51 -080084 unsigned long st_mtime;
85 unsigned long st_mtime_nsec;
86 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 */
Tao Baod7db5942015-01-28 10:07:51 -080089 unsigned long long st_ino;
Ben Chenga6b53f02013-11-06 15:51:05 -080090};
Ben Chenga6b53f02013-11-06 15:51:05 -080091#endif