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

12

/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/lib/isc/
H A Drefcount.c31 ref->refs = n;
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 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 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));
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 Dradix.c82 int refs; local
87 isc_refcount_decrement(&prefix->refcount, &refs);
89 if (refs <= 0) {
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Drbt.h898 #define dns_rbtnode_refincrement0(node, refs) \
900 isc_refcount_increment0(&(node)->references, (refs)); \
902 #define dns_rbtnode_refincrement(node, refs) \
904 isc_refcount_increment(&(node)->references, (refs)); \
906 #define dns_rbtnode_refdecrement(node, refs) \
908 isc_refcount_decrement(&(node)->references, (refs)); \
914 #define dns_rbtnode_refincrement0(node, refs) \
916 unsigned int *_tmp = (unsigned int *)(refs); \
921 #define dns_rbtnode_refincrement(node, refs) \
925 if ((refs) !
[all...]
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/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/bin/named/
H A Dlwsearch.c59 list->refs = 1;
73 INSIST(source->refs > 0);
74 source->refs++;
75 INSIST(source->refs != 0);
91 INSIST(list->refs > 0);
92 list->refs--;
96 if (list->refs != 0)
H A Dlwresd.c309 lwresd->refs = 1;
421 source->refs++;
440 INSIST(lwresd->refs > 0);
441 lwresd->refs--;
442 if (lwresd->refs == 0)
470 source->refs++;
488 INSIST(listener->refs > 0);
489 listener->refs--;
490 if (listener->refs == 0)
530 listener->refs
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dpeer.c65 l->refs = 1;
79 source->refs++;
81 ENSURE(source->refs != 0xffffffffU);
97 REQUIRE(plist->refs > 0);
99 plist->refs--;
101 if (plist->refs == 0)
115 REQUIRE(l->refs == 0);
236 peer->refs = 1;
256 source->refs++;
258 ENSURE(source->refs !
[all...]
H A Diptable.c167 unsigned int refs; local
169 isc_refcount_decrement(&tab->refcount, &refs);
170 if (refs == 0)
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 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_internal.h87 isc_refcount_t refs; member in struct:dst_key
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 Dacl.c472 unsigned int refs; local
474 isc_refcount_decrement(&acl->refcount, &refs);
475 if (refs == 0)
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 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++;
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/util/
H A DSparseMap.pm259 my ($self, $r, $lv, $refs) = @_;
260 my $ref = $refs->[$lv];
266 $ref = $refs->[$lv] = [] unless defined $ref;
272 $r->[$i] = $self->_collapse_tree_rec($r->[$i], $lv + 1, $refs);

Completed in 67 milliseconds

12