Home
last modified time | relevance | path

Searched refs:lock_rw_wrlock (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/unbound/util/
H A Dlocks.h112 #define lock_rw_wrlock(lock) LOCKRET(pthread_mutex_lock(lock)) macro
121 #define lock_rw_wrlock(lock) LOCKRET(pthread_rwlock_wrlock(lock)) macro
192 #define lock_rw_wrlock(lock) LOCKRET(rw_wrlock(lock)) macro
230 #define lock_rw_wrlock(lock) lock_basic_lock(lock) macro
266 #define lock_rw_wrlock(lock) /* nop */ macro
H A Dnetevent.c1945 lock_rw_wrlock(&c->doq_socket->table->lock);
1996 lock_rw_wrlock(&c->doq_socket->table->lock);
2146 lock_rw_wrlock(&c->doq_socket->table->lock);
2213 lock_rw_wrlock(&c->doq_socket->table->lock);
2272 lock_rw_wrlock(&c->doq_socket->table->lock);
2317 lock_rw_wrlock(&c->doq_socket->table->lock);
2407 lock_rw_wrlock(&doq_socket->table->lock);
2436 lock_rw_wrlock(&doq_socket->table->lock);
/freebsd/contrib/unbound/services/
H A Dview.c131 lock_rw_wrlock(&vs->lock); in views_enter_view_name()
132 lock_rw_wrlock(&v->lock); in views_enter_view_name()
237 lock_rw_wrlock(&v->lock); in views_find_view()
H A Drpz.c434 lock_rw_wrlock(&r->respip_set->lock); in rpz_finish_config()
438 lock_rw_wrlock(&r->client_set->lock); in rpz_finish_config()
442 lock_rw_wrlock(&r->ns_set->lock); in rpz_finish_config()
688 lock_rw_wrlock(&lz->lock); in rpz_insert_local_zones_trigger()
727 lock_rw_wrlock(&z->lock); in rpz_insert_local_zones_trigger()
831 lock_rw_wrlock(&set->lock); in rpz_insert_ipaddr_based_trigger()
846 lock_rw_wrlock(&node->lock); in rpz_insert_ipaddr_based_trigger()
972 lock_rw_wrlock(&set->lock); in rpz_clientip_insert_trigger_rr()
981 lock_rw_wrlock(&node->lock); in rpz_clientip_insert_trigger_rr()
1182 lock_rw_wrlock(&zones->lock); in rpz_find_zone()
[all …]
H A Dlocalzone.c222 lock_rw_wrlock(&zones->lock); in lz_enter_zone_dname()
223 lock_rw_wrlock(&z->lock); in lz_enter_zone_dname()
235 lock_rw_wrlock(&z->lock); in lz_enter_zone_dname()
658 lock_rw_wrlock(&z->lock); in lz_enter_rr_str()
689 lock_rw_wrlock(&z->lock); in lz_enter_zone_tag()
745 lock_rw_wrlock(&z->lock); in lz_enter_override()
1014 lock_rw_wrlock(&zones->lock); in lz_init_parents()
1016 lock_rw_wrlock(&node->lock); in lz_init_parents()
2022 lock_rw_wrlock(&p->lock); in set_kiddo_parents()
2042 lock_rw_wrlock(&z->lock); in local_zones_add_zone()
[all …]
H A Dauthzone.c399 lock_rw_wrlock(&az->rpz_lock); in auth_zone_delete()
436 lock_rw_wrlock(&z->lock); in auth_zone_create()
538 lock_rw_wrlock(&z->lock); in auth_zones_find_or_add_zone()
1790 lock_rw_wrlock(&az->lock); in auth_zones_read_zones()
1792 lock_rw_wrlock(&z->lock); in auth_zones_read_zones()
2068 lock_rw_wrlock(&az->lock); in auth_zones_setup_zones()
2070 lock_rw_wrlock(&z->lock); in auth_zones_setup_zones()
2103 lock_rw_wrlock(&az->rpz_lock); in auth_zones_cfg()
2105 lock_rw_wrlock(&az->lock); in auth_zones_cfg()
2198 lock_rw_wrlock(&az->lock); in az_setall_deleted()
[all …]
H A Dlisten_dnsport.c3602 lock_rw_wrlock(&conn->table->conid_lock); in doq_conn_delete()
4190 lock_rw_wrlock(&doq_conn->table->conid_lock); in doq_get_new_connection_id_cb()
4216 lock_rw_wrlock(&doq_conn->table->conid_lock); in doq_remove_connection_id_cb()
4824 lock_rw_wrlock(&conn->table->conid_lock); in doq_conn_setup()
/freebsd/contrib/unbound/util/storage/
H A Dlruhash.c209 lock_rw_wrlock(&d->lock); in reclaim_space()
341 lock_rw_wrlock(&found->lock); in lruhash_insert()
378 if(wr) { lock_rw_wrlock(&entry->lock); } in lruhash_lookup()
410 lock_rw_wrlock(&entry->lock); in lruhash_remove()
431 lock_rw_wrlock(&p->lock); in bin_clear()
577 lock_rw_wrlock(&e->lock); in lruhash_traverse()
641 lock_rw_wrlock(&found->lock); in lruhash_insert_or_retrieve()
655 lock_rw_wrlock(&found->lock); in lruhash_insert_or_retrieve()
/freebsd/contrib/unbound/iterator/
H A Diter_fwd.c346 lock_rw_wrlock(&fwd->lock); in forwards_apply_cfg()
523 if(!nolock) { lock_rw_wrlock(&fwd->lock); } in forwards_add_zone()
543 if(!nolock) { lock_rw_wrlock(&fwd->lock); } in forwards_delete_zone()
559 if(!nolock) { lock_rw_wrlock(&fwd->lock); } in forwards_add_stub_hole()
579 if(!nolock) { lock_rw_wrlock(&fwd->lock); } in forwards_delete_stub_hole()
H A Diter_hints.c445 lock_rw_wrlock(&hints->lock); in hints_apply_cfg()
580 if(!nolock) { lock_rw_wrlock(&hints->lock); } in hints_add_stub()
603 if(!nolock) { lock_rw_wrlock(&hints->lock); } in hints_delete_stub()
H A Diterator.c2744 lock_rw_wrlock(&qstate->env->auth_zones->lock); in processQueryTargets()
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c402 lock_rw_wrlock(&lru_entry->lock); in update_cache()
561 lock_rw_wrlock(&sne->biglock); in eval_response()
602 lock_rw_wrlock(&sne->biglock); in eval_response()
871 lock_rw_wrlock(&sne->biglock); in subnetmod_operate()
/freebsd/contrib/unbound/daemon/
H A Dremote.c1226 lock_rw_wrlock(&zones->lock); in perform_zone_add()
1230 lock_rw_wrlock(&z->lock); in perform_zone_add()
1294 lock_rw_wrlock(&zones->lock); in perform_zone_remove()
2345 lock_rw_wrlock(&fwd->lock); in do_forward_add()
2378 lock_rw_wrlock(&fwd->lock); in do_forward_remove()
2402 lock_rw_wrlock(&fwd->lock); in do_stub_add()
2403 lock_rw_wrlock(&worker->env.hints->lock); in do_stub_add()
2455 lock_rw_wrlock(&fwd->lock); in do_stub_remove()
2456 lock_rw_wrlock(&worker->env.hints->lock); in do_stub_remove()
2760 lock_rw_wrlock(&z->lock); in do_auth_zone_reload()
[all …]
H A Dstats.c149 lock_rw_wrlock(&sne->biglock); in set_subnet_stats()
329 lock_rw_wrlock(&worker->env.auth_zones->lock); in server_stats_compile()
/freebsd/contrib/unbound/libunbound/
H A Dlibunbound.c1376 lock_rw_wrlock(&ctx->local_zones->lock); in ub_ctx_zone_add()
1380 lock_rw_wrlock(&z->lock); in ub_ctx_zone_add()
1411 lock_rw_wrlock(&ctx->local_zones->lock); in ub_ctx_zone_remove()
/freebsd/contrib/unbound/services/cache/
H A Drrset.c180 lock_rw_wrlock(&ref->key->entry.lock); in rrset_update_id()