Searched defs:refs (Results 1 - 25 of 32) sorted by relevance

12

/bind-9.11.3/lib/isc/include/isc/
H A Drefcount.h102 atomic_int_fast32_t refs; member in struct:isc_refcount
104 isc_int32_t refs;
111 ((unsigned int)(atomic_load_explicit(&(rp)->refs, \
120 (&(rp)->refs, 1, memory_order_relaxed); \
130 (&(rp)->refs, 1, memory_order_relaxed); \
141 (&(rp)->refs, 1, memory_order_relaxed); \
150 ((unsigned int)(isc_atomic_xadd(&(rp)->refs, 0)))
157 prev = isc_atomic_xadd(&(rp)->refs, 1); \
166 prev = isc_atomic_xadd(&(rp)->refs, 1); \
176 prev = isc_atomic_xadd(&(rp)->refs,
[all...]
/bind-9.11.3/bin/named/include/named/
H A Dlwsearch.h38 unsigned int refs; member in struct:ns_lwsearchlist
H A Dlwresd.h34 unsigned int refs; member in struct:ns_lwresd
45 unsigned int refs; member in struct:ns_lwreslistener
/bind-9.11.3/lib/dns/
H A Diptable.c154 unsigned int refs; local
156 isc_refcount_decrement(&tab->refcount, &refs);
157 if (refs == 0)
H A Dkeytable.c137 unsigned int refs; local
148 isc_refcount_decrement(&keytable->references, &refs);
149 if (refs == 0) {
741 unsigned int refs; local
744 isc_refcount_decrement(&node->refcount, &refs);
745 if (refs == 0) {
H A Dnta.c63 unsigned int refs; local
69 isc_refcount_decrement(&nta->refcount, &refs);
70 if (refs == 0) {
H A Dacl.c556 unsigned int refs; local
560 isc_refcount_decrement(&acl->refcount, &refs);
561 if (refs == 0)
H A Ddst_internal.h95 isc_refcount_t refs; member in struct:dst_key
H A Dtsig.c251 unsigned int refs = 0; local
363 refs = 1;
365 refs++;
366 ret = isc_refcount_init(&tkey->refs, refs);
406 while (refs-- > 0)
407 isc_refcount_decrement(&tkey->refs, NULL);
408 isc_refcount_destroy(&tkey->refs);
468 && isc_refcount_current(&tkey->refs) == 1
787 isc_refcount_increment(&source->refs, NUL
814 unsigned int refs; local
[all...]
H A Ddnstap.c512 unsigned int refs; local
520 isc_refcount_decrement(&env->refcount, &refs);
521 if (refs == 0)
H A Drpz.c1426 result = isc_refcount_init(&new->refs, 1);
1436 isc_refcount_decrement(&new->refs, NULL);
1437 isc_refcount_destroy(&new->refs);
1489 unsigned int refs; local
1493 isc_refcount_decrement(&rpz->refs, &refs);
1494 if (refs != 0)
1496 isc_refcount_destroy(&rpz->refs);
1523 isc_refcount_increment(&rpzs->refs, NULL);
1535 unsigned int refs; local
[all...]
H A Dview.c567 unsigned int refs; local
576 isc_refcount_decrement(&view->references, &refs);
577 if (refs == 0) {
H A Dacache.c192 isc_refcount_t refs; member in struct:dns_acache
1029 if (isc_refcount_current(&acache->refs) == 0) {
1073 result = isc_refcount_init(&acache->refs, 1);
1081 isc_refcount_decrement(&acache->refs, NULL);
1082 isc_refcount_destroy(&acache->refs);
1150 isc_refcount_decrement(&acache->refs, NULL);
1151 isc_refcount_destroy(&acache->refs);
1172 isc_refcount_increment(&source->refs, NULL);
1186 unsigned int refs; local
1194 isc_refcount_decrement(&acache->refs,
1727 unsigned int refs; local
[all...]
H A Dcatz.c36 isc_refcount_t refs; member in struct:dns_catz_entry
67 isc_refcount_t refs; member in struct:dns_catz_zone
83 isc_refcount_t refs; member in struct:dns_catz_zones
193 isc_refcount_init(&nentry->refs, 1);
230 isc_refcount_increment(&entry->refs, NULL);
238 unsigned int refs; local
247 isc_refcount_decrement(&entry->refs, &refs);
248 if (refs == 0) {
252 isc_refcount_destroy(&entry->refs);
746 unsigned int refs; local
802 unsigned int refs; local
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dpeer.h45 isc_uint32_t refs; member in struct:dns_peerlist
54 isc_uint32_t refs; member in struct:dns_peer
H A Dtsig.h83 isc_refcount_t refs; /*%< reference counter */ member in struct:dns_tsigkey
H A Drbt.h1066 #define dns_rbtnode_refincrement0(node, refs) \
1068 isc_refcount_increment0(&(node)->references, (refs)); \
1070 #define dns_rbtnode_refincrement(node, refs) \
1072 isc_refcount_increment(&(node)->references, (refs)); \
1074 #define dns_rbtnode_refdecrement(node, refs) \
1076 isc_refcount_decrement(&(node)->references, (refs)); \
1085 dns_rbtnode_refincrement0(dns_rbtnode_t *node, unsigned int *refs) { argument
1087 if (refs != NULL)
1088 *refs = node->references;
1092 dns_rbtnode_refincrement(dns_rbtnode_t *node, unsigned int *refs) { argument
1100 dns_rbtnode_refdecrement(dns_rbtnode_t *node, unsigned int *refs) argument
[all...]
H A Drpz.h125 isc_refcount_t refs; member in struct:dns_rpz_zone
221 isc_refcount_t refs; member in struct:dns_rpz_zones
/bind-9.11.3/lib/isc/
H A Dhash.c315 unsigned int refs; local
320 isc_refcount_decrement(&hctx->refcnt, &refs);
321 if (refs == 0)
329 unsigned int refs; local
333 isc_refcount_decrement(&isc_hashctx->refcnt, &refs);
334 INSIST(refs == 0);
H A Dradix.c77 int refs; local
82 isc_refcount_decrement(&prefix->refcount, &refs);
84 if (refs <= 0) {
H A Dratelimiter.c30 int refs; member in struct:isc_ratelimiter
61 rl->refs = 1;
84 rl->refs++;
288 REQUIRE(source->refs > 0);
289 source->refs++;
290 INSIST(source->refs > 0);
305 REQUIRE(rl->refs > 0);
306 rl->refs--;
307 if (rl->refs == 0)
H A Dtimer.c107 unsigned int refs; member in struct:isc__timermgr
860 timermgr->refs++;
920 manager->refs = 1;
958 manager->refs--;
959 if (manager->refs > 0) {
H A Dtask.c163 unsigned int refs; member in struct:isc__taskmgr
1370 if (taskmgr->refs == 0)
1372 taskmgr->refs++;
1469 manager->refs = 1;
1511 manager->refs--;
1512 if (manager->refs > 0) {
1841 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->refs));
1949 obj = json_object_new_int(mgr->refs);
/bind-9.11.3/lib/isccfg/
H A Daclconf.c76 unsigned int refs; local
82 isc_refcount_decrement(&actx->references, &refs);
83 if (refs == 0) {
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Ddb.c38 isc_refcount_t refs; member in struct:sampledb
72 isc_refcount_increment(&sampledb->refs, NULL);
88 unsigned int refs; local
92 isc_refcount_decrement(&sampledb->refs, &refs);
93 if (refs == 0)
789 CHECK(isc_refcount_init(&sampledb->refs, 1));

Completed in 79 milliseconds

12