1 /* Taken from linux/include/asm-cris/stat.h */
7 #error bits/kernel_stat.h is for internal uClibc use only!
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 struct timespec st_atim;
24 struct timespec st_mtim;
25 struct timespec st_ctim;
26 unsigned long __unused4;
27 unsigned long __unused5;
30 /* This matches struct kernel_stat64 in glibc2.1, hence the absolutely
31 * insane amounts of padding around dev_t's.
33 struct kernel_stat64 {
34 unsigned short st_dev;
35 unsigned char __pad0[10];
37 #define _HAVE_STAT64___ST_INO
38 unsigned long __st_ino;
41 unsigned int st_nlink;
46 unsigned short st_rdev;
47 unsigned char __pad3[10];
50 unsigned long st_blksize;
52 unsigned long st_blocks; /* Number 512-byte blocks allocated. */
53 unsigned long __pad4; /* future possible st_blocks high bits */
55 struct timespec st_atim;
56 struct timespec st_mtim;
57 struct timespec st_ctim;
59 unsigned long long st_ino;