Searched refs:transactions (Results 1 - 12 of 12) sorted by relevance

/dovecot/src/plugins/old-stats/
H A Dstats-plugin.h28 /* cumulative trans_stats for all already freed transactions. */
40 /* list of all currently existing transactions for this user */
41 struct stats_transaction_context *transactions; member in struct:stats_user
H A Dmail-stats-fill.c117 for (strans = suser->transactions; strans != NULL; strans = strans->next)
H A Dstats-plugin.c164 DLLIST_PREPEND(&suser->transactions, strans);
177 DLLIST_REMOVE(&suser->transactions, strans);
/dovecot/src/dict/
H A Ddict-connection.h30 /* There are only a few transactions per client, so keeping them in
32 ARRAY(struct dict_connection_transaction) transactions; member in struct:dict_connection
H A Ddict-commands.c322 if (!array_is_created(&conn->transactions))
325 array_foreach_modifiable(&conn->transactions, transaction) {
336 const struct dict_connection_transaction *transactions; local
339 transactions = array_get(&conn->transactions, &count);
341 if (transactions[i].id == id) {
342 i_assert(transactions[i].ctx == NULL);
343 array_delete(&conn->transactions, i, 1);
364 if (!array_is_created(&cmd->conn->transactions))
365 i_array_init(&cmd->conn->transactions,
[all...]
H A Ddict-connection.c230 /* we should have only transactions that haven't been committed or
232 if (array_is_created(&conn->transactions)) {
233 array_foreach_modifiable(&conn->transactions, transaction) {
242 if (array_is_created(&conn->transactions))
243 array_free(&conn->transactions);
/dovecot/src/lib-dict/
H A Ddict-private.h54 struct dict_transaction_context *transactions; member in struct:dict
H A Ddict.c99 i_assert(dict->transactions == NULL);
237 transactions are not supported. */
239 DLLIST_PREPEND(&ctx->dict->transactions, ctx);
290 DLLIST_REMOVE(&ctx->dict->transactions, ctx);
307 DLLIST_REMOVE(&ctx->dict->transactions, ctx);
320 DLLIST_REMOVE(&ctx->dict->transactions, ctx);
H A Ddict-client.c90 struct client_dict_transaction_context *transactions; member in struct:client_dict
375 /* transactions commands don't have replies. only COMMIT has. */
415 return dict->transactions == NULL && array_count(&dict->cmds) == 0;
444 } else if (dict->transactions == NULL &&
626 /* all transactions that have sent BEGIN are no longer valid */
627 for (ctx = dict->transactions; ctx != NULL; ctx = next) {
801 i_assert(dict->transactions == NULL);
1263 DLLIST_PREPEND(&dict->transactions, ctx);
1359 DLLIST_REMOVE(&dict->transactions, ctx);
1409 DLLIST_REMOVE(&dict->transactions, ct
[all...]
/dovecot/src/lib-index/
H A Dmail-index-view.c95 i_assert(view->transactions >= 0);
97 return view->transactions;
102 view->transactions++;
107 i_assert(view->transactions > 0);
109 view->transactions--;
421 i_assert(view->transactions == 0);
H A Dmail-index-view-private.h77 int transactions; member in struct:mail_index_view
H A Dmail-index-view-sync.c167 /* get a list of expunge transactions. there may be some that we have
535 i_assert(view->transactions == 0);
747 some of the transactions may already be synced. at the end

Completed in 43 milliseconds