1 #include <stdint.h> 2 #include "kernel_types.h" 3 4 typedef struct fs_qfilestat { 5 uint64_t qfs_ino; /* inode number */ 6 uint64_t qfs_nblks; /* number of BBs 512-byte-blks */ 7 uint32_t qfs_nextents; /* number of extents */ 8 } fs_qfilestat_t; 9 10 struct xfs_dqstats { 11 int8_t qs_version; /* version number for future changes */ 12 uint16_t qs_flags; /* XFS_QUOTA_{U,P,G}DQ_{ACCT,ENFD} */ 13 int8_t qs_pad; /* unused */ 14 fs_qfilestat_t qs_uquota; /* user quota storage information */ 15 fs_qfilestat_t qs_gquota; /* group quota storage information */ 16 uint32_t qs_incoredqs; /* number of dquots incore */ 17 int32_t qs_btimelimit; /* limit for blks timer */ 18 int32_t qs_itimelimit; /* limit for inodes timer */ 19 int32_t qs_rtbtimelimit; /* limit for rt blks timer */ 20 uint16_t qs_bwarnlimit; /* limit for num warnings */ 21 uint16_t qs_iwarnlimit; /* limit for num warnings */ 22 }; 23