x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / arch / blackfin / include / uapi / asm / stat.h
blob458959d1a5ec56ce6aacbdd29aa340175804e75d
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Copyright 2004-2006 Analog Devices Inc.
5 * Licensed under the GPL-2.
6 */
8 #ifndef _UAPI_BFIN_STAT_H
9 #define _UAPI_BFIN_STAT_H
11 struct stat {
12 unsigned short st_dev;
13 unsigned short __pad1;
14 unsigned long st_ino;
15 unsigned short st_mode;
16 unsigned short st_nlink;
17 unsigned short st_uid;
18 unsigned short st_gid;
19 unsigned short st_rdev;
20 unsigned short __pad2;
21 unsigned long st_size;
22 unsigned long st_blksize;
23 unsigned long st_blocks;
24 unsigned long st_atime;
25 unsigned long __unused1;
26 unsigned long st_mtime;
27 unsigned long __unused2;
28 unsigned long st_ctime;
29 unsigned long __unused3;
30 unsigned long __unused4;
31 unsigned long __unused5;
34 /* This matches struct stat64 in glibc2.1, hence the absolutely
35 * insane amounts of padding around dev_t's.
37 struct stat64 {
38 unsigned long long st_dev;
39 unsigned char __pad1[4];
41 #define STAT64_HAS_BROKEN_ST_INO 1
42 unsigned long __st_ino;
44 unsigned int st_mode;
45 unsigned int st_nlink;
47 unsigned long st_uid;
48 unsigned long st_gid;
50 unsigned long long st_rdev;
51 unsigned char __pad2[4];
53 long long st_size;
54 unsigned long st_blksize;
56 long long st_blocks; /* Number 512-byte blocks allocated. */
58 unsigned long st_atime;
59 unsigned long st_atime_nsec;
61 unsigned long st_mtime;
62 unsigned long st_mtime_nsec;
64 unsigned long st_ctime;
65 unsigned long st_ctime_nsec;
67 unsigned long long st_ino;
70 #endif /* _UAPI_BFIN_STAT_H */