Lines Matching refs:by_name

55         first = hashmap_get(z->by_name, dns_resource_key_name(i->rr->key));  in dns_zone_item_remove_and_free()
56 LIST_REMOVE(by_name, first, i); in dns_zone_item_remove_and_free()
58 … assert_se(hashmap_replace(z->by_name, dns_resource_key_name(first->rr->key), first) >= 0); in dns_zone_item_remove_and_free()
60 hashmap_remove(z->by_name, dns_resource_key_name(i->rr->key)); in dns_zone_item_remove_and_free()
74 assert(hashmap_size(z->by_name) == 0); in dns_zone_flush()
77 z->by_name = hashmap_free(z->by_name); in dns_zone_flush()
129 r = hashmap_ensure_allocated(&z->by_name, &dns_name_hash_ops); in dns_zone_init()
150 first = hashmap_get(z->by_name, dns_resource_key_name(i->rr->key)); in dns_zone_link_item()
152 LIST_PREPEND(by_name, first, i); in dns_zone_link_item()
153 … assert_se(hashmap_replace(z->by_name, dns_resource_key_name(first->rr->key), first) >= 0); in dns_zone_link_item()
155 r = hashmap_put(z->by_name, dns_resource_key_name(i->rr->key), i); in dns_zone_link_item()
257 LIST_FOREACH_OTHERS(by_name, j, i) in dns_zone_put()
322 first = hashmap_get(z->by_name, dns_resource_key_name(key)); in dns_zone_lookup()
323 LIST_FOREACH(by_name, j, first) { in dns_zone_lookup()
358 first = hashmap_get(z->by_name, dns_resource_key_name(key)); in dns_zone_lookup()
359 LIST_FOREACH(by_name, j, first) { in dns_zone_lookup()
389 first = hashmap_get(z->by_name, dns_resource_key_name(key)); in dns_zone_lookup()
390 LIST_FOREACH(by_name, j, first) { in dns_zone_lookup()
437 first = hashmap_get(z->by_name, dns_resource_key_name(key)); in dns_zone_lookup()
438 LIST_FOREACH(by_name, j, first) { in dns_zone_lookup()
582 first = hashmap_get(zone->by_name, dns_resource_key_name(rr->key)); in dns_zone_check_conflicts()
597 LIST_FOREACH(by_name, i, first) { in dns_zone_check_conflicts()
617 first = hashmap_get(zone->by_name, dns_resource_key_name(key)); in dns_zone_verify_conflicts()
621 LIST_FOREACH(by_name, i, first) { in dns_zone_verify_conflicts()
674 first = hashmap_get(z->by_name, name); in dns_zone_contains_name()
678 LIST_FOREACH(by_name, i, first) { in dns_zone_contains_name()