1/*
2 * This header was generated from the Linux kernel headers by update_headers.py,
3 * to provide necessary information from kernel to userspace, such as constants,
4 * structures, and macros, and thus, contains no copyrightable information.
5 */
6#ifndef __ASM_GENERIC_STAT_H
7#define __ASM_GENERIC_STAT_H
8#include <asm/bitsperlong.h>
9#define STAT_HAVE_NSEC 1
10struct stat {
11	unsigned long	st_dev;
12	unsigned long	st_ino;
13	unsigned int	st_mode;
14	unsigned int	st_nlink;
15	unsigned int	st_uid;
16	unsigned int	st_gid;
17	unsigned long	st_rdev;
18	unsigned long	__pad1;
19	long		st_size;
20	int		st_blksize;
21	int		__pad2;
22	long		st_blocks;
23	long		st_atime;
24	unsigned long	st_atime_nsec;
25	long		st_mtime;
26	unsigned long	st_mtime_nsec;
27	long		st_ctime;
28	unsigned long	st_ctime_nsec;
29	unsigned int	__unused4;
30	unsigned int	__unused5;
31};
32#if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64)
33struct stat64 {
34	unsigned long long st_dev;
35	unsigned long long st_ino;
36	unsigned int	st_mode;
37	unsigned int	st_nlink;
38	unsigned int	st_uid;
39	unsigned int	st_gid;
40	unsigned long long st_rdev;
41	unsigned long long __pad1;
42	long long	st_size;
43	int		st_blksize;
44	int		__pad2;
45	long long	st_blocks;
46	int		st_atime;
47	unsigned int	st_atime_nsec;
48	int		st_mtime;
49	unsigned int	st_mtime_nsec;
50	int		st_ctime;
51	unsigned int	st_ctime_nsec;
52	unsigned int	__unused4;
53	unsigned int	__unused5;
54};
55#endif
56#endif
57