xref: /openbmc/linux/arch/ia64/include/uapi/asm/stat.h (revision 4f3db074)
1 #ifndef _ASM_IA64_STAT_H
2 #define _ASM_IA64_STAT_H
3 
4 /*
5  * Modified 1998, 1999
6  *	David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
7  */
8 
9 struct stat {
10 	unsigned long	st_dev;
11 	unsigned long	st_ino;
12 	unsigned long	st_nlink;
13 	unsigned int	st_mode;
14 	unsigned int	st_uid;
15 	unsigned int	st_gid;
16 	unsigned int	__pad0;
17 	unsigned long	st_rdev;
18 	unsigned long	st_size;
19 	unsigned long	st_atime;
20 	unsigned long	st_atime_nsec;
21 	unsigned long	st_mtime;
22 	unsigned long	st_mtime_nsec;
23 	unsigned long	st_ctime;
24 	unsigned long	st_ctime_nsec;
25 	unsigned long	st_blksize;
26 	long		st_blocks;
27 	unsigned long	__unused[3];
28 };
29 
30 #define STAT_HAVE_NSEC 1
31 
32 struct ia64_oldstat {
33 	unsigned int	st_dev;
34 	unsigned int	st_ino;
35 	unsigned int	st_mode;
36 	unsigned int	st_nlink;
37 	unsigned int	st_uid;
38 	unsigned int	st_gid;
39 	unsigned int	st_rdev;
40 	unsigned int	__pad1;
41 	unsigned long	st_size;
42 	unsigned long	st_atime;
43 	unsigned long	st_mtime;
44 	unsigned long	st_ctime;
45 	unsigned int	st_blksize;
46 	int		st_blocks;
47 	unsigned int	__unused1;
48 	unsigned int	__unused2;
49 };
50 
51 #endif /* _ASM_IA64_STAT_H */
52