2 * Copyright 2004-2006 Analog Devices Inc.
4 * Licensed under the GPL-2.
7 #ifndef _UAPI_BFIN_STAT_H
8 #define _UAPI_BFIN_STAT_H
11 unsigned short st_dev
;
12 unsigned short __pad1
;
14 unsigned short st_mode
;
15 unsigned short st_nlink
;
16 unsigned short st_uid
;
17 unsigned short st_gid
;
18 unsigned short st_rdev
;
19 unsigned short __pad2
;
20 unsigned long st_size
;
21 unsigned long st_blksize
;
22 unsigned long st_blocks
;
23 unsigned long st_atime
;
24 unsigned long __unused1
;
25 unsigned long st_mtime
;
26 unsigned long __unused2
;
27 unsigned long st_ctime
;
28 unsigned long __unused3
;
29 unsigned long __unused4
;
30 unsigned long __unused5
;
33 /* This matches struct stat64 in glibc2.1, hence the absolutely
34 * insane amounts of padding around dev_t's.
37 unsigned long long st_dev
;
38 unsigned char __pad1
[4];
40 #define STAT64_HAS_BROKEN_ST_INO 1
41 unsigned long __st_ino
;
44 unsigned int st_nlink
;
49 unsigned long long st_rdev
;
50 unsigned char __pad2
[4];
53 unsigned long st_blksize
;
55 long long st_blocks
; /* Number 512-byte blocks allocated. */
57 unsigned long st_atime
;
58 unsigned long st_atime_nsec
;
60 unsigned long st_mtime
;
61 unsigned long st_mtime_nsec
;
63 unsigned long st_ctime
;
64 unsigned long st_ctime_nsec
;
66 unsigned long long st_ino
;
69 #endif /* _UAPI_BFIN_STAT_H */