Lines Matching refs:root
55 int (*init)(struct quota_root *root, const char *args,
57 void (*deinit)(struct quota_root *root);
62 int (*init_limits)(struct quota_root *root, const char **error_r);
68 const char *const *(*get_resources)(struct quota_root *root);
72 enum quota_get_result (*get_resource)(struct quota_root *root,
77 int (*update)(struct quota_root *root,
80 bool (*match_box)(struct quota_root *root, struct mailbox *box);
81 void (*flush)(struct quota_root *root);
91 /* Unique quota root name. */
124 /* this quota root applies only to this namespace. it may also be
129 ns=NULL, so when checking if quota root applies only to a specific
152 /* Quota root is hidden (to e.g. IMAP GETQUOTAROOT) */
194 int quota_root_default_init(struct quota_root *root, const char *args,
198 bool quota_root_is_namespace_visible(struct quota_root *root,
208 int quota_count(struct quota_root *root, uint64_t *bytes_r, uint64_t *count_r,