4 #include <linux/types.h>
6 struct __old_kernel_stat {
10 unsigned int st_nlink;
15 unsigned int st_atime, st_res1;
16 unsigned int st_mtime, st_res2;
17 unsigned int st_ctime, st_res3;
18 unsigned int st_blksize;
20 unsigned int st_unused0[2];
25 long st_pad1[3]; /* Reserved for network id */
36 * Actually this should be timestruc_t st_atime, st_mtime and st_ctime
37 * but we don't have it under Linux.
51 * This matches struct stat64 in glibc2.1, hence the absolutely insane
52 * amounts of padding around dev_t's. The memory layout is the same as of
53 * struct stat of the 64-bit kernel.
58 unsigned long st_pad0[3]; /* Reserved for st_dev expansion */
60 unsigned long long st_ino;
68 unsigned long st_rdev;
69 unsigned long st_pad1[3]; /* Reserved for st_rdev expansion */
74 * Actually this should be timestruc_t st_atime, st_mtime and st_ctime
75 * but we don't have it under Linux.
78 unsigned long reserved0; /* Reserved for st_atime expansion */
81 unsigned long reserved1; /* Reserved for st_mtime expansion */
84 unsigned long reserved2; /* Reserved for st_ctime expansion */
86 unsigned long st_blksize;
87 unsigned long st_pad2;
92 #endif /* _ASM_STAT_H */