Lines Matching defs:expunge_qt
33 struct quota_transaction_context *expunge_qt;
390 if (qbox->expunge_qt != NULL && qbox->expunge_qt->tmp_mail != NULL) {
391 mail_free(&qbox->expunge_qt->tmp_mail);
400 if (qbox->expunge_qt != NULL)
401 (void)quota_transaction_commit(&qbox->expunge_qt);
429 if (qbox->expunge_qt == NULL) {
430 qbox->expunge_qt = quota_transaction_begin(box);
431 qbox->expunge_qt->sync_transaction =
434 if (qbox->expunge_qt->auto_updating) {
438 quota_free_bytes(qbox->expunge_qt, 0);
469 quota_free_bytes(qbox->expunge_qt, *sizep);
479 if (qbox->expunge_qt->tmp_mail == NULL) {
489 qbox->expunge_qt->tmp_mail =
493 if (!mail_set_uid(qbox->expunge_qt->tmp_mail, uid))
496 if (mail_get_physical_size(qbox->expunge_qt->tmp_mail, &size) == 0) {
497 quota_free_bytes(qbox->expunge_qt, size);
500 } else if (mail_get_virtual_size(qbox->expunge_qt->tmp_mail, &size) == 0) {
501 quota_free_bytes(qbox->expunge_qt, size);
506 quota_recalculate(qbox->expunge_qt, QUOTA_RECALCULATE_MISSING_FREES);
564 i_assert(qbox->expunge_qt == NULL ||
565 qbox->expunge_qt->tmp_mail == NULL);