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