summaryrefslogtreecommitdiff
path: root/quotaio.h
diff options
context:
space:
mode:
Diffstat (limited to 'quotaio.h')
-rw-r--r--quotaio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/quotaio.h b/quotaio.h
index 16c6f4a..e6bee75 100644
--- a/quotaio.h
+++ b/quotaio.h
@@ -88,6 +88,19 @@ struct quota_handle {
struct util_dqinfo qh_info; /* Generic quotafile info */
};
+/* Statistics gathered from kernel */
+struct util_dqstats {
+ u_int32_t lookups;
+ u_int32_t drops;
+ u_int32_t reads;
+ u_int32_t writes;
+ u_int32_t cache_hits;
+ u_int32_t allocated_dquots;
+ u_int32_t free_dquots;
+ u_int32_t syncs;
+ u_int32_t version;
+};
+
/* Utility quota block */
struct util_dqblk {
qsize_t dqb_ihardlimit;