Searched defs:lock (Results 1 - 25 of 49) sorted by relevance

12

/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dquota.h52 isc_mutex_t lock; /*%< Locked by lock. */ member in struct:isc_quota
H A Drwlock.h46 isc_mutex_t lock; member in struct:isc_rwlock
53 * appear, massively reducing the lock overhead in the typical case.
56 * writer-preference lock" shown in the following URL:
58 * but our implementation does not rely on the spin lock unlike the
67 /* Locked by lock. */
80 /*%< Locked by lock. */
85 /*% The number of threads that have the lock. */
89 * The number of lock grants made since the lock was last switched
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dlwresd.h35 isc_mutex_t lock; member in struct:ns_lwresd
47 isc_mutex_t lock; member in struct:ns_lwreslistener
H A Dlwsearch.h45 isc_mutex_t lock; member in struct:ns_lwsearchlist
H A Dinterfacemgr.h73 isc_mutex_t lock; member in struct:ns_interface
/bind-9.6-ESV-R11/bin/tests/
H A Dmempool_test.c34 isc_mutex_t lock; local
41 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
52 isc_mempool_associatelock(mp1, &lock);
53 isc_mempool_associatelock(mp2, &lock);
125 DESTROYLOCK(&lock);
H A Drwlock_test.c34 isc_rwlock_t lock; variable
40 RUNTIME_CHECK(isc_rwlock_lock(&lock, isc_rwlocktype_read) ==
42 printf("%s got READ lock\n", message);
44 printf("%s giving up READ lock\n", message);
45 RUNTIME_CHECK(isc_rwlock_unlock(&lock, isc_rwlocktype_read) ==
47 RUNTIME_CHECK(isc_rwlock_lock(&lock, isc_rwlocktype_read) ==
49 printf("%s got READ lock\n", message);
51 printf("%s giving up READ lock\n", message);
52 RUNTIME_CHECK(isc_rwlock_unlock(&lock, isc_rwlocktype_read) ==
54 RUNTIME_CHECK(isc_rwlock_lock(&lock, isc_rwlocktype_writ
[all...]
H A Dsig0_test.c63 isc_mutex_t lock; variable
220 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
300 DESTROYLOCK(&lock);
/bind-9.6-ESV-R11/lib/isc/
H A Dresult.c61 "lock busy", /*%< 17 */
113 static isc_mutex_t lock; variable
139 LOCK(&lock);
143 UNLOCK(&lock);
152 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
179 LOCK(&lock);
202 UNLOCK(&lock);
H A Dstats.c61 isc_mutex_t lock; member in struct:isc_stats
62 unsigned int references; /* locked by lock */
74 * We don't want to lock the counters while we are dumping, so we first
98 result = isc_mutex_init(&stats->lock);
141 DESTROYLOCK(&stats->lock);
154 LOCK(&stats->lock);
156 UNLOCK(&stats->lock);
170 LOCK(&stats->lock);
172 UNLOCK(&stats->lock);
179 DESTROYLOCK(&stats->lock);
[all...]
H A Dhash.c93 isc_mutex_t lock; member in struct:isc_hash
176 * We need a lock.
178 result = isc_mutex_init(&hctx->lock);
204 DESTROYLOCK(&hctx->lock);
241 LOCK(&hctx->lock);
273 UNLOCK(&hctx->lock);
301 LOCK(&hctx->lock);
311 UNLOCK(&hctx->lock);
313 DESTROYLOCK(&hctx->lock);
H A Dratelimiter.c40 isc_mutex_t lock; member in struct:isc_ratelimiter
79 result = isc_mutex_init(&rl->lock);
103 DESTROYLOCK(&rl->lock);
112 LOCK(&rl->lock);
121 UNLOCK(&rl->lock);
144 LOCK(&rl->lock);
162 UNLOCK(&rl->lock);
182 LOCK(&rl->lock);
201 UNLOCK(&rl->lock);
214 LOCK(&rl->lock);
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Ddbtable.c43 isc_mutex_t lock; member in struct:dns_dbtable
45 /* Locked by lock. */
83 result = isc_mutex_init(&dbtable->lock);
102 DESTROYLOCK(&dbtable->lock);
140 LOCK(&source->lock);
146 UNLOCK(&source->lock);
160 LOCK(&dbtable->lock);
167 UNLOCK(&dbtable->lock);
H A Dportlist.c51 isc_mutex_t lock; member in struct:dns_portlist
83 result = isc_mutex_init(&portlist->lock);
90 DESTROYLOCK(&portlist->lock);
145 LOCK(&portlist->lock);
184 UNLOCK(&portlist->lock);
195 LOCK(&portlist->lock);
211 UNLOCK(&portlist->lock);
221 LOCK(&portlist->lock);
231 UNLOCK(&portlist->lock);
262 DESTROYLOCK(&portlist->lock);
[all...]
H A Dbyaddr.c50 isc_mutex_t lock; member in struct:dns_byaddr
52 /* Locked by lock. */
139 * The caller must be holding the byaddr's lock.
244 result = isc_mutex_init(&byaddr->lock);
270 DESTROYLOCK(&byaddr->lock);
289 LOCK(&byaddr->lock);
297 UNLOCK(&byaddr->lock);
311 DESTROYLOCK(&byaddr->lock);
H A Dkeytable.c38 isc_mutex_t lock; member in struct:dns_keytable
40 /* Locked by lock. */
91 result = isc_mutex_init(&keytable->lock);
108 DESTROYLOCK(&keytable->lock);
158 LOCK(&keytable->lock);
161 UNLOCK(&keytable->lock);
168 DESTROYLOCK(&keytable->lock);
258 LOCK(&keytable->lock);
260 UNLOCK(&keytable->lock);
294 LOCK(&keytable->lock);
[all...]
H A Dlookup.c44 isc_mutex_t lock; member in struct:dns_lookup
47 /* Locked by lock. */
86 * The caller must be holding the lookup's lock.
196 LOCK(&lookup->lock);
352 UNLOCK(&lookup->lock);
418 result = isc_mutex_init(&lookup->lock);
445 DESTROYLOCK(&lookup->lock);
464 LOCK(&lookup->lock);
474 UNLOCK(&lookup->lock);
492 DESTROYLOCK(&lookup->lock);
[all...]
H A Dssu.c61 isc_mutex_t lock; member in struct:dns_ssutable
76 result = isc_mutex_init(&table->lock);
114 DESTROYLOCK(&table->lock);
124 LOCK(&source->lock);
130 UNLOCK(&source->lock);
144 LOCK(&table->lock);
149 UNLOCK(&table->lock);
H A Dstats.c69 isc_mutex_t lock; member in struct:dns_stats
72 /*% Locked by lock */
91 LOCK(&stats->lock);
93 UNLOCK(&stats->lock);
107 LOCK(&stats->lock);
109 UNLOCK(&stats->lock);
113 DESTROYLOCK(&stats->lock);
135 result = isc_mutex_init(&stats->lock);
152 DESTROYLOCK(&stats->lock);
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dtsig.h63 isc_rwlock_t lock; member in struct:dns_tsig_keyring
H A Dadb.h122 isc_mutex_t lock; /* locks all below */ member in struct:dns_adbfind
H A Dvalidator.h128 isc_mutex_t lock; member in struct:dns_validator
130 /* Locked by lock. */
H A Dview.h97 isc_mutex_t lock; member in struct:dns_view
151 * locked by server configuration lock.
160 /* Locked by lock. */
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dapp.c44 static isc_mutex_t lock; variable
87 result = isc_mutex_init(&lock);
109 LOCK(&lock);
131 UNLOCK(&lock);
142 LOCK(&lock);
161 UNLOCK(&lock);
205 LOCK(&lock);
213 UNLOCK(&lock);
224 LOCK(&lock);
233 UNLOCK(&lock);
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dapp.c59 static isc_mutex_t lock; variable
154 result = isc_mutex_init(&lock);
269 LOCK(&lock);
293 UNLOCK(&lock);
447 LOCK(&lock);
467 UNLOCK(&lock);
564 LOCK(&lock);
573 UNLOCK(&lock);
605 LOCK(&lock);
615 UNLOCK(&lock);
[all...]

Completed in 72 milliseconds

12