dqblk_v2.h 531 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Definitions of structures for vfsv0 quota format
  3. */
  4. #ifndef _LINUX_DQBLK_V2_H
  5. #define _LINUX_DQBLK_V2_H
  6. #include <linux/types.h>
  7. /* id numbers of quota format */
  8. #define QFMT_VFS_V0 2
  9. /* Numbers of blocks needed for updates */
  10. #define V2_INIT_ALLOC 4
  11. #define V2_INIT_REWRITE 2
  12. #define V2_DEL_ALLOC 0
  13. #define V2_DEL_REWRITE 6
  14. /* Inmemory copy of version specific information */
  15. struct v2_mem_dqinfo {
  16. unsigned int dqi_blocks;
  17. unsigned int dqi_free_blk;
  18. unsigned int dqi_free_entry;
  19. };
  20. #endif /* _LINUX_DQBLK_V2_H */