Home
last modified time | relevance | path

Searched refs:nolock (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/unbound/iterator/
H A Diter_fwd.c423 int nolock) in forwards_find() argument
433 if(!nolock) { lock_rw_rdlock(&fwd->lock); } in forwards_find()
436 if(!has_dp && !nolock) { lock_rw_unlock(&fwd->lock); } in forwards_find()
442 int nolock) in forwards_lookup() argument
454 if(!nolock) { lock_rw_rdlock(&fwd->lock); } in forwards_lookup()
463 if(!nolock) { lock_rw_unlock(&fwd->lock); } in forwards_lookup()
476 if(!has_dp && !nolock) { lock_rw_unlock(&fwd->lock); } in forwards_lookup()
481 forwards_lookup_root(struct iter_forwards* fwd, uint16_t qclass, int nolock) in forwards_lookup_root() argument
484 return forwards_lookup(fwd, &root, qclass, nolock); in forwards_lookup_root()
540 forwards_next_root(struct iter_forwards* fwd, uint16_t* dclass, int nolock) in forwards_next_root() argument
[all …]
H A Diter_fwd.h116 * Caller should lock and unlock a readlock on the forwards structure if nolock
123 * @param nolock: Skip locking, locking is handled by the caller.
127 uint16_t qclass, int nolock);
134 * Caller should lock and unlock a readlock on the forwards structure if nolock
142 * @param nolock: Skip locking, locking is handled by the caller.
147 uint8_t* qname, uint16_t qclass, int nolock);
153 * @param nolock: Skip locking, locking is handled by the caller.
157 uint16_t qclass, int nolock);
161 * Handles its own locking unless nolock is set. In that case the caller
165 * @param nolock
[all...]
H A Diter_hints.c449 int nolock = 1; in hints_apply_cfg() local
467 if(!hints_find_root(hints, LDNS_RR_CLASS_IN, nolock)) { in hints_apply_cfg()
488 int nolock) in hints_find() argument
495 if(!nolock) { lock_rw_rdlock(&hints->lock); } in hints_find()
499 if(!has_dp && !nolock) { lock_rw_unlock(&hints->lock); } in hints_find()
504 hints_find_root(struct iter_hints* hints, uint16_t qclass, int nolock) in hints_find_root() argument
507 return hints_find(hints, &rootlab, qclass, nolock); in hints_find_root()
512 uint16_t qclass, struct delegpt* cache_dp, int nolock) in hints_lookup_stub() argument
521 if(!nolock) { lock_rw_rdlock(&hints->lock); } in hints_lookup_stub()
525 if(!nolock) { lock_rw_unlock(&hints->lock); } in hints_lookup_stub()
[all …]
H A Diter_hints.h105 * Caller should lock and unlock a readlock on the hints structure if nolock
112 * @param nolock: Skip locking, locking is handled by the caller.
116 uint16_t qclass, int nolock);
122 * @param nolock: Skip locking, locking is handled by the caller.
126 uint16_t qclass, int nolock);
130 * Handles its own locking unless nolock is set. In that case the caller
137 * @param nolock: Skip locking, locking is handled by the caller.
141 int hints_next_root(struct iter_hints* hints, uint16_t* qclass, int nolock);
148 * Caller should lock and unlock a readlock on the hints structure if nolock
157 * @param nolock
[all...]
H A Diterator.c691 int nolock = 0; in can_have_last_resort() local
696 (dp = hints_find(env->hints, nm, qclass, nolock)) && in can_have_last_resort()
709 if((dp = forwards_find(env->fwds, nm, qclass, nolock)) && in can_have_last_resort()
927 int nolock = 0; in prime_root() local
931 dp = hints_find_root(qstate->env->hints, qclass, nolock); in prime_root()
996 int nolock = 0; in prime_stub() local
1000 nolock); in prime_stub()
1357 int nolock = 0; in forward_request() local
1367 nolock); in forward_request()
1675 int nolock = 0; in processInitRequest() local
[all …]
H A Diter_utils.c1371 int nolock = 1; in iter_get_next_root() local
1376 r1 = hints_next_root(hints, &c1, nolock); in iter_get_next_root()
1377 r2 = forwards_next_root(fwd, &c2, nolock); in iter_get_next_root()
1550 int nolock = 1; in iter_stub_fwd_no_cache() local
1562 qinf->qclass, NULL, nolock); in iter_stub_fwd_no_cache()
1564 nolock); in iter_stub_fwd_no_cache()
/freebsd/contrib/sendmail/src/
H A Dalias.c518 bool nolock = false; local
555 nolock = true;
564 if (!nolock &&
/freebsd/contrib/unbound/daemon/
H A Dcachedump.c971 int nolock = 0; in print_deleg_lookup() local
984 dp = forwards_lookup(worker->env.fwds, nm, qinfo.qclass, nolock); in print_deleg_lookup()
1030 dp, nolock); in print_deleg_lookup()
H A Dremote.c2718 int nolock = 0; in print_root_fwds() local
2719 dp = forwards_lookup(fwds, root, LDNS_RR_CLASS_IN, nolock); in print_root_fwds()
2802 int nolock = 0; in do_forward() local
2816 forwards_delete_zone(fwd, LDNS_RR_CLASS_IN, root, nolock); in do_forward()
2821 if(!forwards_add_zone(fwd, LDNS_RR_CLASS_IN, dp, nolock)) { in do_forward()
2883 int nolock = 1; in do_forward_add() local
2900 if(!forwards_add_zone(fwd, LDNS_RR_CLASS_IN, dp, nolock)) { in do_forward_add()
2918 int nolock = 1; in do_forward_remove() local
2926 forwards_delete_zone(fwd, LDNS_RR_CLASS_IN, nm, nolock); in do_forward_remove()
2940 int nolock = 1; in do_stub_add() local
[all …]
/freebsd/contrib/tcsh/
H A Dcomplete.tcsh669 ld lf logo ls nolisten string noloadxkb nolock nopn \
694 install inwindow mono mousemotion nolock remote \