kernel_stat.h 740 B

123456789101112131415161718192021222324252627282930313233
  1. /* Ripped from linux/include/asm-ia64/stat.h
  2. * and renamed 'struct stat' to 'struct kernel_stat' */
  3. #ifndef _BITS_STAT_STRUCT_H
  4. #define _BITS_STAT_STRUCT_H
  5. /*
  6. * Modified 1998, 1999
  7. * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  8. */
  9. struct kernel_stat {
  10. unsigned long st_dev;
  11. unsigned long st_ino;
  12. unsigned long st_nlink;
  13. unsigned int st_mode;
  14. unsigned int st_uid;
  15. unsigned int st_gid;
  16. unsigned int __pad0;
  17. unsigned long st_rdev;
  18. unsigned long st_size;
  19. struct timespec st_atim;
  20. struct timespec st_mtim;
  21. struct timespec st_ctim;
  22. unsigned long st_blksize;
  23. long st_blocks;
  24. unsigned long __unused[3];
  25. };
  26. /* ia64 stat64 is same as stat */
  27. #define kernel_stat64 kernel_stat
  28. #endif /* _BITS_STAT_STRUCT_H */