1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright 2004-2006 Analog Devices Inc.
5 * Licensed under the GPL-2.
8 #ifndef _UAPI_BFIN_STAT_H
9 #define _UAPI_BFIN_STAT_H
12 unsigned short st_dev
;
13 unsigned short __pad1
;
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.
38 unsigned long long st_dev
;
39 unsigned char __pad1
[4];
41 #define STAT64_HAS_BROKEN_ST_INO 1
42 unsigned long __st_ino
;
45 unsigned int st_nlink
;
50 unsigned long long st_rdev
;
51 unsigned char __pad2
[4];
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 */