Lines Matching refs:space_diff
707 sync_ctx->space_diff = 0;
727 sync_ctx->space_diff = sync_ctx->expunged_space;
729 i_assert(sync_ctx->space_diff < -mail_ctx->mail.space);
760 sync_ctx->space_diff += mail_ctx->mail.space;
761 if (sync_ctx->space_diff < 0) {
773 space_diff now consists of a negative "bytes needed" sum,
776 i_assert(mail_ctx->mail.space >= sync_ctx->space_diff);
779 needed_space = mail_ctx->mail.space - sync_ctx->space_diff;
780 if ((uoff_t)sync_ctx->space_diff > needed_space + extra_space) {
787 extra_space = sync_ctx->space_diff;
802 extra_space = sync_ctx->space_diff;
819 sync_ctx->space_diff = 0;
1345 i_assert(sync_ctx->space_diff < 0);
1348 sync_ctx->space_diff -= padding;
1350 i_assert(sync_ctx->expunged_space <= -sync_ctx->space_diff);
1351 sync_ctx->space_diff += sync_ctx->expunged_space;
1357 i_assert(sync_ctx->space_diff < 0);
1360 -sync_ctx->space_diff) < 0)
1365 -sync_ctx->space_diff, padding,
1590 sync_ctx->space_diff = 0;