statfs.h 970 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * S390 version
  3. *
  4. * Derived from "include/asm-i386/statfs.h"
  5. */
  6. #ifndef _S390_STATFS_H
  7. #define _S390_STATFS_H
  8. /*
  9. * We can't use <asm-generic/statfs.h> because in 64-bit mode
  10. * we mix ints of different sizes in our struct statfs.
  11. */
  12. #ifndef __KERNEL_STRICT_NAMES
  13. #include <linux/types.h>
  14. typedef __kernel_fsid_t fsid_t;
  15. #endif
  16. struct statfs {
  17. unsigned int f_type;
  18. unsigned int f_bsize;
  19. unsigned long f_blocks;
  20. unsigned long f_bfree;
  21. unsigned long f_bavail;
  22. unsigned long f_files;
  23. unsigned long f_ffree;
  24. __kernel_fsid_t f_fsid;
  25. unsigned int f_namelen;
  26. unsigned int f_frsize;
  27. unsigned int f_flags;
  28. unsigned int f_spare[4];
  29. };
  30. struct statfs64 {
  31. unsigned int f_type;
  32. unsigned int f_bsize;
  33. unsigned long f_blocks;
  34. unsigned long f_bfree;
  35. unsigned long f_bavail;
  36. unsigned long f_files;
  37. unsigned long f_ffree;
  38. __kernel_fsid_t f_fsid;
  39. unsigned int f_namelen;
  40. unsigned int f_frsize;
  41. unsigned int f_flags;
  42. unsigned int f_spare[4];
  43. };
  44. #endif