Searched refs:count_used (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/plugins/quota/
H A Dtest-quota-util.c60 ctx.count_used = tests[i].transaction_diff;
65 i_assert(ctx.count_used < 0 ||
66 (uint64_t)ctx.count_used <= ctx.count_ceil); /* test is broken otherwise */
H A Dquota-dict.c229 if (ctx->count_used != 0) {
231 ctx->count_used);
H A Dquota-util.c424 if (ctx->count_used < 0) {
428 const uint64_t count_deleted = (uint64_t)-ctx->count_used;
436 ctx->count_ceil - 1 < (uint64_t)ctx->count_used) {
H A Dquota-private.h164 int64_t bytes_used, count_used; member in struct:quota_transaction_context
166 (set once, not updated by bytes_used/count_used).
174 only once and not updated by bytes_used/count_used. (Either *_ceil
H A Dquota.c1095 if (ctx->count_used > 0 && count_current < (uint64_t)ctx->count_used)
1098 count_before = count_current - ctx->count_used;
1124 else if (ctx->bytes_used != 0 || ctx->count_used != 0 ||
1434 ctx->count_used++;
1441 ctx->count_used--;
H A Dquota-maildir.c917 } else if (maildirsize_update(root, ctx->count_used, ctx->bytes_used) < 0) {

Completed in 20 milliseconds