blob: 3878c88a399e2f70fc7f872c1a5fb3ba2f648375 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_X86_STAT_H
20#define _ASM_X86_STAT_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#define STAT_HAVE_NSEC 1
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022struct stat {
Andrew Hsieh126601d2012-03-23 23:07:36 +080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024 unsigned long st_dev;
25 unsigned long st_ino;
26 unsigned short st_mode;
27 unsigned short st_nlink;
Andrew Hsieh126601d2012-03-23 23:07:36 +080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029 unsigned short st_uid;
30 unsigned short st_gid;
31 unsigned long st_rdev;
32 unsigned long st_size;
Andrew Hsieh126601d2012-03-23 23:07:36 +080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034 unsigned long st_blksize;
35 unsigned long st_blocks;
36 unsigned long st_atime;
37 unsigned long st_atime_nsec;
Andrew Hsieh126601d2012-03-23 23:07:36 +080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039 unsigned long st_mtime;
40 unsigned long st_mtime_nsec;
41 unsigned long st_ctime;
42 unsigned long st_ctime_nsec;
Andrew Hsieh126601d2012-03-23 23:07:36 +080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044 unsigned long __unused4;
45 unsigned long __unused5;
46};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080047#define STAT64_HAS_BROKEN_ST_INO 1
Andrew Hsieh126601d2012-03-23 23:07:36 +080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049struct stat64 {
50 unsigned long long st_dev;
51 unsigned char __pad0[4];
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080052 unsigned long __st_ino;
Andrew Hsieh126601d2012-03-23 23:07:36 +080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054 unsigned int st_mode;
55 unsigned int st_nlink;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080056 unsigned long st_uid;
57 unsigned long st_gid;
Andrew Hsieh126601d2012-03-23 23:07:36 +080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059 unsigned long long st_rdev;
60 unsigned char __pad3[4];
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080061 long long st_size;
62 unsigned long st_blksize;
Andrew Hsieh126601d2012-03-23 23:07:36 +080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080064 unsigned long long st_blocks;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080065 unsigned long st_atime;
66 unsigned long st_atime_nsec;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080067 unsigned long st_mtime;
Andrew Hsieh126601d2012-03-23 23:07:36 +080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080069 unsigned int st_mtime_nsec;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080070 unsigned long st_ctime;
71 unsigned long st_ctime_nsec;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080072 unsigned long long st_ino;
Andrew Hsieh126601d2012-03-23 23:07:36 +080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080074};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080075struct __old_kernel_stat {
76 unsigned short st_dev;
77 unsigned short st_ino;
Ben Cheng654325d2012-03-07 21:13:49 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Andrew Hsieh126601d2012-03-23 23:07:36 +080079 unsigned short st_mode;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080080 unsigned short st_nlink;
81 unsigned short st_uid;
82 unsigned short st_gid;
Ben Cheng654325d2012-03-07 21:13:49 -080083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Andrew Hsieh126601d2012-03-23 23:07:36 +080084 unsigned short st_rdev;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080085 unsigned long st_size;
86 unsigned long st_atime;
87 unsigned long st_mtime;
Ben Cheng654325d2012-03-07 21:13:49 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080089 unsigned long st_ctime;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080090};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080091#endif