Lines Matching refs:expunged_space
481 bool nocheck = rec == NULL || sync_ctx->expunged_space > 0;
635 sync_ctx->expunged_space += mail_ctx->mail.space;
645 if (sync_ctx->expunged_space > 0 && sync_ctx->need_space_seq == 0) {
647 move_diff = -sync_ctx->expunged_space;
653 expunged_space) */
709 if (sync_ctx->expunged_space > 0) {
716 covered by expunged_space. */
724 sync_ctx->expunged_space;
725 mail.space = sync_ctx->expunged_space;
727 sync_ctx->space_diff = sync_ctx->expunged_space;
728 sync_ctx->expunged_space = 0;
762 if (sync_ctx->expunged_space > 0) {
763 i_assert(sync_ctx->expunged_space ==
765 sync_ctx->expunged_space = 0;
783 sync_ctx->expunged_space =
788 sync_ctx->expunged_space = 0;
797 sync_ctx->expunged_space = 0;
1179 } else if (sync_ctx->expunged_space > 0) {
1185 sync_ctx->expunged_space,
1318 i_assert(sync_ctx->expunged_space == 0);
1350 i_assert(sync_ctx->expunged_space <= -sync_ctx->space_diff);
1351 sync_ctx->space_diff += sync_ctx->expunged_space;
1352 sync_ctx->expunged_space = 0;
1377 if (sync_ctx->expunged_space > 0) {
1384 if (file_size == (uoff_t)sync_ctx->expunged_space) {
1388 } else if (sync_ctx->expunged_space == (off_t)file_size + 1 ||
1389 sync_ctx->expunged_space == (off_t)file_size + 2) {
1393 sync_ctx->expunged_space = file_size;
1396 i_assert(file_size >= sync_ctx->expunged_space + trailer_size);
1397 offset = file_size - sync_ctx->expunged_space - trailer_size;
1401 offset + sync_ctx->expunged_space,
1415 sync_ctx->expunged_space = 0;
1589 sync_ctx->expunged_space = 0;