Searched refs:transactions_by_key (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/resolve/ |
D | resolved-dns-transaction.c | 115 first = hashmap_get(t->scope->transactions_by_key, t->key); in dns_transaction_free() 116 LIST_REMOVE(transactions_by_key, first, t); in dns_transaction_free() 118 hashmap_replace(t->scope->transactions_by_key, first->key, first); in dns_transaction_free() 120 hashmap_remove(t->scope->transactions_by_key, t->key); in dns_transaction_free() 265 r = hashmap_ensure_allocated(&s->transactions_by_key, &dns_resource_key_hash_ops); in dns_transaction_new() 297 first = hashmap_get(s->transactions_by_key, t->key); in dns_transaction_new() 298 LIST_PREPEND(transactions_by_key, first, t); in dns_transaction_new() 300 r = hashmap_replace(s->transactions_by_key, first->key, first); in dns_transaction_new() 302 LIST_REMOVE(transactions_by_key, first, t); in dns_transaction_new()
|
D | resolved-dns-scope.h | 61 Hashmap *transactions_by_key; member
|
D | resolved-dns-transaction.h | 140 LIST_FIELDS(DnsTransaction, transactions_by_key);
|
D | resolved-dns-scope.c | 111 hashmap_free(s->transactions_by_key); in dns_scope_free() 1089 first = hashmap_get(scope->transactions_by_key, key); in dns_scope_find_transaction() 1090 LIST_FOREACH(transactions_by_key, t, first) { in dns_scope_find_transaction()
|