Searched refs:by_key (Results 1 - 4 of 4) sorted by relevance
/systemd/src/resolve/ |
H A D | resolved-dns-zone.c | 64 first = hashmap_get(z->by_key, i->rr->key); 65 LIST_REMOVE(by_key, first, i); 67 assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0); 69 hashmap_remove(z->by_key, i->rr->key); 86 while ((i = hashmap_first(z->by_key))) 89 assert(hashmap_size(z->by_key) == 0); 92 z->by_key = hashmap_free(z->by_key); 102 LIST_FOREACH(by_key, i, hashmap_get(z->by_key, r [all...] |
H A D | resolved-dns-cache.c | 57 LIST_FIELDS(DnsCacheItem, by_key); 79 first = hashmap_get(c->by_key, i->key); 80 LIST_REMOVE(by_key, first, i); 83 assert_se(hashmap_replace(c->by_key, first->key, first) >= 0); 85 hashmap_remove(c->by_key, i->key); 96 first = hashmap_get(c->by_key, rr->key); 97 LIST_FOREACH(by_key, i, first) { 116 first = hashmap_remove(c->by_key, key); 120 LIST_FOREACH_SAFE(by_key, i, n, first) { 133 while ((key = hashmap_first_key(c->by_key))) [all...] |
H A D | resolved-dns-zone.h | 25 Hashmap *by_key; member in struct:DnsZone 57 LIST_FIELDS(DnsZoneItem, by_key);
|
H A D | resolved-dns-cache.h | 28 Hashmap *by_key; member in struct:DnsCache
|
Completed in 1305 milliseconds