4 struct __old_kernel_stat
{
7 unsigned short st_mode
;
8 unsigned short st_nlink
;
10 unsigned short st_gid
;
11 unsigned short st_rdev
;
12 unsigned long st_size
;
13 unsigned long st_atime
;
14 unsigned long st_mtime
;
15 unsigned long st_ctime
;
18 /* This matches struct stat in uClibc/glibc. */
20 unsigned char __pad1
[6];
21 unsigned short st_dev
;
26 unsigned short __pad3
;
27 unsigned short st_mode
;
28 unsigned short __pad4
;
29 unsigned short st_nlink
;
31 unsigned short __pad5
;
32 unsigned short st_uid
;
33 unsigned short __pad6
;
34 unsigned short st_gid
;
36 unsigned char __pad7
[6];
37 unsigned short st_rdev
;
40 unsigned long st_size
;
42 unsigned long __pad9
; /* align 64-bit st_blocks to 2-word */
43 unsigned long st_blksize
;
45 unsigned long __pad10
; /* future possible st_blocks high bits */
46 unsigned long st_blocks
; /* Number 512-byte blocks allocated. */
48 unsigned long __unused1
;
49 unsigned long st_atime
;
51 unsigned long __unused2
;
52 unsigned long st_mtime
;
54 unsigned long __unused3
;
55 unsigned long st_ctime
;
57 unsigned long long __unused4
;
60 /* This matches struct stat64 in uClibc/glibc. The layout is exactly
61 the same as that of struct stat above, with 64-bit types taking up
62 space that was formerly used by padding. stat syscalls are still
63 different from stat64, though, in that the former tests for
66 unsigned char __pad1
[6];
67 unsigned short st_dev
;
69 unsigned long long st_ino
;
72 unsigned int st_nlink
;
77 unsigned char __pad2
[6];
78 unsigned short st_rdev
;
82 unsigned long __pad3
; /* align 64-bit st_blocks to 2-word */
83 unsigned long st_blksize
;
85 unsigned long __pad4
; /* future possible st_blocks high bits */
86 unsigned long st_blocks
; /* Number 512-byte blocks allocated. */
88 unsigned long st_atime_nsec
;
89 unsigned long st_atime
;
91 unsigned int st_mtime_nsec
;
92 unsigned long st_mtime
;
94 unsigned long st_ctime_nsec
;
95 unsigned long st_ctime
;
97 unsigned long long __unused4
;
100 #endif /* _ASM_STAT_H */