Home
last modified time | relevance | path

Searched refs:lock_rw_rdlock (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/unbound/util/
H A Dlocks.h111 #define lock_rw_rdlock(lock) LOCKRET(pthread_mutex_lock(lock)) macro
120 #define lock_rw_rdlock(lock) LOCKRET(pthread_rwlock_rdlock(lock)) macro
191 #define lock_rw_rdlock(lock) LOCKRET(rw_rdlock(lock)) macro
229 #define lock_rw_rdlock(lock) lock_basic_lock(lock) macro
265 #define lock_rw_rdlock(lock) /* nop */ macro
H A Dnetevent.c1637 lock_rw_rdlock(&table->conid_lock);
1650 lock_rw_rdlock(&table->lock);
1681 lock_rw_rdlock(&table->lock);
2302 lock_rw_rdlock(&c->doq_socket->table->lock);
2348 lock_rw_rdlock(&c->doq_socket->table->lock);
2829 lock_rw_rdlock(&table->lock);
/freebsd/contrib/unbound/services/
H A Dview.c231 lock_rw_rdlock(&vs->lock); in views_find_view()
239 lock_rw_rdlock(&v->lock); in views_find_view()
H A Dlocalzone.c78 lock_rw_rdlock(&z->lock); in local_zone_print()
89 lock_rw_rdlock(&zones->lock); in local_zones_print()
652 lock_rw_rdlock(&zones->lock); in lz_enter_rr_str()
682 lock_rw_rdlock(&zones->lock); in lz_enter_zone_tag()
738 lock_rw_rdlock(&zones->lock); in lz_enter_override()
815 lock_rw_rdlock(&zones->lock); in lz_exists()
1053 lock_rw_rdlock(&zones->lock); in lz_setup_implicit()
1852 lock_rw_rdlock(&view->lock); in local_zones_answer()
1857 lock_rw_rdlock(&z->lock); in local_zones_answer()
1887 lock_rw_rdlock(&zones->lock); in local_zones_answer()
[all …]
H A Drpz.c1184 lock_rw_rdlock(&zones->lock); in rpz_find_zone()
1198 lock_rw_rdlock(&z->lock); in rpz_find_zone()
1236 lock_rw_rdlock(&zones->lock); in rpz_find_zone()
1248 lock_rw_rdlock(&z->lock); in rpz_find_zone()
1676 lock_rw_rdlock(&set->lock); in rpz_ipbased_trigger_lookup()
1681 lock_rw_rdlock(&raddr->lock); in rpz_ipbased_trigger_lookup()
1710 lock_rw_rdlock(&az->rpz_lock); in rpz_resolve_client_action_and_zone()
1713 lock_rw_rdlock(&a->lock); in rpz_resolve_client_action_and_zone()
2465 lock_rw_rdlock(&az->rpz_lock); in rpz_callback_from_iterator_module()
2477 lock_rw_rdlock(&a->lock); in rpz_callback_from_iterator_module()
[all …]
H A Dauthzone.c3498 lock_rw_rdlock(&az->lock); in auth_zones_lookup()
3506 lock_rw_rdlock(&z->lock); in auth_zones_lookup()
3580 lock_rw_rdlock(&az->lock); in auth_zones_answer()
3601 lock_rw_rdlock(&z->lock); in auth_zones_answer()
3646 lock_rw_rdlock(&az->lock); in auth_zones_can_fallback()
3653 lock_rw_rdlock(&z->lock); in auth_zones_can_fallback()
3843 lock_rw_rdlock(&az->lock); in auth_zones_notify()
3871 lock_rw_rdlock(&az->lock); in auth_zones_startprobesequence()
3897 lock_rw_rdlock(&env->auth_zones->lock); in auth_xfer_set_expired()
5211 lock_rw_rdlock(&env->auth_zones->lock); in xfr_write_after_update()
[all …]
/freebsd/contrib/unbound/iterator/
H A Diter_hints.c490 if(!nolock) { lock_rw_rdlock(&hints->lock); } in hints_find()
516 if(!nolock) { lock_rw_rdlock(&hints->lock); } in hints_lookup_stub()
553 if(!nolock) { lock_rw_rdlock(&hints->lock); } in hints_next_root()
565 lock_rw_rdlock(&hints->lock); in hints_get_mem()
H A Diter_fwd.c373 if(!nolock) { lock_rw_rdlock(&fwd->lock); } in forwards_find()
394 if(!nolock) { lock_rw_rdlock(&fwd->lock); } in forwards_lookup()
484 if(!nolock) { lock_rw_rdlock(&fwd->lock); } in forwards_next_root()
497 lock_rw_rdlock(&fwd->lock); in forwards_get_mem()
H A Diter_utils.c1292 lock_rw_rdlock(&fwd->lock); in iter_get_next_root()
1293 lock_rw_rdlock(&hints->lock); in iter_get_next_root()
1472 lock_rw_rdlock(&qstate->env->fwds->lock); in iter_stub_fwd_no_cache()
1473 lock_rw_rdlock(&qstate->env->hints->lock); in iter_stub_fwd_no_cache()
H A Diterator.c1079 lock_rw_rdlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt()
1086 lock_rw_rdlock(&z->lock); in auth_zone_delegpt()
/freebsd/contrib/unbound/respip/
H A Drespip.c613 lock_rw_rdlock(&rs->lock); in respip_addr_lookup()
630 lock_rw_rdlock(&ra->lock); in respip_addr_lookup()
918 lock_rw_rdlock(&view->lock); in respip_rewrite_reply()
942 lock_rw_rdlock(&az->rpz_lock); in respip_rewrite_reply()
944 lock_rw_rdlock(&a->lock); in respip_rewrite_reply()
/freebsd/contrib/unbound/services/cache/
H A Drrset.c117 lock_rw_rdlock(&key->entry.lock); in rrset_cache_touch()
318 lock_rw_rdlock(&ref[i].key->entry.lock); in rrset_array_lock()
H A Ddns.c97 lock_rw_rdlock(&rep->ref[i].key->entry.lock); in store_rrsets()
119 lock_rw_rdlock(&rep->ref[i].key->entry.lock); in store_rrsets()
/freebsd/contrib/unbound/daemon/
H A Dremote.c2757 lock_rw_rdlock(&az->lock); in do_auth_zone_reload()
2892 lock_rw_rdlock(&fwds->lock); in do_list_forwards()
2923 lock_rw_rdlock(&worker->env.hints->lock); in do_list_stubs()
2953 lock_rw_rdlock(&az->lock); in do_list_auth_zones()
2955 lock_rw_rdlock(&z->lock); in do_list_auth_zones()
2983 lock_rw_rdlock(&zones->lock); in do_list_local_zones()
2985 lock_rw_rdlock(&z->lock); in do_list_local_zones()
3008 lock_rw_rdlock(&zones->lock); in do_list_local_data()
3010 lock_rw_rdlock(&z->lock); in do_list_local_data()
3171 lock_rw_rdlock(&az->lock); in do_rpz_enable_disable()
H A Dstats.c151 lock_rw_rdlock(&sne->biglock); in set_subnet_stats()
331 lock_rw_rdlock(&worker->env.auth_zones->lock); in server_stats_compile()
H A Dcachedump.c110 lock_rw_rdlock(&e->lock); in dump_rrset_lruhash()
262 lock_rw_rdlock(&e->lock); in dump_msg_lruhash()
/freebsd/contrib/unbound/util/storage/
H A Dlruhash.c379 else { lock_rw_rdlock(&entry->lock); } in lruhash_lookup()
579 lock_rw_rdlock(&e->lock); in lruhash_traverse()