Home
last modified time | relevance | path

Searched refs:lock_rw_unlock (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/unbound/services/
H A Dview.c135 lock_rw_unlock(&v->lock); in views_enter_view_name()
137 lock_rw_unlock(&vs->lock); in views_enter_view_name()
140 lock_rw_unlock(&vs->lock); in views_enter_view_name()
163 lock_rw_unlock(&v->lock); in views_apply_cfg()
186 lock_rw_unlock(&v->lock); in views_apply_cfg()
193 lock_rw_unlock(&v->lock); in views_apply_cfg()
202 lock_rw_unlock(&v->lock); in views_apply_cfg()
208 lock_rw_unlock(&v->lock); in views_apply_cfg()
218 lock_rw_unlock(&v->lock); in views_apply_cfg()
233 lock_rw_unlock(&vs->lock); in views_find_view()
[all …]
H A Drpz.c436 lock_rw_unlock(&r->respip_set->lock); in rpz_finish_config()
440 lock_rw_unlock(&r->client_set->lock); in rpz_finish_config()
444 lock_rw_unlock(&r->ns_set->lock); in rpz_finish_config()
696 lock_rw_unlock(&lz->lock); in rpz_insert_local_zones_trigger()
704 lock_rw_unlock(&lz->lock); in rpz_insert_local_zones_trigger()
713 lock_rw_unlock(&lz->lock); in rpz_insert_local_zones_trigger()
724 lock_rw_unlock(&lz->lock); in rpz_insert_local_zones_trigger()
730 lock_rw_unlock(&z->lock); in rpz_insert_local_zones_trigger()
736 lock_rw_unlock(&lz->lock); in rpz_insert_local_zones_trigger()
835 lock_rw_unlock(&set->lock); in rpz_insert_ipaddr_based_trigger()
[all …]
H A Dlocalzone.c83 lock_rw_unlock(&z->lock); in local_zone_print()
94 lock_rw_unlock(&zones->lock); in local_zones_print()
229 lock_rw_unlock(&z->lock); in lz_enter_zone_dname()
236 lock_rw_unlock(&zones->lock); in lz_enter_zone_dname()
240 lock_rw_unlock(&zones->lock); in lz_enter_zone_dname()
655 lock_rw_unlock(&zones->lock); in lz_enter_rr_str()
659 lock_rw_unlock(&zones->lock); in lz_enter_rr_str()
662 lock_rw_unlock(&z->lock); in lz_enter_rr_str()
685 lock_rw_unlock(&zones->lock); in lz_enter_zone_tag()
690 lock_rw_unlock(&zones->lock); in lz_enter_zone_tag()
[all …]
H A Dauthzone.c406 lock_rw_unlock(&az->rpz_lock); in auth_zone_delete()
440 lock_rw_unlock(&z->lock); in auth_zone_create()
1794 lock_rw_unlock(&z->lock); in auth_zones_read_zones()
1795 lock_rw_unlock(&az->lock); in auth_zones_read_zones()
1800 lock_rw_unlock(&z->lock); in auth_zones_read_zones()
1802 lock_rw_unlock(&az->lock); in auth_zones_read_zones()
2079 lock_rw_unlock(&z->lock); in auth_zones_setup_zones()
2080 lock_rw_unlock(&az->lock); in auth_zones_setup_zones()
2086 lock_rw_unlock(&z->lock); in auth_zones_setup_zones()
2088 lock_rw_unlock(&az->lock); in auth_zones_setup_zones()
[all …]
H A Dlisten_dnsport.c3604 lock_rw_unlock(&conn->table->conid_lock); in doq_conn_delete()
4192 lock_rw_unlock(&doq_conn->table->conid_lock); in doq_get_new_connection_id_cb()
4199 lock_rw_unlock(&doq_conn->table->conid_lock); in doq_get_new_connection_id_cb()
4203 lock_rw_unlock(&doq_conn->table->conid_lock); in doq_get_new_connection_id_cb()
4206 lock_rw_unlock(&doq_conn->table->conid_lock); in doq_get_new_connection_id_cb()
4218 lock_rw_unlock(&doq_conn->table->conid_lock); in doq_remove_connection_id_cb()
4826 lock_rw_unlock(&conn->table->conid_lock); in doq_conn_setup()
4833 lock_rw_unlock(&conn->table->conid_lock); in doq_conn_setup()
4839 lock_rw_unlock(&conn->table->conid_lock); in doq_conn_setup()
4843 lock_rw_unlock(&conn->table->conid_lock); in doq_conn_setup()
/freebsd/contrib/unbound/services/cache/
H A Ddns.c104 lock_rw_unlock(&rep->ref[i].key->entry.lock); in store_rrsets()
127 lock_rw_unlock(&rep->ref[i].key->entry.lock); in store_rrsets()
238 lock_rw_unlock(&rrset->entry.lock); in find_closest_of_type()
299 lock_rw_unlock(&e->lock); in msg_cache_lookup()
319 lock_rw_unlock(&akey->entry.lock); in find_add_addrs()
324 lock_rw_unlock(&akey->entry.lock); in find_add_addrs()
332 lock_rw_unlock(&neg->entry.lock); in find_add_addrs()
339 lock_rw_unlock(&akey->entry.lock); in find_add_addrs()
344 lock_rw_unlock(&akey->entry.lock); in find_add_addrs()
359 lock_rw_unlock(&neg->entry.lock); in find_add_addrs()
[all …]
H A Drrset.c121 lock_rw_unlock(&key->entry.lock); in rrset_cache_touch()
186 lock_rw_unlock(&ref->key->entry.lock); in rrset_update_id()
216 lock_rw_unlock(&e->lock); in rrset_cache_update()
221 lock_rw_unlock(&e->lock); in rrset_cache_update()
302 lock_rw_unlock(&e->lock); in rrset_cache_lookup()
337 lock_rw_unlock(&ref[i].key->entry.lock); in rrset_array_unlock()
358 lock_rw_unlock(&ref[i].key->entry.lock); in rrset_array_unlock_touch()
387 lock_rw_unlock(&e->lock); in rrset_update_sec_status()
407 lock_rw_unlock(&e->lock); in rrset_update_sec_status()
427 lock_rw_unlock(&e->lock); in rrset_check_sec_status()
[all …]
H A Dinfra.c563 lock_rw_unlock(&e->lock); in infra_host()
602 lock_rw_unlock(&e->lock); in infra_host()
615 lock_rw_unlock(&e->lock); in infra_host()
653 else { lock_rw_unlock(&e->lock); } in infra_set_lame()
672 lock_rw_unlock(&e->lock); in infra_update_tcp_works()
734 else { lock_rw_unlock(&e->lock); } in infra_rtt_update()
759 lock_rw_unlock(&e->lock); in infra_get_host_rto()
790 else { lock_rw_unlock(&e->lock); } in infra_edns_update()
834 lock_rw_unlock(&e->lock); in infra_get_lame_rtt()
841 lock_rw_unlock(&e->lock); in infra_get_lame_rtt()
[all …]
/freebsd/contrib/unbound/iterator/
H A Diter_fwd.c349 lock_rw_unlock(&fwd->lock); in forwards_apply_cfg()
353 lock_rw_unlock(&fwd->lock); in forwards_apply_cfg()
357 lock_rw_unlock(&fwd->lock); in forwards_apply_cfg()
376 if(!has_dp && !nolock) { lock_rw_unlock(&fwd->lock); } in forwards_find()
403 if(!nolock) { lock_rw_unlock(&fwd->lock); } in forwards_lookup()
416 if(!has_dp && !nolock) { lock_rw_unlock(&fwd->lock); } in forwards_lookup()
486 if(!nolock) { lock_rw_unlock(&fwd->lock); } in forwards_next_root()
502 lock_rw_unlock(&fwd->lock); in forwards_get_mem()
529 if(!nolock) { lock_rw_unlock(&fwd->lock); } in forwards_add_zone()
533 if(!nolock) { lock_rw_unlock(&fwd->lock); } in forwards_add_zone()
[all …]
H A Diter_hints.c451 lock_rw_unlock(&hints->lock); in hints_apply_cfg()
457 lock_rw_unlock(&hints->lock); in hints_apply_cfg()
467 lock_rw_unlock(&hints->lock); in hints_apply_cfg()
471 lock_rw_unlock(&hints->lock); in hints_apply_cfg()
477 lock_rw_unlock(&hints->lock); in hints_apply_cfg()
494 if(!has_dp && !nolock) { lock_rw_unlock(&hints->lock); } in hints_find()
520 if(!nolock) { lock_rw_unlock(&hints->lock); } in hints_lookup_stub()
528 if(!nolock) { lock_rw_unlock(&hints->lock); } in hints_lookup_stub()
545 if(!nolock) { lock_rw_unlock(&hints->lock); } in hints_lookup_stub()
555 if(!nolock) { lock_rw_unlock(&hints->lock); } in hints_next_root()
[all …]
H A Diter_utils.c1236 lock_rw_unlock(&akey->entry.lock); in iter_lookup_parent_NS_from_cache()
1239 lock_rw_unlock(&akey->entry.lock); in iter_lookup_parent_NS_from_cache()
1264 lock_rw_unlock(&akey->entry.lock); in iter_lookup_parent_glue_from_cache()
1276 lock_rw_unlock(&akey->entry.lock); in iter_lookup_parent_glue_from_cache()
1296 lock_rw_unlock(&fwd->lock); in iter_get_next_root()
1297 lock_rw_unlock(&hints->lock); in iter_get_next_root()
1492 lock_rw_unlock(&qstate->env->fwds->lock); in iter_stub_fwd_no_cache()
1503 lock_rw_unlock(&qstate->env->hints->lock); in iter_stub_fwd_no_cache()
1513 lock_rw_unlock(&qstate->env->hints->lock); in iter_stub_fwd_no_cache()
1520 lock_rw_unlock(&qstate->env->hints->lock); in iter_stub_fwd_no_cache()
[all …]
H A Diterator.c350 lock_rw_unlock(&msg->entry.lock); in error_response_cache()
353 lock_rw_unlock(&msg->entry.lock); in error_response_cache()
710 lock_rw_unlock(&env->hints->lock); in can_have_last_resort()
715 lock_rw_unlock(&env->hints->lock); in can_have_last_resort()
723 lock_rw_unlock(&env->fwds->lock); in can_have_last_resort()
728 if(dp) { lock_rw_unlock(&env->fwds->lock); } in can_have_last_resort()
926 lock_rw_unlock(&qstate->env->hints->lock); in prime_root()
937 lock_rw_unlock(&qstate->env->hints->lock); in prime_root()
950 lock_rw_unlock(&qstate->env->hints->lock); in prime_root()
993 lock_rw_unlock(&qstate->env->hints->lock); in prime_stub()
[all …]
/freebsd/contrib/unbound/daemon/
H A Dremote.c1232 lock_rw_unlock(&z->lock); in perform_zone_add()
1234 lock_rw_unlock(&zones->lock); in perform_zone_add()
1239 lock_rw_unlock(&zones->lock); in perform_zone_add()
1243 lock_rw_unlock(&zones->lock); in perform_zone_add()
1300 lock_rw_unlock(&zones->lock); in perform_zone_remove()
1480 lock_rw_unlock(&v->lock); in do_view_zone_add()
1494 lock_rw_unlock(&v->lock); in do_view_zone_add()
1512 lock_rw_unlock(&v->lock); in do_view_zone_remove()
1517 lock_rw_unlock(&v->lock); in do_view_zone_remove()
1536 lock_rw_unlock(&v->lock); in do_view_data_add()
[all …]
H A Dcachedump.c113 lock_rw_unlock(&e->lock); in dump_rrset_lruhash()
116 lock_rw_unlock(&e->lock); in dump_rrset_lruhash()
265 lock_rw_unlock(&e->lock); in dump_msg_lruhash()
268 lock_rw_unlock(&e->lock); in dump_msg_lruhash()
620 lock_rw_unlock(&k->entry.lock); in load_ref()
858 lock_rw_unlock(&worker->env.fwds->lock); in print_deleg_lookup()
863 lock_rw_unlock(&worker->env.fwds->lock); in print_deleg_lookup()
906 lock_rw_unlock(&worker->env.hints->lock); in print_deleg_lookup()
912 lock_rw_unlock(&worker->env.hints->lock); in print_deleg_lookup()
918 lock_rw_unlock(&worker->env.hints->lock); in print_deleg_lookup()
H A Dstats.c159 lock_rw_unlock(&sne->biglock); in set_subnet_stats()
341 lock_rw_unlock(&worker->env.auth_zones->lock); in server_stats_compile()
H A Dworker.c1855 lock_rw_unlock(&e->lock); in worker_handle_request()
1869 lock_rw_unlock(&e->lock); in worker_handle_request()
1875 lock_rw_unlock(&e->lock); in worker_handle_request()
1897 lock_rw_unlock(&e->lock); in worker_handle_request()
/freebsd/contrib/unbound/util/
H A Dlocks.h113 #define lock_rw_unlock(lock) LOCKRET(pthread_mutex_unlock(lock)) macro
122 #define lock_rw_unlock(lock) LOCKRET(pthread_rwlock_unlock(lock)) macro
193 #define lock_rw_unlock(lock) LOCKRET(rw_unlock(lock)) macro
231 #define lock_rw_unlock(lock) lock_basic_unlock(lock) macro
267 #define lock_rw_unlock(lock) /* nop */ macro
H A Dnetevent.c1647 lock_rw_unlock(&table->conid_lock);
1659 lock_rw_unlock(&table->lock);
1664 lock_rw_unlock(&table->lock);
1668 lock_rw_unlock(&table->lock);
1671 lock_rw_unlock(&table->conid_lock);
1690 lock_rw_unlock(&table->lock);
1693 lock_rw_unlock(&table->lock);
1963 lock_rw_unlock(&c->doq_socket->table->lock);
1999 lock_rw_unlock(&c->doq_socket->table->lock);
2006 lock_rw_unlock(&c->doq_socket->table->lock);
[all …]
/freebsd/contrib/unbound/respip/
H A Drespip.c443 lock_rw_unlock(&v->lock); in respip_views_apply_cfg()
449 lock_rw_unlock(&v->lock); in respip_views_apply_cfg()
631 lock_rw_unlock(&rs->lock); in respip_addr_lookup()
636 lock_rw_unlock(&rs->lock); in respip_addr_lookup()
930 lock_rw_unlock(&view->lock); in respip_rewrite_reply()
954 lock_rw_unlock(&raddr->lock); in respip_rewrite_reply()
955 lock_rw_unlock(&a->lock); in respip_rewrite_reply()
956 lock_rw_unlock(&az->rpz_lock); in respip_rewrite_reply()
979 lock_rw_unlock(&raddr->lock); in respip_rewrite_reply()
984 lock_rw_unlock(&a->lock); in respip_rewrite_reply()
[all …]
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c408 lock_rw_unlock(&lru_entry->lock); in update_cache()
416 lock_rw_unlock(&lru_entry->lock); in update_cache()
439 lock_rw_unlock(&lru_entry->lock); in update_cache()
475 lock_rw_unlock(&e->lock); in lookup_and_reply()
481 lock_rw_unlock(&e->lock); in lookup_and_reply()
489 lock_rw_unlock(&e->lock); in lookup_and_reply()
563 lock_rw_unlock(&sne->biglock); in eval_response()
607 lock_rw_unlock(&sne->biglock); in eval_response()
876 lock_rw_unlock(&sne->biglock); in subnetmod_operate()
892 lock_rw_unlock(&sne->biglock); in subnetmod_operate()
/freebsd/contrib/unbound/validator/
H A Dval_kcache.c138 lock_rw_unlock(&k->entry.lock); in key_cache_obtain()
141 lock_rw_unlock(&k->entry.lock); in key_cache_obtain()
H A Dval_neg.c1071 lock_rw_unlock(&k->entry.lock); in grab_nsec()
1078 lock_rw_unlock(&k->entry.lock); in grab_nsec()
1086 lock_rw_unlock(&k->entry.lock); in grab_nsec()
1092 lock_rw_unlock(&k->entry.lock); in grab_nsec()
1371 lock_rw_unlock(&soa->entry.lock); in add_soa()
1374 lock_rw_unlock(&soa->entry.lock); in add_soa()
1462 lock_rw_unlock(&cache_wc->entry.lock); in val_neg_getmsg()
1467 lock_rw_unlock(&cache_wc->entry.lock); in val_neg_getmsg()
1470 lock_rw_unlock(&cache_wc->entry.lock); in val_neg_getmsg()
/freebsd/contrib/unbound/util/storage/
H A Dlruhash.c213 lock_rw_unlock(&d->lock); in reclaim_space()
344 lock_rw_unlock(&found->lock); in lruhash_insert()
413 lock_rw_unlock(&entry->lock); in lruhash_remove()
436 lock_rw_unlock(&p->lock); in bin_clear()
582 lock_rw_unlock(&e->lock); in lruhash_traverse()
/freebsd/contrib/unbound/libunbound/
H A Dlibunbound.c1382 lock_rw_unlock(&z->lock); in ub_ctx_zone_add()
1383 lock_rw_unlock(&ctx->local_zones->lock); in ub_ctx_zone_add()
1389 lock_rw_unlock(&ctx->local_zones->lock); in ub_ctx_zone_add()
1392 lock_rw_unlock(&ctx->local_zones->lock); in ub_ctx_zone_add()
1417 lock_rw_unlock(&ctx->local_zones->lock); in ub_ctx_zone_remove()
/freebsd/contrib/unbound/dnscrypt/
H A Ddnscrypt.c282 lock_rw_unlock(&entry->lock); in dnscrypt_server_uncurve()
334 lock_rw_unlock(&entry->lock); in dnscrypt_server_uncurve()

12