xref: /openbmc/linux/arch/alpha/include/uapi/asm/stat.h (revision 7f877908)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ALPHA_STAT_H
3 #define _ALPHA_STAT_H
4 
5 struct stat {
6 	unsigned int	st_dev;
7 	unsigned int	st_ino;
8 	unsigned int	st_mode;
9 	unsigned int	st_nlink;
10 	unsigned int	st_uid;
11 	unsigned int	st_gid;
12 	unsigned int	st_rdev;
13 	long		st_size;
14 	unsigned long	st_atime;
15 	unsigned long	st_mtime;
16 	unsigned long	st_ctime;
17 	unsigned int	st_blksize;
18 	unsigned int	st_blocks;
19 	unsigned int	st_flags;
20 	unsigned int	st_gen;
21 };
22 
23 /* The stat64 structure increases the size of dev_t, blkcnt_t, adds
24    nanosecond resolution times, and padding for expansion.  */
25 
26 struct stat64 {
27 	unsigned long	st_dev;
28 	unsigned long	st_ino;
29 	unsigned long	st_rdev;
30 	long		st_size;
31 	unsigned long	st_blocks;
32 
33 	unsigned int	st_mode;
34 	unsigned int	st_uid;
35 	unsigned int	st_gid;
36 	unsigned int	st_blksize;
37 	unsigned int	st_nlink;
38 	unsigned int	__pad0;
39 
40 	unsigned long	st_atime;
41 	unsigned long 	st_atime_nsec;
42 	unsigned long	st_mtime;
43 	unsigned long	st_mtime_nsec;
44 	unsigned long	st_ctime;
45 	unsigned long   st_ctime_nsec;
46   	long		__unused[3];
47 };
48 
49 #endif
50