treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / alpha / include / uapi / asm / stat.h
blob3f454fbd307a2b28f78cbbe69d71374932ae27f7
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ALPHA_STAT_H
3 #define _ALPHA_STAT_H
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;
23 /* The stat64 structure increases the size of dev_t, blkcnt_t, adds
24 nanosecond resolution times, and padding for expansion. */
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;
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;
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];
49 #endif