1cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/****************************************************************************
2cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ****************************************************************************
3cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***
4cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   This header was automatically generated from a Linux kernel header
5cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   of the same name, to make information necessary for userspace to
6cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   call into the kernel available to libc.  It contains only constants,
7cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   structures, and macros generated from the original header, and thus,
8cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   contains no copyrightable information.
9cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***
10cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   To edit the content of this header, modify the corresponding
11cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   source file (e.g. under external/kernel-headers/original/) then
12cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   run bionic/libc/kernel/tools/update_all.py
13cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***
14cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   Any manual change here will be lost the next time this script will
15cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***   be run. You've been warned!
16cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ***
17cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ****************************************************************************
18cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh ****************************************************************************/
19cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#ifndef __ASM_GENERIC_STAT_H
20cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define __ASM_GENERIC_STAT_H
21cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#include <asm/bitsperlong.h>
22cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#define STAT_HAVE_NSEC 1
23cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsiehstruct stat {
25cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long st_dev;
26cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long st_ino;
27cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_mode;
28cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_nlink;
30cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_uid;
31cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_gid;
32cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long st_rdev;
33cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long __pad1;
35cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long st_size;
36cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int st_blksize;
37cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int __pad2;
38cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long st_blocks;
40cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long st_atime;
41cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long st_atime_nsec;
42cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long st_mtime;
43cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long st_mtime_nsec;
45cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long st_ctime;
46cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long st_ctime_nsec;
47cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int __unused4;
48cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int __unused5;
50cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh};
51cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64)
52cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsiehstruct stat64 {
53cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long long st_dev;
55cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long long st_ino;
56cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_mode;
57cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_nlink;
58cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_uid;
60cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_gid;
61cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long long st_rdev;
62cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned long long __pad1;
63cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long long st_size;
65cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int st_blksize;
66cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int __pad2;
67cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh long long st_blocks;
68cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int st_atime;
70cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_atime_nsec;
71cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int st_mtime;
72cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_mtime_nsec;
73cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh int st_ctime;
75cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int st_ctime_nsec;
76cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int __unused4;
77cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh unsigned int __unused5;
78cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh};
80cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#endif
81cf138744ee2efefa4cd02ace5bedcdc56d750ad5Andrew Hsieh#endif
82