Home
last modified time | relevance | path

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

/systemd-251/src/resolve/
Dresolved-dns-answer.c662 int dns_answer_reserve(DnsAnswer **a, size_t n_free) { in dns_answer_reserve() argument
665 if (n_free <= 0) in dns_answer_reserve()
671 n = dns_answer_new(n_free); in dns_answer_reserve()
682 return dns_answer_reserve_internal(*a, n_free); in dns_answer_reserve()
685 int dns_answer_reserve_or_clone(DnsAnswer **a, size_t n_free) { in dns_answer_reserve_or_clone() argument
692 r = dns_answer_reserve(a, n_free); in dns_answer_reserve_or_clone()
699 ns = saturate_add(ns, n_free, UINT16_MAX); in dns_answer_reserve_or_clone()
Dresolved-dns-answer.h73 int dns_answer_reserve(DnsAnswer **a, size_t n_free);
74 int dns_answer_reserve_or_clone(DnsAnswer **a, size_t n_free);