Lines Matching refs:alloc

90 entry_to_repinfo(struct entry* e, struct alloc_cache* alloc,   in entry_to_repinfo()  argument
101 lock_quick_lock(&alloc->lock); in entry_to_repinfo()
102 ret = reply_info_parse(pkt, alloc, qi, rep, region, &edns); in entry_to_repinfo()
103 lock_quick_unlock(&alloc->lock); in entry_to_repinfo()
114 extract_keys(struct entry* e, struct alloc_cache* alloc, in extract_keys() argument
122 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in extract_keys()
132 reply_info_parsedelete(rep, alloc); in extract_keys()
214 verifytest_entry(struct entry* e, struct alloc_cache* alloc, in verifytest_entry() argument
230 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in verifytest_entry()
236 reply_info_parsedelete(rep, alloc); in verifytest_entry()
254 dstest_entry(struct entry* e, struct alloc_cache* alloc, in dstest_entry() argument
269 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in dstest_entry()
291 reply_info_parsedelete(rep, alloc); in dstest_entry()
306 struct alloc_cache alloc; in verifytest_file() local
317 alloc_init(&alloc, NULL, 1); in verifytest_file()
325 dnskey = extract_keys(list, &alloc, region, buf); in verifytest_file()
331 verifytest_entry(e, &alloc, region, buf, dnskey, &env, &ve); in verifytest_file()
334 ub_packed_rrset_parsedelete(dnskey, &alloc); in verifytest_file()
337 alloc_clear(&alloc); in verifytest_file()
351 struct alloc_cache alloc; in dstest_file() local
360 alloc_init(&alloc, NULL, 1); in dstest_file()
368 dstest_entry(e, &alloc, region, buf, &env); in dstest_file()
373 alloc_clear(&alloc); in dstest_file()
429 struct alloc_cache* alloc, struct regional* region, in nsec3_hash_test_entry() argument
445 entry_to_repinfo(e, alloc, region, buf, &qinfo, &rep); in nsec3_hash_test_entry()
469 reply_info_parsedelete(rep, alloc); in nsec3_hash_test_entry()
490 struct alloc_cache alloc; in nsec3_hash_test() local
499 alloc_init(&alloc, NULL, 1); in nsec3_hash_test()
504 nsec3_hash_test_entry(e, &ct, &alloc, region, buf); in nsec3_hash_test()
509 alloc_clear(&alloc); in nsec3_hash_test()