Lines Matching refs:quota
15 struct quota;
34 /* We may want to recalculate quota because we weren't able to call
36 recalculated unless the backend does the quota tracking
39 /* doveadm quota recalc called - make sure the quota is correct */
48 /* Mail size is larger than even the maximum allowed quota. */
50 /* Blocked by ongoing background quota calculation. */
56 /* Ongoing background quota calculation */
77 /* Add a new rule too the quota root. Returns 0 if ok, -1 if rule is invalid. */
80 /* Add a new warning rule for the quota root. Returns 0 if ok, -1 if rule is
85 /* Initialize quota for the given user. Returns 0 and quota_r on success,
88 struct quota **quota_r, const char **error_r);
89 void quota_deinit(struct quota **quota);
91 /* List all visible quota roots. They don't need to be freed. */
96 /* Return quota root or NULL. */
99 /* Returns name of the quota root. */
101 /* Return a list of all resources set for the quota root. */
103 /* Returns TRUE if quota root is marked as hidden (so it shouldn't be visible
117 /* Start a new quota transaction. */
119 /* Commit quota transaction. Returns 0 if ok, -1 if failed. */
121 /* Rollback quota transaction changes. */
124 /* Allocate from quota if there's space. error_r is set when result is not
131 /* Update quota by allocating/freeing space used by mail. */
135 /* Mark the quota to be recalculated */
140 void quota_over_flag_check_startup(struct quota *quota);
142 /* Common quota parameters parsing loop */