Lines Matching refs:anchors
2434 /* prelock forwarders for atomic operation with anchors */
2436 if(insecure && worker->env.anchors) {
2437 if(!anchors_add_insecure(worker->env.anchors, LDNS_RR_CLASS_IN,
2467 /* prelock forwarders for atomic operation with anchors */
2469 if(insecure && worker->env.anchors)
2470 anchors_delete_insecure(worker->env.anchors, LDNS_RR_CLASS_IN,
2491 /* prelock forwarders and hints for atomic operation with anchors */
2494 if(insecure && worker->env.anchors) {
2495 if(!anchors_add_insecure(worker->env.anchors, LDNS_RR_CLASS_IN,
2506 if(insecure && worker->env.anchors)
2507 anchors_delete_insecure(worker->env.anchors,
2520 if(insecure && worker->env.anchors)
2521 anchors_delete_insecure(worker->env.anchors,
2544 /* prelock forwarders and hints for atomic operation with anchors */
2547 if(insecure && worker->env.anchors)
2548 anchors_delete_insecure(worker->env.anchors, LDNS_RR_CLASS_IN,
2567 if(worker->env.anchors) {
2568 if(!anchors_add_insecure(worker->env.anchors,
2588 if(worker->env.anchors)
2589 anchors_delete_insecure(worker->env.anchors,
2600 if(worker->env.anchors) {
2601 RBTREE_FOR(a, struct trust_anchor*, worker->env.anchors->tree) {
2988 if(worker->env.anchors &&
2989 (a=anchor_find(worker->env.anchors, z->name,
3018 if(worker->env.anchors &&
3019 (a=anchor_find(worker->env.anchors, z->node.name,
4217 /** construct for trust anchors */
4218 struct val_anchors* anchors;
4679 anchors_delete(ct->anchors);
4948 mem += anchors_get_mem(ct->anchors);
5309 if(fr->worker->env.anchors) {
5310 /* There are trust anchors already, so create it for reload. */
5311 if(!(ct->anchors = anchors_create())) {
5315 if(!anchors_apply_cfg(ct->anchors, newcfg)) {
5997 if(ct->anchors) {
5998 lock_basic_lock(&ct->anchors->lock);
5999 lock_basic_lock(&env->anchors->lock);
6043 anchors_swap_tree(env->anchors, ct->anchors);
6079 if(ct->anchors) {
6080 lock_basic_unlock(&ct->anchors->lock);
6081 lock_basic_unlock(&env->anchors->lock);