Lines Matching refs:log
19 #include "mail-transaction-log-private.h"
20 #include "mail-transaction-log-view-private.h"
41 .log = {
89 index->log = mail_transaction_log_alloc(index);
102 mail_transaction_log_free(&index->log);
199 /* log */
200 if (set->log.min_size != 0)
201 dest->log.min_size = set->log.min_size;
202 if (set->log.max_size != 0)
203 dest->log.max_size = set->log.max_size;
204 if (set->log.min_age_secs != 0)
205 dest->log.min_age_secs = set->log.min_age_secs;
206 if (set->log.log2_max_age_secs != 0)
207 dest->log.log2_max_age_secs = set->log.log2_max_age_secs;
618 ret = mail_transaction_log_open(index->log);
624 the correct indexid and log sequence */
636 ret = mail_transaction_log_create(index->log, FALSE);
638 /* log creation could have changed it if someone else
648 mail_transaction_log_close(index->log);
649 ret = mail_transaction_log_create(index->log, TRUE);
686 mail_transaction_log_close(index->log);
735 if (index->log->head == NULL) {
738 "(log->view->head == NULL)");
782 mail_transaction_log_close(index->log);
965 if (index->log != NULL) {
966 /* move transaction log to memory */
967 if (mail_transaction_log_move_to_memory(index->log) < 0)
989 (void)mail_transaction_log_unlink(index->log);
1014 /* .log is always supposed to exist - don't bother
1075 i_assert(index->log->filepath != NULL);
1076 if (nfs_safe_stat(index->log->filepath, &st) < 0 &&
1078 /* the index log has gone away */