Searched refs:refcount (Results 1 - 25 of 163) sorted by relevance

1234567

/dovecot/src/lib-dict-extra/
H A Ddict-register.c6 static int refcount = 0; variable
10 if (refcount++ > 0)
22 if (--refcount > 0)
/dovecot/src/lib/
H A Dmemarea.c13 int refcount; member in struct:memarea
17 .refcount = 1,
34 area->refcount = 1;
40 i_assert(memarea_empty.refcount > 0);
41 memarea_empty.refcount++;
47 i_assert(area->refcount > 0);
48 area->refcount++;
56 i_assert(area->refcount > 0);
58 if (--area->refcount > 0)
76 i_assert(area->refcount >
[all...]
H A Dmempool-datastack.c41 int refcount; member in struct:datastack_pool
52 dpool->refcount = 1;
69 dpool->refcount++;
79 dpool->refcount--;
80 i_assert(dpool->refcount >= 0);
H A Dbloomfilter.c13 int refcount; member in struct:bloomfilter
87 bf->refcount = 1;
93 i_assert(bf->refcount > 0);
94 bf->refcount++;
103 i_assert(bf->refcount > 0);
105 if (--bf->refcount > 0)
H A Dioloop-kqueue.c105 i_assert(io->refcount > 0);
106 if (--io->refcount == 0)
146 i_assert(io->refcount > 0);
147 io->refcount++;
163 i_assert(io->refcount > 0);
164 if (--io->refcount == 0)
/dovecot/src/lib-ldap/
H A Dldap-connection-pool.c34 if (list->refcount == 0)
71 list->refcount++;
81 list->refcount++;
98 i_assert(list->refcount > 0);
100 if (--list->refcount == 0)
109 if (list->refcount > 0)
H A Dldap-connection-pool.h10 int refcount; member in struct:ldap_connection_list
16 /* Returns TRUE if there are connections with refcount>0 */
/dovecot/src/lib-index/
H A Dmail-index-dummy-view.c10 i_assert(view->refcount == 0);
41 view->refcount = 1;
H A Dmail-index-alloc-cache.c24 int refcount; member in struct:mail_index_alloc_cache_list
46 list->refcount = 1;
74 i_assert(list->refcount == 0);
98 } else if (rec->refcount == 0 && rec->index->open_count == 0) {
120 if (rec->refcount == 0 && rec != match) {
165 match->refcount++;
180 if (rec->refcount == 0 &&
188 if (rec->refcount == 0)
230 i_assert(list->refcount > 0);
232 list->refcount
[all...]
/dovecot/src/login-common/
H A Daccess-lookup.c14 int refcount; member in struct:access_lookup
45 lookup->refcount++;
47 if (lookup->refcount > 1)
56 lookup->refcount++;
58 if (lookup->refcount > 1)
90 lookup->refcount = 1;
105 i_assert(lookup->refcount > 0);
106 if (--lookup->refcount > 0)
/dovecot/src/lib-fts/
H A Dfts-filter-private.h32 int refcount; member in struct:fts_filter
H A Dfts-filter.c82 fp->refcount = 1;
92 i_assert(fp->refcount > 0);
94 fp->refcount++;
101 i_assert(fp->refcount > 0);
104 if (--fp->refcount > 0)
/dovecot/src/lib-old-stats/
H A Dstats-connection.c15 int refcount; member in struct:stats_connection
44 conn->refcount = 1;
52 conn->refcount++;
59 i_assert(conn->refcount > 0);
60 if (--conn->refcount > 0)
/dovecot/src/lib-storage/
H A Dmailbox-header.c48 ctx->refcount = 1;
77 i_assert(ctx->refcount > 0);
78 ctx->refcount++;
90 i_assert(ctx->refcount > 0);
91 if (--ctx->refcount > 0)
/dovecot/src/old-stats/
H A Dmail-stats.h24 int refcount; member in struct:mail_command
48 int refcount; member in struct:mail_session
65 int refcount; member in struct:mail_user
81 int refcount; member in struct:mail_domain
97 int refcount; member in struct:mail_ip
H A Dmail-domain.c64 domain->refcount++;
71 i_assert(domain->refcount > 0);
72 domain->refcount--;
79 i_assert(domain->refcount == 0);
110 while (mail_domains_head != NULL && mail_domains_head->refcount == 0) {
H A Dmail-ip.c63 ip->refcount++;
70 i_assert(ip->refcount > 0);
71 ip->refcount--;
78 i_assert(ip->refcount == 0);
105 while (mail_ips_head != NULL && mail_ips_head->refcount == 0) {
/dovecot/src/auth/
H A Ddb-passwd-file.h21 int refcount; member in struct:passwd_file
35 int refcount; member in struct:db_passwd_file
H A Dauth-client-connection.h9 int refcount; member in struct:auth_client_connection
H A Dauth-master-connection.h10 int refcount; member in struct:auth_master_connection
/dovecot/src/replication/aggregator/
H A Dnotify-connection.c22 int refcount; member in struct:notify_connection
70 conn->refcount++;
109 conn->refcount = 1;
123 i_assert(conn->refcount > 0);
124 if (--conn->refcount > 0)
/dovecot/src/anvil/
H A Dconnect-limit.c14 unsigned int refcount; member in struct:ident_pid
18 /* ident => unsigned int refcount */
93 i->refcount = 1;
96 i->refcount++;
135 if (--i->refcount == 0) {
154 for (; i->refcount > 0; i->refcount--)
172 str_printfa(str, "\t%ld\t%u\n", (long)i->pid, i->refcount);
/dovecot/src/director/
H A Ddirector-host.c35 host->refcount = 1;
53 i_assert(host->refcount == 1);
61 i_assert(host->refcount > 0);
62 host->refcount++;
70 i_assert(host->refcount > 0);
72 if (--host->refcount > 0)
/dovecot/src/replication/replicator/
H A Dnotify-connection.c20 int refcount; member in struct:notify_connection
139 conn->refcount = 1;
173 i_assert(conn->refcount > 0);
175 conn->refcount++;
182 i_assert(conn->refcount > 0);
185 if (--conn->refcount > 0)
/dovecot/src/master/
H A Dservice-process.h7 int refcount; member in struct:service_process

Completed in 51 milliseconds

1234567