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

/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Drefcount.h103 isc_int32_t refs; member in struct:isc_refcount
106 #define isc_refcount_destroy(rp) (REQUIRE((rp)->refs == 0))
107 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
113 prev = isc_atomic_xadd(&(rp)->refs, 1); \
122 prev = isc_atomic_xadd(&(rp)->refs, 1); \
132 prev = isc_atomic_xadd(&(rp)->refs, -1); \
141 int refs;
148 REQUIRE((rp)->refs == 0); \
152 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
159 ++((rp)->refs); \
[all...]
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dlwresd.h41 unsigned int refs; member in struct:ns_lwresd
52 unsigned int refs; member in struct:ns_lwreslistener
H A Dlwsearch.h47 unsigned int refs; member in struct:ns_lwsearchlist
/bind-9.6-ESV-R11/lib/dns/
H A Diptable.c167 unsigned int refs; local
169 isc_refcount_decrement(&tab->refcount, &refs);
170 if (refs == 0)
H A Dacl.c472 unsigned int refs; local
474 isc_refcount_decrement(&acl->refcount, &refs);
475 if (refs == 0)
H A Ddst_internal.h87 isc_refcount_t refs; member in struct:dst_key
H A Dacache.c182 isc_refcount_t refs; member in struct:dns_acache
1016 if (isc_refcount_current(&acache->refs) == 0) {
1060 result = isc_refcount_init(&acache->refs, 1);
1068 isc_refcount_decrement(&acache->refs, NULL);
1069 isc_refcount_destroy(&acache->refs);
1137 isc_refcount_decrement(&acache->refs, NULL);
1138 isc_refcount_destroy(&acache->refs);
1159 isc_refcount_increment(&source->refs, NULL);
1173 unsigned int refs; local
1181 isc_refcount_decrement(&acache->refs,
1714 unsigned int refs; local
[all...]
H A Ddst_api.c819 isc_refcount_increment(&source->refs, NULL);
827 unsigned int refs; local
835 isc_refcount_decrement(&key->refs, &refs);
836 if (refs != 0)
839 isc_refcount_destroy(&key->refs);
970 result = isc_refcount_init(&key->refs, 1);
H A Dtsig.c257 unsigned int refs = 0; local
366 refs++;
368 refs++;
369 ret = isc_refcount_init(&tkey->refs, refs);
434 while (refs-- > 0)
435 isc_refcount_decrement(&tkey->refs, NULL);
436 isc_refcount_destroy(&tkey->refs);
496 && isc_refcount_current(&tkey->refs) == 1
629 isc_refcount_increment(&source->refs, NUL
656 unsigned int refs; local
[all...]
H A Dview.c401 unsigned int refs; local
410 isc_refcount_decrement(&view->references, &refs);
411 if (refs == 0) {
H A Ddispatch.c195 unsigned int refs; member in struct:dispportentry
741 portentry->refs = 0;
758 REQUIRE(portentry != NULL && portentry->refs > 0);
762 portentry->refs--;
763 if (portentry->refs == 0) {
882 portentry->refs++;
H A Drbtdb.c851 unsigned int refs; local
854 &refs);
855 INSIST(refs == 0);
1043 unsigned int refs; local
1047 isc_refcount_decrement(&rbtdb->references, &refs);
1049 if (refs == 0)
1059 unsigned int refs; local
1065 isc_refcount_increment(&version->references, &refs);
1149 unsigned int refs; local
1154 isc_refcount_increment(&rbtversion->references, &refs);
1165 unsigned int refs; local
1635 unsigned int refs, nrefs; local
2122 unsigned int refs; local
2155 unsigned int refs; local
4902 unsigned int refs; local
5339 unsigned int refs; local
5353 unsigned int refs; local
8225 unsigned int refs; local
[all...]
H A Dzone.c402 int refs; /* Locked by rwlock */ member in struct:dns_zonemgr
3129 unsigned int refs; local
3136 isc_refcount_decrement(&zone->erefs, &refs);
3138 if (refs == 0) {
10701 zmgr->refs = 1;
10827 zmgr->refs++;
10853 zmgr->refs--;
10854 if (zmgr->refs == 0)
10871 REQUIRE(source->refs > 0);
10872 source->refs
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dpeer.h54 isc_uint32_t refs; member in struct:dns_peerlist
63 isc_uint32_t refs; member in struct:dns_peer
H A Dtsig.h86 isc_refcount_t refs; /*%< reference counter */ member in struct:dns_tsigkey
/bind-9.6-ESV-R11/lib/isc/
H A Dhash.c323 unsigned int refs; local
328 isc_refcount_decrement(&hctx->refcnt, &refs);
329 if (refs == 0)
337 unsigned int refs; local
341 isc_refcount_decrement(&hash->refcnt, &refs);
342 INSIST(refs == 0);
H A Dradix.c82 int refs; local
87 isc_refcount_decrement(&prefix->refcount, &refs);
89 if (refs <= 0) {
H A Dratelimiter.c41 int refs; member in struct:isc_ratelimiter
71 rl->refs = 1;
92 rl->refs++;
256 REQUIRE(source->refs > 0);
257 source->refs++;
258 INSIST(source->refs > 0);
269 REQUIRE(rl->refs > 0);
270 rl->refs--;
271 if (rl->refs == 0)
H A Dtimer.c98 unsigned int refs; member in struct:isc_timermgr
779 timermgr->refs++;
835 manager->refs = 1;
871 if (manager->refs > 1) {
872 manager->refs--;
H A Dtask.c124 unsigned int refs; member in struct:isc_taskmgr
1048 taskmgr->refs++;
1120 manager->refs = 1;
1158 if (manager->refs > 1) {
1159 manager->refs--;
1329 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->refs));
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dsocket.c393 unsigned int refs; member in struct:isc_socketmgr
3896 socketmgr->refs++;
3980 manager->refs = 1;
4086 if (manager->refs > 1) {
4087 manager->refs--;
5594 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->refs));

Completed in 7638 milliseconds