Searched refs:reset (Results 1 - 23 of 23) sorted by relevance

/dovecot/src/doveadm/
H A Ddoveadm-stats.c24 static void stats_dump(const char *path, const char *const *fields, bool reset) argument
35 str_append(cmd, reset ? "DUMP-RESET" : "DUMP");
85 bool reset; local
89 if (!doveadm_cmd_param_bool(cctx, "reset", &reset))
90 reset = FALSE;
96 stats_dump(path, fields, reset);
106 DOVEADM_CMD_PARAM('r', "reset", CMD_PARAM_BOOL, 0)
H A Ddoveadm-dump-log.c72 name = "ext-reset";
87 name = "keyword-reset";
317 const struct mail_transaction_ext_reset *reset = data; local
319 printf(" - new_reset_id = %u\n", reset->new_reset_id);
320 printf(" - preserve_data = %u\n", reset->preserve_data);
/dovecot/src/lib-fts/
H A Dfts-tokenizer-private.h13 void (*reset)(struct fts_tokenizer *tok); member in struct:fts_tokenizer_vfuncs
H A Dfts-tokenizer.c167 tok->v->reset(tok);
/dovecot/src/lib-index/
H A Dtest-mail-transaction-log-view.c138 bool reset; local
165 test_assert(mail_transaction_log_view_set(view, 0, 0, (uint32_t)-1, (uoff_t)-1, &reset, &reason) == 1 &&
166 reset && view_is_file_refed(1) && view_is_file_refed(2) &&
182 test_assert(mail_transaction_log_view_set(view, 0, 0, 0, 0, &reset, &reason) == 1);
191 test_assert(mail_transaction_log_view_set(view, 3, last_log_size, (uint32_t)-1, (uoff_t)-1, &reset, &reason) == 1);
213 test_assert(mail_transaction_log_view_set(view, 2, 0, (uint32_t)-1, (uoff_t)-1, &reset, &reason) == 1);
217 test_assert(mail_transaction_log_view_set(view, 0, 0, (uint32_t)-1, (uoff_t)-1, &reset, &reason) == 0);
222 test_assert(mail_transaction_log_view_set(view, 0, 0, (uint32_t)-1, (uoff_t)-1, &reset, &reason) == -1);
H A Dmail-transaction-log-private.h117 bool reset);
135 int mail_transaction_log_rotate(struct mail_transaction_log *log, bool reset);
H A Dmail-index-transaction-private.h22 void (*reset)(struct mail_index_transaction *t); member in struct:mail_index_transaction_vfuncs
49 mail_index_transaction_reset_v() to reset it. */
93 bool reset:1; member in struct:mail_index_transaction
H A Dmail-index-transaction-finish.c35 struct mail_transaction_ext_reset *reset; local
58 reset = array_idx_modifiable(&t->ext_resets, ext_id);
59 if (reset->new_reset_id == (uint32_t)-1)
60 reset->new_reset_id = reset_id;
H A Dmail-index-transaction.c98 next_uid = t->reset || head_hdr->uid_validity != hdr->uid_validity ?
150 if (t->reset) {
158 /* we only wanted to reset */
214 if (t->reset) {
241 changed = MAIL_INDEX_TRANSACTION_HAS_CHANGES(t) || t->reset;
H A Dmail-index-view-sync.c87 /* log was reset, but we don't want to sync expunges.
88 we can't do this, so sync only up to the reset. */
93 /* we have only this reset log */
500 bool reset; local
514 seq, offset, &reset, &reason);
531 bool reset, partial_sync, sync_expunges, have_expunges; local
564 ret = view_sync_set_log_view_range(view, sync_expunges, &reset, &partial_sync);
599 ctx->finish_min_msg_count = reset ? 0 :
601 if (reset) {
604 "%s reset, vie
826 const struct mail_transaction_keyword_reset *reset = local
[all...]
H A Dmail-index-transaction-update.c97 t->reset = FALSE;
833 struct mail_transaction_ext_reset reset; local
837 i_zero(&reset);
838 reset.new_reset_id = reset_id;
839 reset.preserve_data = clear_data ? 0 : 1;
845 array_idx_set(&t->ext_resets, ext_id, &reset);
892 const struct mail_transaction_ext_reset *reset; local
894 array_foreach(&t->ext_resets, reset) {
895 if (reset->new_reset_id != 0)
975 /* make sure the changes get reset, eve
[all...]
H A Dmail-index-transaction-export.c110 if (t->reset ||
167 /* we're going to reset this extension in this transaction */
248 const struct mail_transaction_ext_reset *reset; local
269 reset = NULL;
272 reset = array_get(&t->ext_resets, &reset_count);
292 ext_reset = reset[ext_id];
299 /* we're going to reset this extension
H A Dmail-transaction-log.c108 int mail_transaction_log_create(struct mail_transaction_log *log, bool reset) argument
129 if (mail_transaction_log_file_create(file, reset) < 0) {
261 int mail_transaction_log_rotate(struct mail_transaction_log *log, bool reset) argument
272 if (reset) {
292 if ((ret = mail_transaction_log_file_create(file, reset)) < 0) {
449 *reason_r = "Log was reset after requested file_seq";
H A Dmail-index-modseq.c400 bool reset; local
429 end_seq, end_offset, &reset, &reason);
434 &reset, &reason);
H A Dmail-index-sync.c285 bool reset; local
292 log_seq, log_offset, &reset, &reason);
530 bool reset; local
547 &reset, &reason) <= 0) {
H A Dmail-transaction-log.h210 int mail_transaction_log_create(struct mail_transaction_log *log, bool reset);
237 1 if ok. reset_r=TRUE if the whole index should be reset before applying any
H A Dmail-transaction-log-file.c681 int new_fd, bool reset,
711 if (reset)
755 reset = TRUE;
761 if (reset) {
762 /* don't reset modseqs. if we're reseting due to rebuilding
772 if (index->ext_hdr_init_data != NULL && reset)
842 bool reset)
883 ret = mail_transaction_log_file_create2(file, fd, reset, &dotlock);
680 mail_transaction_log_file_create2(struct mail_transaction_log_file *file, int new_fd, bool reset, struct dotlock **dotlock) argument
841 mail_transaction_log_file_create(struct mail_transaction_log_file *file, bool reset) argument
H A Dmail-index-transaction-view.c176 if (!tview->t->reset) {
180 /* index is being reset. we never want to return old
241 if (!tview->t->reset) {
458 already reset */
H A Dmail-index-sync-update.c649 "ext reset: invalid record size");
910 bool had_dirty, reset; local
951 &reset, &reason);
1004 if (reset) {
H A Dmail-cache-transaction.c66 super.reset(t);
114 t->v.reset = mail_index_transaction_cache_reset;
244 /* get the latest reset ID */
796 /* make sure the transaction is reset, so we don't
/dovecot/src/lib-storage/index/
H A Dindex-sync-pvt.c158 bool reset = FALSE, preserve_old_flags = FALSE, copy_shared_flags; local
173 reset = TRUE;
179 reset = TRUE;
183 reset = TRUE;
194 if (!reset) {
/dovecot/src/lib-storage/
H A Dmailbox-get.c75 bool reset; local
97 &reset, &reason);
104 &reset, &reason);
/dovecot/src/doveadm/dsync/
H A Ddsync-transaction-log-scan.c354 bool reset; local
369 &reset, &reason);
389 &reset, &reason);
566 bool reset, found = FALSE; local
578 &reset, &reason) > 0) {

Completed in 53 milliseconds