16986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/****************************************************************************
26986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ****************************************************************************
36986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***
46986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   This header was automatically generated from a Linux kernel header
56986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   of the same name, to make information necessary for userspace to
66986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   call into the kernel available to libc.  It contains only constants,
76986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   structures, and macros generated from the original header, and thus,
86986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   contains no copyrightable information.
96986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***
106986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   To edit the content of this header, modify the corresponding
116986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   source file (e.g. under external/kernel-headers/original/) then
126986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   run bionic/libc/kernel/tools/update_all.py
136986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***
146986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   Any manual change here will be lost the next time this script will
156986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***   be run. You've been warned!
166986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ***
176986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ****************************************************************************
186986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh ****************************************************************************/
196986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh#ifndef _ASM_X86_STAT_H
206986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh#define _ASM_X86_STAT_H
216986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh#define STAT_HAVE_NSEC 1
226986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsiehstruct stat {
236986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
246986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_dev;
256986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_ino;
266986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_mode;
276986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_nlink;
286986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
296986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_uid;
306986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_gid;
316986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_rdev;
326986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_size;
336986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
346986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_blksize;
356986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_blocks;
366986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_atime;
376986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_atime_nsec;
386986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
396986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_mtime;
406986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_mtime_nsec;
416986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_ctime;
426986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_ctime_nsec;
436986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
446986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long __unused4;
456986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long __unused5;
466986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh};
476986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh#define STAT64_HAS_BROKEN_ST_INO 1
486986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
496986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsiehstruct stat64 {
506986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long long st_dev;
516986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned char __pad0[4];
526986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long __st_ino;
536986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
546986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned int st_mode;
556986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned int st_nlink;
566986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_uid;
576986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_gid;
586986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
596986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long long st_rdev;
606986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned char __pad3[4];
616986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh long long st_size;
626986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_blksize;
636986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
646986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long long st_blocks;
656986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_atime;
666986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_atime_nsec;
676986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_mtime;
686986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
696986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned int st_mtime_nsec;
706986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_ctime;
716986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_ctime_nsec;
726986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long long st_ino;
736986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
746986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh};
756986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsiehstruct __old_kernel_stat {
766986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_dev;
776986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_ino;
786986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
796986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_mode;
806986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_nlink;
816986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_uid;
826986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_gid;
836986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
846986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned short st_rdev;
856986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_size;
866986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_atime;
876986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_mtime;
886986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
896986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh unsigned long st_ctime;
906986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh};
916986c6e7f06bb3bdedfc3bb08694da9b1227048cAndrew Hsieh#endif
92