]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/blackfin/include/uapi/asm/stat.h
Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/fallthrough', 'asoc...
[mirror_ubuntu-bionic-kernel.git] / arch / blackfin / include / uapi / asm / stat.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Copyright 2004-2006 Analog Devices Inc.
4 *
5 * Licensed under the GPL-2.
6 */
7
8 #ifndef _UAPI_BFIN_STAT_H
9 #define _UAPI_BFIN_STAT_H
10
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;
32 };
33
34 /* This matches struct stat64 in glibc2.1, hence the absolutely
35 * insane amounts of padding around dev_t's.
36 */
37 struct stat64 {
38 unsigned long long st_dev;
39 unsigned char __pad1[4];
40
41 #define STAT64_HAS_BROKEN_ST_INO 1
42 unsigned long __st_ino;
43
44 unsigned int st_mode;
45 unsigned int st_nlink;
46
47 unsigned long st_uid;
48 unsigned long st_gid;
49
50 unsigned long long st_rdev;
51 unsigned char __pad2[4];
52
53 long long st_size;
54 unsigned long st_blksize;
55
56 long long st_blocks; /* Number 512-byte blocks allocated. */
57
58 unsigned long st_atime;
59 unsigned long st_atime_nsec;
60
61 unsigned long st_mtime;
62 unsigned long st_mtime_nsec;
63
64 unsigned long st_ctime;
65 unsigned long st_ctime_nsec;
66
67 unsigned long long st_ino;
68 };
69
70 #endif /* _UAPI_BFIN_STAT_H */