Lines Matching refs:alloc

54 #include "util/alloc.h"
84 entry_to_repinfo(struct entry* e, struct alloc_cache* alloc,
91 /* lock alloc lock to please lock checking software.
92 * alloc_special_obtain assumes it is talking to a ub-alloc,
93 * and does not need to perform locking. Here the alloc is
95 lock_quick_lock(&alloc->lock);
96 ret = reply_info_parse(pkt, alloc, qi, rep, region, &edns);
97 lock_quick_unlock(&alloc->lock);
108 extract_keys(struct entry* e, struct alloc_cache* alloc,
116 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep);
126 reply_info_parsedelete(rep, alloc);
208 verifytest_entry(struct entry* e, struct alloc_cache* alloc,
224 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep);
230 reply_info_parsedelete(rep, alloc);
248 dstest_entry(struct entry* e, struct alloc_cache* alloc,
263 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep);
285 reply_info_parsedelete(rep, alloc);
300 struct alloc_cache alloc;
311 alloc_init(&alloc, NULL, 1);
319 dnskey = extract_keys(list, &alloc, region, buf);
325 verifytest_entry(e, &alloc, region, buf, dnskey, &env, &ve);
328 ub_packed_rrset_parsedelete(dnskey, &alloc);
331 alloc_clear(&alloc);
345 struct alloc_cache alloc;
354 alloc_init(&alloc, NULL, 1);
362 dstest_entry(e, &alloc, region, buf, &env);
367 alloc_clear(&alloc);
423 struct alloc_cache* alloc, struct regional* region,
439 entry_to_repinfo(e, alloc, region, buf, &qinfo, &rep);
459 reply_info_parsedelete(rep, alloc);
480 struct alloc_cache alloc;
489 alloc_init(&alloc, NULL, 1);
494 nsec3_hash_test_entry(e, &ct, &alloc, region, buf);
499 alloc_clear(&alloc);