Home
last modified time | relevance | path

Searched refs:ztree (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/unbound/services/
H A Dlocalzone.c90 log_info("number of auth zones %u", (unsigned)zones->ztree.count); in local_zones_print()
91 RBTREE_FOR(z, struct local_zone*, &zones->ztree) { in local_zones_print()
104 rbtree_init(&zones->ztree, &local_zone_cmp); in local_zones_create()
106 lock_protect(&zones->lock, &zones->ztree, sizeof(zones->ztree)); in local_zones_create()
126 traverse_postorder(&zones->ztree, lzdel, NULL); in local_zones_delete()
224 if(!rbtree_insert(&zones->ztree, &z->node)) { in lz_enter_zone_dname()
816 if(rbtree_search(&zones->ztree, &z.node)) { in lz_exists()
1015 RBTREE_FOR(node, struct local_zone*, &zones->ztree) { in lz_init_parents()
1249 rbtree_find_less_equal(&zones->ztree, &key, &res); in local_zones_tags_lookup()
1279 return (struct local_zone*)rbtree_search(&zones->ztree, &key); in local_zones_find()
[all …]
H A Dlocalzone.h119 rbtree_type ztree; member
H A Dauthzone.h76 rbtree_type ztree; member
H A Dauthzone.c301 rbtree_init(&az->ztree, &auth_zone_cmp); in auth_zones_create()
304 lock_protect(&az->lock, &az->ztree, sizeof(az->ztree)); in auth_zones_create()
439 if(!rbtree_insert(&az->ztree, &z->node)) { in auth_zone_create()
458 return (struct auth_zone*)rbtree_search(&az->ztree, &key); in auth_zone_find()
485 return rbtree_find_less_equal(&az->ztree, &key, (rbnode_type**)z); in auth_zone_find_less_equal()
1791 RBTREE_FOR(z, struct auth_zone*, &az->ztree) { in auth_zones_read_zones()
2069 RBTREE_FOR(z, struct auth_zone*, &az->ztree) { in auth_zones_setup_zones()
2199 RBTREE_FOR(z, struct auth_zone*, &az->ztree) { in az_setall_deleted()
2217 RBTREE_FOR(z, struct auth_zone*, &az->ztree) { in az_delete_deleted_zones()
2238 (void)rbtree_delete(&az->ztree, &z->node); in az_delete_deleted_zones()
[all …]
/freebsd/contrib/unbound/daemon/
H A Dremote.c2954 RBTREE_FOR(z, struct auth_zone*, &az->ztree) { in do_list_auth_zones()
2984 RBTREE_FOR(z, struct local_zone*, &zones->ztree) { in do_list_local_zones()
3009 RBTREE_FOR(z, struct local_zone*, &zones->ztree) { in do_list_local_data()