1 #ifndef _KLIBC_ARCHSTAT_H
2 #define _KLIBC_ARCHSTAT_H
6 #define _STATBUF_ST_NSEC
8 /* This matches struct stat64 in glibc2.1, hence the absolutely
9 * insane amounts of padding around dev_t's.
10 * Note: The kernel zero's the padded region because glibc might read them
11 * in the hope that the kernel has stretched to using larger sizes.
14 unsigned long long st_dev;
15 unsigned char __pad0[4];
17 unsigned long __st_ino;
19 unsigned int st_nlink;
24 unsigned long long st_rdev;
25 unsigned char __pad3[4];
28 unsigned long st_blksize;
30 #if __BYTE_ORDER == __BIG_ENDIAN
31 unsigned long __pad4; /* Future possible st_blocks hi bits */
32 unsigned long st_blocks; /* Number 512-byte blocks allocated. */
33 #else /* Must be little */
34 unsigned long st_blocks; /* Number 512-byte blocks allocated. */
35 unsigned long __pad4; /* Future possible st_blocks hi bits */
38 struct timespec st_atim;
39 struct timespec st_mtim;
40 struct timespec st_ctim;
42 unsigned long long st_ino;