Home
last modified time | relevance | path

Searched refs:by_expiry (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-cache.c114 prioq_remove(c->by_expiry, i, &i->prioq_idx); in dns_cache_item_unlink_and_free()
148 prioq_remove(c->by_expiry, i, &i->prioq_idx); in dns_cache_remove_by_key()
164 assert(prioq_size(c->by_expiry) == 0); in dns_cache_flush()
167 c->by_expiry = prioq_free(c->by_expiry); in dns_cache_flush()
185 if (prioq_size(c->by_expiry) <= 0) in dns_cache_make_space()
188 if (prioq_size(c->by_expiry) + add < CACHE_MAX) in dns_cache_make_space()
191 i = prioq_peek(c->by_expiry); in dns_cache_make_space()
212 i = prioq_peek(c->by_expiry); in dns_cache_prune()
253 r = prioq_ensure_allocated(&c->by_expiry, dns_cache_item_prioq_compare_func); in dns_cache_init()
271 r = prioq_put(c->by_expiry, i, &i->prioq_idx); in dns_cache_link_item()
[all …]
Dresolved-dns-cache.h13 Prioq *by_expiry; member