Searched defs:rwlock (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/dns/include/dns/
H A Dnta.h27 #include <isc/rwlock.h>
43 isc_rwlock_t rwlock; member in struct:dns_ntatable
47 /* Locked by rwlock. */
/bind-9.11.3/lib/dns/
H A Dforward.c15 #include <isc/rwlock.h>
27 isc_rwlock_t rwlock; member in struct:dns_fwdtable
54 result = isc_rwlock_init(&fwdtable->rwlock, 0, 0);
104 RWLOCK(&fwdtable->rwlock, isc_rwlocktype_write);
106 RWUNLOCK(&fwdtable->rwlock, isc_rwlocktype_write);
155 RWLOCK(&fwdtable->rwlock, isc_rwlocktype_write);
157 RWUNLOCK(&fwdtable->rwlock, isc_rwlocktype_write);
180 RWLOCK(&fwdtable->rwlock, isc_rwlocktype_write);
182 RWUNLOCK(&fwdtable->rwlock, isc_rwlocktype_write);
205 RWLOCK(&fwdtable->rwlock, isc_rwlocktype_rea
[all...]
H A Dkeytable.c18 #include <isc/rwlock.h>
39 isc_rwlock_t rwlock; member in struct:dns_keytable
40 /* Locked by rwlock. */
82 result = isc_rwlock_init(&keytable->rwlock, 0, 0);
108 isc_rwlock_destroy(&keytable->rwlock);
154 isc_rwlock_destroy(&keytable->rwlock);
178 RWLOCK(&keytable->rwlock, isc_rwlocktype_write);
219 RWUNLOCK(&keytable->rwlock, isc_rwlocktype_write);
248 RWLOCK(&keytable->rwlock, isc_rwlocktype_write);
259 RWUNLOCK(&keytable->rwlock, isc_rwlocktype_writ
[all...]
H A Dzt.c36 isc_rwlock_t rwlock; member in struct:dns_zt
83 result = isc_rwlock_init(&zt->rwlock, 0, 0);
119 RWLOCK(&zt->rwlock, isc_rwlocktype_write);
125 RWUNLOCK(&zt->rwlock, isc_rwlocktype_write);
139 RWLOCK(&zt->rwlock, isc_rwlocktype_write);
143 RWUNLOCK(&zt->rwlock, isc_rwlocktype_write);
161 RWLOCK(&zt->rwlock, isc_rwlocktype_read);
168 RWUNLOCK(&zt->rwlock, isc_rwlocktype_read);
179 RWLOCK(&zt->rwlock, isc_rwlocktype_write);
185 RWUNLOCK(&zt->rwlock, isc_rwlocktype_writ
[all...]
H A Drbtdb.c35 #include <isc/rwlock.h>
328 * We use rwlock for DB lock only when ISC_RWLOCK_USEATOMIC is non 0.
329 * Using rwlock is effective with regard to lookup performance only when
331 * Otherwise, it is generally wise to stick to the simple locking since rwlock
355 * we need some trick here. If we have both high-performance rwlock and
356 * high performance and small-memory reference counters, we use rwlock for
640 * records and bytes are covered by rwlock.
642 isc_rwlock_t rwlock; member in struct:rbtdb_version
1225 isc_rwlock_destroy(&rbtdb->current_version->rwlock);
1523 result = isc_rwlock_init(&version->rwlock,
[all...]
H A Dzone.c22 #include <isc/rwlock.h>
525 int refs; /* Locked by rwlock */
537 isc_rwlock_t rwlock; member in struct:dns_zonemgr
541 /* Locked by rwlock. */
12670 RWLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
12683 RWUNLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
15270 RWLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
15274 RWUNLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
15426 RWLOCK(&zmgr->rwlock, isc_rwlocktype_write);
15433 RWUNLOCK(&zmgr->rwlock, isc_rwlocktype_writ
[all...]

Completed in 77 milliseconds