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_flags
;
26 long st_pad1
[3]; /* Reserved for network id */
37 * Actually this should be timestruc_t st_atime, st_mtime and st_ctime
38 * but we don't have it under Linux.
48 char st_fstype
[16]; /* Filesystem type name */
50 /* Linux specific fields */
51 unsigned int st_flags
;
56 * This matches struct stat64 in glibc2.1, hence the absolutely insane
57 * amounts of padding around dev_t's. The memory layout is the same as of
58 * struct stat of the 64-bit kernel.
63 unsigned long st_pad0
[3]; /* Reserved for st_dev expansion */
69 unsigned long st_rdev
;
70 unsigned long st_pad1
[3]; /* Reserved for st_rdev expansion */
73 * Actually this should be timestruc_t st_atime, st_mtime and st_ctime
74 * but we don't have it under Linux.
77 unsigned long reserved0
; /* Reserved for st_atime expansion */
79 unsigned long reserved1
; /* Reserved for st_atime expansion */
81 unsigned long reserved2
; /* Reserved for st_atime expansion */
82 unsigned long st_blksize
;
86 #endif /* _ASM_STAT_H */