1718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/****************************************************************************
2718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ****************************************************************************
3718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***
4718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   This header was automatically generated from a Linux kernel header
5718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   of the same name, to make information necessary for userspace to
6718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   call into the kernel available to libc.  It contains only constants,
7718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   structures, and macros generated from the original header, and thus,
8718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   contains no copyrightable information.
9718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***
10718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   To edit the content of this header, modify the corresponding
11718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   source file (e.g. under external/kernel-headers/original/) then
12718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   run bionic/libc/kernel/tools/update_all.py
13718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***
14718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   Any manual change here will be lost the next time this script will
15718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***   be run. You've been warned!
16718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ***
17718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ****************************************************************************
18718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ****************************************************************************/
19718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#ifndef _ASM_STAT_H
20718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#define _ASM_STAT_H
21718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#include <linux/types.h>
22718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#include <asm/sgidefs.h>
23718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
25718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fustruct stat {
26718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned st_dev;
27718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_pad1[3];
28718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu ino_t st_ino;
30718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu mode_t st_mode;
31718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu nlink_t st_nlink;
32718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu uid_t st_uid;
33718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu gid_t st_gid;
35718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned st_rdev;
36718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_pad2[2];
37718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu off_t st_size;
38718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_pad3;
40718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu time_t st_atime;
41718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_atime_nsec;
42718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu time_t st_mtime;
43718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_mtime_nsec;
45718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu time_t st_ctime;
46718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_ctime_nsec;
47718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_blksize;
48718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_blocks;
50718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long st_pad4[14];
51718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu};
52718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fustruct stat64 {
53718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_dev;
55718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_pad0[3];
56718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long long st_ino;
57718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu mode_t st_mode;
58718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu nlink_t st_nlink;
60718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu uid_t st_uid;
61718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu gid_t st_gid;
62718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_rdev;
63718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_pad1[3];
65718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long long st_size;
66718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu time_t st_atime;
67718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_atime_nsec;
68718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu time_t st_mtime;
70718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_mtime_nsec;
71718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu time_t st_ctime;
72718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_ctime_nsec;
73718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_blksize;
75718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_pad2;
76718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu long long st_blocks;
77718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu};
78718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#endif
80718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#if _MIPS_SIM == _MIPS_SIM_ABI64
81718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fustruct stat {
82718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_dev;
83718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_pad0[3];
85718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_ino;
86718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu mode_t st_mode;
87718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu nlink_t st_nlink;
88718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu uid_t st_uid;
90718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu gid_t st_gid;
91718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_rdev;
92718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_pad1[3];
93718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu off_t st_size;
95718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_atime;
96718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_atime_nsec;
97718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_mtime;
98718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_mtime_nsec;
100718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_ctime;
101718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_ctime_nsec;
102718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_blksize;
103718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned int st_pad2;
105718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu unsigned long st_blocks;
106718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu};
107718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#endif
108718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#define STAT_HAVE_NSEC 1
110718e73cf26cca98f32bc11496c4e3c9ede67cd27Chao-Ying Fu#endif
111