blob: cf05e5ca9368151862c292ee373746322f474114 [file] [log] [blame]
Elliott Hughesabd62612013-11-08 11:45:48 -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 _ASM_STAT_H
20#define _ASM_STAT_H
21#include <linux/types.h>
22#include <asm/sgidefs.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
25struct stat {
Tao Baod7db5942015-01-28 10:07:51 -080026 unsigned st_dev;
27 long st_pad1[3];
Elliott Hughesabd62612013-11-08 11:45:48 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 ino_t st_ino;
30 mode_t st_mode;
31 __u32 st_nlink;
32 uid_t st_uid;
Elliott Hughesabd62612013-11-08 11:45:48 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 gid_t st_gid;
35 unsigned st_rdev;
36 long st_pad2[2];
37 __kernel_off_t st_size;
Elliott Hughesabd62612013-11-08 11:45:48 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 long st_pad3;
40 time_t st_atime;
41 long st_atime_nsec;
42 time_t st_mtime;
Elliott Hughesabd62612013-11-08 11:45:48 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 long st_mtime_nsec;
45 time_t st_ctime;
46 long st_ctime_nsec;
47 long st_blksize;
Elliott Hughesabd62612013-11-08 11:45:48 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 long st_blocks;
50 long st_pad4[14];
Elliott Hughesabd62612013-11-08 11:45:48 -080051};
52struct stat64 {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 unsigned long st_dev;
55 unsigned long st_pad0[3];
56 unsigned long long st_ino;
57 mode_t st_mode;
Elliott Hughesabd62612013-11-08 11:45:48 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __u32 st_nlink;
60 uid_t st_uid;
61 gid_t st_gid;
62 unsigned long st_rdev;
Elliott Hughesabd62612013-11-08 11:45:48 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 unsigned long st_pad1[3];
65 long long st_size;
66 time_t st_atime;
67 unsigned long st_atime_nsec;
Elliott Hughesabd62612013-11-08 11:45:48 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 time_t st_mtime;
70 unsigned long st_mtime_nsec;
71 time_t st_ctime;
72 unsigned long st_ctime_nsec;
Elliott Hughesabd62612013-11-08 11:45:48 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 unsigned long st_blksize;
75 unsigned long st_pad2;
76 long long st_blocks;
Elliott Hughesabd62612013-11-08 11:45:48 -080077};
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#endif
80#if _MIPS_SIM == _MIPS_SIM_ABI64
81struct stat {
Tao Baod7db5942015-01-28 10:07:51 -080082 unsigned int st_dev;
Elliott Hughesabd62612013-11-08 11:45:48 -080083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 unsigned int st_pad0[3];
85 unsigned long st_ino;
86 mode_t st_mode;
87 __u32 st_nlink;
Elliott Hughesabd62612013-11-08 11:45:48 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080089 uid_t st_uid;
90 gid_t st_gid;
91 unsigned int st_rdev;
92 unsigned int st_pad1[3];
Elliott Hughesabd62612013-11-08 11:45:48 -080093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080094 __kernel_off_t st_size;
95 unsigned int st_atime;
96 unsigned int st_atime_nsec;
97 unsigned int st_mtime;
Elliott Hughesabd62612013-11-08 11:45:48 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080099 unsigned int st_mtime_nsec;
100 unsigned int st_ctime;
101 unsigned int st_ctime_nsec;
102 unsigned int st_blksize;
Elliott Hughesabd62612013-11-08 11:45:48 -0800103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800104 unsigned int st_pad2;
105 unsigned long st_blocks;
Elliott Hughesabd62612013-11-08 11:45:48 -0800106};
107#endif
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109#define STAT_HAVE_NSEC 1
110#endif