1 /* Definition of `struct stat' used in the kernel.. */ 2 struct kernel_stat 3 { 4 unsigned short int st_dev; 5 unsigned short int __pad1; 6 #define _HAVE___PAD1 7 unsigned long int st_ino; 8 unsigned short int st_mode; 9 unsigned short int st_nlink; 10 unsigned short int st_uid; 11 unsigned short int st_gid; 12 unsigned short int st_rdev; 13 unsigned short int __pad2; 14 #define _HAVE___PAD2 15 unsigned long int st_size; 16 unsigned long int st_blksize; 17 unsigned long int st_blocks; 18 struct timespec st_atim; 19 struct timespec st_mtim; 20 struct timespec st_ctim; 21 unsigned long int __glibc_reserved4; 22 #define _HAVE___UNUSED4 23 unsigned long int __glibc_reserved5; 24 #define _HAVE___UNUSED5 25 }; 26 27 #define _HAVE_STAT___UNUSED4 28 #define _HAVE_STAT___UNUSED5 29 #define _HAVE_STAT___PAD1 30 #define _HAVE_STAT___PAD2 31 #define _HAVE_STAT_NSEC 32 #define _HAVE_STAT64___PAD1 33 #define _HAVE_STAT64___PAD2 34 #define _HAVE_STAT64___ST_INO 35 #define _HAVE_STAT64_NSEC 36 37 #define STAT_IS_KERNEL_STAT 0 38 #define STAT64_IS_KERNEL_STAT64 1 39 #define XSTAT_IS_XSTAT64 0 40 #define STATFS_IS_STATFS64 0 41