/bind-9.11.3/lib/isc/include/isc/ |
H A D | quota.h | 43 isc_mutex_t lock; /*%< Locked by lock. */ member in struct:isc_quota
|
H A D | rwlock.h | 45 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 73 /* Locked by lock. */ 86 /*%< Locked by lock. */ 91 /*% The number of threads that have the lock. */ 95 * The number of lock grants made since the lock was last switched
|
/bind-9.11.3/bin/named/include/named/ |
H A D | lwsearch.h | 36 isc_mutex_t lock; member in struct:ns_lwsearchlist
|
H A D | lwresd.h | 26 isc_mutex_t lock; member in struct:ns_lwresd 40 isc_mutex_t lock; member in struct:ns_lwreslistener
|
H A D | interfacemgr.h | 65 isc_mutex_t lock; member in struct:ns_interface
|
/bind-9.11.3/bin/tests/ |
H A D | mempool_test.c | 25 isc_mutex_t lock; local 32 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS); 43 isc_mempool_associatelock(mp1, &lock); 44 isc_mempool_associatelock(mp2, &lock); 116 DESTROYLOCK(&lock);
|
H A D | rwlock_test.c | 29 isc_rwlock_t lock; variable 38 RUNTIME_CHECK(isc_rwlock_lock(&lock, isc_rwlocktype_read) == 40 printf("%s got READ lock\n", message); 42 printf("%s giving up READ lock\n", message); 43 RUNTIME_CHECK(isc_rwlock_unlock(&lock, isc_rwlocktype_read) == 45 RUNTIME_CHECK(isc_rwlock_lock(&lock, isc_rwlocktype_read) == 47 printf("%s got READ lock\n", message); 49 printf("%s giving up READ lock\n", message); 50 RUNTIME_CHECK(isc_rwlock_unlock(&lock, isc_rwlocktype_read) == 52 RUNTIME_CHECK(isc_rwlock_lock(&lock, isc_rwlocktype_writ [all...] |
/bind-9.11.3/lib/isc/ |
H A D | counter.c | 26 isc_mutex_t lock; member in struct:isc_counter 43 result = isc_mutex_init(&counter->lock); 65 LOCK(&counter->lock); 69 UNLOCK(&counter->lock); 85 LOCK(&counter->lock); 87 UNLOCK(&counter->lock); 95 LOCK(&source->lock); 98 UNLOCK(&source->lock); 106 isc_mutex_destroy(&counter->lock); 121 LOCK(&counter->lock); [all...] |
H A D | result.c | 52 "lock busy", /*%< 17 */ 174 static isc_mutex_t lock; variable 201 LOCK(&lock); 205 UNLOCK(&lock); 214 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS); 253 LOCK(&lock); 276 UNLOCK(&lock);
|
H A D | hash.c | 82 isc_mutex_t lock; member in struct:isc_hash 166 * We need a lock. 168 result = isc_mutex_init(&hctx->lock); 194 DESTROYLOCK(&hctx->lock); 230 LOCK(&hctx->lock); 265 UNLOCK(&hctx->lock); 293 LOCK(&hctx->lock); 303 UNLOCK(&hctx->lock); 305 DESTROYLOCK(&hctx->lock);
|
H A D | random.c | 74 isc_mutex_t lock; member in struct:isc_rng 208 /* Create lock */ 209 result = isc_mutex_init(&rng->lock); 236 LOCK(&source->lock); 238 UNLOCK(&source->lock); 249 isc_mutex_destroy(&rng->lock); 263 LOCK(&rng->lock); 269 UNLOCK(&rng->lock); 367 LOCK(&rng->lock); 374 UNLOCK(&rng->lock); [all...] |
H A D | ratelimiter.c | 29 isc_mutex_t lock; member in struct:isc_ratelimiter 70 result = isc_mutex_init(&rl->lock); 95 DESTROYLOCK(&rl->lock); 108 LOCK(&rl->lock); 117 UNLOCK(&rl->lock); 152 LOCK(&rl->lock); 172 UNLOCK(&rl->lock); 185 LOCK(&rl->lock); 191 UNLOCK(&rl->lock); 209 LOCK(&rl->lock); [all...] |
H A D | stats.c | 50 * Only lock the counters if 64-bit atomic operations are 51 * not available but cheap atomic lock operations are. 105 isc_mutex_t lock; member in struct:isc_stats 106 unsigned int references; /* locked by lock */ 118 * We don't want to lock the counters while we are dumping, so we first 142 result = isc_mutex_init(&stats->lock); 185 DESTROYLOCK(&stats->lock); 198 LOCK(&stats->lock); 200 UNLOCK(&stats->lock); 214 LOCK(&stats->lock); [all...] |
/bind-9.11.3/contrib/dlz/modules/include/ |
H A D | dlz_dbi.h | 87 dlz_mutex_t lock; member in struct:dbinstance
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | dispatch.h | 90 isc_mutex_t lock; member in struct:dns_dispatchset
|
H A D | tsig.h | 59 isc_rwlock_t lock; member in struct:dns_tsig_keyring
|
H A D | validator.h | 119 isc_mutex_t lock; member in struct:dns_validator 121 /* Locked by lock. */
|
/bind-9.11.3/lib/dns/ |
H A D | portlist.c | 42 isc_mutex_t lock; member in struct:dns_portlist 74 result = isc_mutex_init(&portlist->lock); 81 DESTROYLOCK(&portlist->lock); 136 LOCK(&portlist->lock); 175 UNLOCK(&portlist->lock); 186 LOCK(&portlist->lock); 202 UNLOCK(&portlist->lock); 212 LOCK(&portlist->lock); 222 UNLOCK(&portlist->lock); 253 DESTROYLOCK(&portlist->lock); [all...] |
H A D | dbtable.c | 34 isc_mutex_t lock; member in struct:dns_dbtable 36 /* Locked by lock. */ 74 result = isc_mutex_init(&dbtable->lock); 94 DESTROYLOCK(&dbtable->lock); 132 LOCK(&source->lock); 138 UNLOCK(&source->lock); 152 LOCK(&dbtable->lock); 159 UNLOCK(&dbtable->lock);
|
H A D | lookup.c | 35 isc_mutex_t lock; member in struct:dns_lookup 38 /* Locked by lock. */ 77 * The caller must be holding the lookup's lock. 187 LOCK(&lookup->lock); 343 UNLOCK(&lookup->lock); 410 result = isc_mutex_init(&lookup->lock); 437 DESTROYLOCK(&lookup->lock); 456 LOCK(&lookup->lock); 466 UNLOCK(&lookup->lock); 484 DESTROYLOCK(&lookup->lock); [all...] |
H A D | ssu.c | 54 isc_mutex_t lock; member in struct:dns_ssutable 70 result = isc_mutex_init(&table->lock); 108 DESTROYLOCK(&table->lock); 118 LOCK(&source->lock); 124 UNLOCK(&source->lock); 138 LOCK(&table->lock); 143 UNLOCK(&table->lock);
|
H A D | badcache.c | 33 isc_mutex_t lock; member in struct:dns_badcache 72 result = isc_mutex_init(&bc->lock); 93 DESTROYLOCK(&bc->lock); 109 DESTROYLOCK(&bc->lock); 166 LOCK(&bc->lock); 219 UNLOCK(&bc->lock); 235 LOCK(&bc->lock); 291 UNLOCK(&bc->lock); 323 LOCK(&bc->lock); 347 UNLOCK(&bc->lock); [all...] |
H A D | byaddr.c | 111 isc_mutex_t lock; member in struct:dns_byaddr 113 /* Locked by lock. */ 133 * The caller must be holding the byaddr's lock. 239 result = isc_mutex_init(&byaddr->lock); 265 DESTROYLOCK(&byaddr->lock); 284 LOCK(&byaddr->lock); 292 UNLOCK(&byaddr->lock); 306 DESTROYLOCK(&byaddr->lock);
|
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | datafile.c | 38 pthread_mutex_t lock; member in struct:perf_datafile 71 MUTEX_INIT(&dfile->lock); 108 MUTEX_DESTROY(&dfile->lock); 227 LOCK(&dfile->lock); 267 UNLOCK(&dfile->lock);
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dispatch_test.c | 197 static isc_mutex_t lock; variable 209 LOCK(&lock); 213 UNLOCK(&lock); 253 result = isc_mutex_init(&lock);
|