kernel_stat.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Stat structure for linux/microblaze*/
  2. #ifndef _BITS_STAT_STRUCT_H
  3. #define _BITS_STAT_STRUCT_H
  4. struct kernel_stat
  5. {
  6. __kernel_dev_t st_dev;
  7. __kernel_ino_t st_ino;
  8. __kernel_mode_t st_mode;
  9. __kernel_nlink_t st_nlink;
  10. __kernel_uid_t st_uid;
  11. __kernel_gid_t st_gid;
  12. __kernel_dev_t st_rdev;
  13. __kernel_off_t st_size;
  14. unsigned long st_blksize;
  15. unsigned long st_blocks;
  16. unsigned long st_atime;
  17. unsigned long __unused1;
  18. unsigned long st_mtime;
  19. unsigned long __unused2;
  20. unsigned long st_ctime;
  21. unsigned long __unused3;
  22. unsigned long __unused4;
  23. unsigned long __unused5;
  24. };
  25. struct kernel_stat64
  26. {
  27. __kernel_dev_t st_dev;
  28. unsigned long __unused0;
  29. unsigned long __unused1;
  30. __kernel_ino64_t st_ino;
  31. __kernel_mode_t st_mode;
  32. __kernel_nlink_t st_nlink;
  33. __kernel_uid_t st_uid;
  34. __kernel_gid_t st_gid;
  35. __kernel_dev_t st_rdev;
  36. unsigned long __unused2;
  37. unsigned long __unused3;
  38. __kernel_loff_t st_size;
  39. unsigned long st_blksize;
  40. unsigned long __unused4; /* future possible st_blocks high bits */
  41. unsigned long st_blocks; /* Number 512-byte blocks allocated. */
  42. unsigned long st_atime;
  43. unsigned long __unused5;
  44. unsigned long st_mtime;
  45. unsigned long __unused6;
  46. unsigned long st_ctime;
  47. unsigned long __unused7; /* high 32 bits of ctime someday */
  48. };
  49. #endif /* _BITS_STAT_STRUCT_H */