Home
last modified time | relevance | path

Searched refs:prioq_size (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-prioq.c31 n = prioq_size(q); in TEST()
38 assert_se(prioq_size(q) == ELEMENTSOF(buffer) - i); in TEST()
108 assert_se(prioq_size(q) == (SET_SIZE * 3 / 4) - i); in TEST()
/systemd-251/src/basic/
Dprioq.h32 unsigned prioq_size(Prioq *q) _pure_;
Dprioq.c296 unsigned prioq_size(Prioq *q) { in prioq_size() function
/systemd-251/src/resolve/
Dresolved-dns-cache.c164 assert(prioq_size(c->by_expiry) == 0); 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()
/systemd-251/src/journal/
Djournald-context.c595 unsigned n = prioq_size(s->client_contexts_lru), idx = 0; in client_context_try_shrink_to()
642 assert(prioq_size(s->client_contexts_lru) == 0); in client_context_flush_all()