Lines Matching refs:by_name
71 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
72 LIST_REMOVE(by_name, first, i);
74 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0);
76 hashmap_remove(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
90 assert(hashmap_size(z->by_name) == 0);
93 z->by_name = hashmap_free(z->by_name);
129 r = hashmap_ensure_allocated(&z->by_name, &dns_name_hash_ops);
150 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
152 LIST_PREPEND(by_name, first, i);
153 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0);
155 r = hashmap_put(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key), i);
257 LIST_FIND_HEAD(by_name, i, first);
258 LIST_FOREACH(by_name, j, first) {
306 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
307 LIST_FOREACH(by_name, j, first) {
342 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
343 LIST_FOREACH(by_name, j, first) {
373 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
374 LIST_FOREACH(by_name, j, first) {
421 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
422 LIST_FOREACH(by_name, j, first) {
565 first = hashmap_get(zone->by_name, DNS_RESOURCE_KEY_NAME(rr->key));
576 LIST_FOREACH(by_name, i, first) {
596 first = hashmap_get(zone->by_name, DNS_RESOURCE_KEY_NAME(key));
600 LIST_FOREACH(by_name, i, first) {