0001
0002
0003
0004
0005 #ifndef __ASM_STAT_H
0006 #define __ASM_STAT_H
0007
0008 #include <uapi/asm/stat.h>
0009
0010 #ifdef CONFIG_COMPAT
0011
0012 #include <linux/time.h>
0013 #include <asm/compat.h>
0014
0015
0016
0017
0018
0019 struct stat64 {
0020 compat_u64 st_dev;
0021 unsigned char __pad0[4];
0022
0023 #define STAT64_HAS_BROKEN_ST_INO 1
0024 compat_ulong_t __st_ino;
0025 compat_uint_t st_mode;
0026 compat_uint_t st_nlink;
0027
0028 compat_ulong_t st_uid;
0029 compat_ulong_t st_gid;
0030
0031 compat_u64 st_rdev;
0032 unsigned char __pad3[4];
0033
0034 compat_s64 st_size;
0035 compat_ulong_t st_blksize;
0036 compat_u64 st_blocks;
0037
0038 compat_ulong_t st_atime;
0039 compat_ulong_t st_atime_nsec;
0040
0041 compat_ulong_t st_mtime;
0042 compat_ulong_t st_mtime_nsec;
0043
0044 compat_ulong_t st_ctime;
0045 compat_ulong_t st_ctime_nsec;
0046
0047 compat_u64 st_ino;
0048 };
0049
0050 #endif
0051 #endif