Lines Matching refs:first_nonexpunged_idx
503 uint32_t idx, first_nonexpunged_idx, padding_per_mail;
526 for (first_nonexpunged_idx = 0;; first_nonexpunged_idx++) {
527 i_assert(first_nonexpunged_idx != idx);
528 if (!mails[first_nonexpunged_idx].expunged)
530 expunged_space += mails[first_nonexpunged_idx].space;
532 i_assert(mails[first_nonexpunged_idx].space < 0);
537 while (idx > first_nonexpunged_idx) {
539 if (idx == first_nonexpunged_idx) {
553 bool first_nonexpunged = idx == first_nonexpunged_idx;
600 i_assert(move_diff >= 0 || idx == first_nonexpunged_idx);