1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
4 /* This file provides whatever this particular arch's kernel thinks
5 * struct kernel_stat should look like... It turns out each arch has a
6 * different opinion on the subject... */
9 unsigned char __pad1
[6];
10 unsigned short st_dev
;
15 unsigned short __pad3
;
16 unsigned short st_mode
;
17 unsigned short __pad4
;
18 unsigned short st_nlink
;
20 unsigned short __pad5
;
21 unsigned short st_uid
;
22 unsigned short __pad6
;
23 unsigned short st_gid
;
25 unsigned char __pad7
[6];
26 unsigned short st_rdev
;
29 unsigned long st_size
;
31 unsigned long __pad9
; /* align 64-bit st_blocks to 2-word */
32 unsigned long st_blksize
;
34 unsigned long __pad10
; /* future possible st_blocks high bits */
35 unsigned long st_blocks
; /* Number 512-byte blocks allocated. */
37 struct timespec st_atim
;
38 struct timespec st_mtim
;
39 struct timespec st_ctim
;
41 unsigned long long __uclibc_unused4
;
44 struct kernel_stat64
{
45 unsigned char __pad1
[6];
46 unsigned short st_dev
;
48 unsigned long long st_ino
;
51 unsigned int st_nlink
;
56 unsigned char __pad2
[6];
57 unsigned short st_rdev
;
61 unsigned long __pad3
; /* align 64-bit st_blocks to 2-word */
62 unsigned long st_blksize
;
64 unsigned long __pad4
; /* future possible st_blocks high bits */
65 unsigned long st_blocks
; /* Number 512-byte blocks allocated. */
67 struct timespec st_atim
;
68 struct timespec st_mtim
;
69 struct timespec st_ctim
;
71 unsigned long long __uclibc_unused4
;
74 #endif /* _BITS_STAT_STRUCT_H */