Searched refs:diff_stats (Results 1 - 13 of 13) sorted by relevance

/dovecot/src/old-stats/
H A Dmail-domain.h13 const struct stats *diff_stats) ATTR_NULL(2);
H A Dmail-ip.h9 void mail_ip_refresh(struct mail_ip *ip, const struct stats *diff_stats)
H A Dmail-user.h13 const struct stats *diff_stats) ATTR_NULL(2);
H A Dmail-user.c105 const struct stats *diff_stats)
107 if (diff_stats != NULL)
108 stats_add(user->stats, diff_stats);
114 mail_domain_refresh(user->domain, diff_stats);
120 struct stats *empty_stats, *diff_stats; local
140 diff_stats = stats_alloc(pool_datastack_create());
141 if (!stats_import(buf->data, buf->used, empty_stats, diff_stats, &error)) {
146 mail_user_refresh(user, diff_stats);
104 mail_user_refresh(struct mail_user *user, const struct stats *diff_stats) argument
H A Dmail-stats.c81 void mail_global_refresh(const struct stats *diff_stats) argument
83 if (diff_stats != NULL)
84 stats_add(mail_global_stats.stats, diff_stats);
H A Dmail-domain.c94 const struct stats *diff_stats)
96 if (diff_stats != NULL)
97 stats_add(domain->stats, diff_stats);
103 mail_global_refresh(diff_stats);
93 mail_domain_refresh(struct mail_domain *domain, const struct stats *diff_stats) argument
H A Dmail-session.h22 const struct stats *diff_stats) ATTR_NULL(2);
H A Dmail-session.c247 const struct stats *diff_stats)
251 if (diff_stats != NULL)
252 stats_add(session->stats, diff_stats);
259 mail_user_refresh(session->user, diff_stats);
261 mail_ip_refresh(session->ip, diff_stats);
267 struct stats *new_stats, *diff_stats; local
285 diff_stats = stats_alloc(pool_datastack_create());
294 if (!stats_diff(session->stats, new_stats, diff_stats, &error)) {
300 mail_session_refresh(session, diff_stats);
246 mail_session_refresh(struct mail_session *session, const struct stats *diff_stats) argument
H A Dmail-ip.c90 void mail_ip_refresh(struct mail_ip *ip, const struct stats *diff_stats) argument
92 if (diff_stats != NULL)
93 stats_add(ip->stats, diff_stats);
H A Dmail-command.c104 struct stats *new_stats, *diff_stats; local
177 diff_stats = stats_alloc(pool_datastack_create());
184 if (!stats_diff(cmd->stats, new_stats, diff_stats, &error)) {
188 stats_add(cmd->stats, diff_stats);
H A Dmail-stats.h121 void mail_global_refresh(const struct stats *diff_stats);
/dovecot/src/plugins/imap-old-stats/
H A Dimap-stats-plugin.c59 struct stats *new_stats, *diff_stats; local
69 diff_stats = stats_alloc(pool_datastack_create());
72 if (!stats_diff(scmd->pre_stats, new_stats, diff_stats, &error))
74 stats_add(scmd->stats, diff_stats);
/dovecot/src/plugins/old-stats/
H A Dstats-plugin.c73 struct stats *new_stats, *diff_stats; local
77 diff_stats = stats_alloc(pool_datastack_create());
85 if (!stats_diff(suser->pre_io_stats, new_stats, diff_stats, &error))
87 stats_add(suser->session_stats, diff_stats);

Completed in 22 milliseconds