Lines Matching refs:alloc

84 entry_to_repinfo(struct entry* e, struct alloc_cache* alloc,   in entry_to_repinfo()  argument
95 lock_quick_lock(&alloc->lock); in entry_to_repinfo()
96 ret = reply_info_parse(pkt, alloc, qi, rep, region, &edns); in entry_to_repinfo()
97 lock_quick_unlock(&alloc->lock); in entry_to_repinfo()
108 extract_keys(struct entry* e, struct alloc_cache* alloc, in extract_keys() argument
116 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in extract_keys()
126 reply_info_parsedelete(rep, alloc); in extract_keys()
206 verifytest_entry(struct entry* e, struct alloc_cache* alloc, in verifytest_entry() argument
222 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in verifytest_entry()
228 reply_info_parsedelete(rep, alloc); in verifytest_entry()
246 dstest_entry(struct entry* e, struct alloc_cache* alloc, in dstest_entry() argument
261 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in dstest_entry()
283 reply_info_parsedelete(rep, alloc); in dstest_entry()
298 struct alloc_cache alloc; in verifytest_file() local
309 alloc_init(&alloc, NULL, 1); in verifytest_file()
317 dnskey = extract_keys(list, &alloc, region, buf); in verifytest_file()
323 verifytest_entry(e, &alloc, region, buf, dnskey, &env, &ve); in verifytest_file()
326 ub_packed_rrset_parsedelete(dnskey, &alloc); in verifytest_file()
329 alloc_clear(&alloc); in verifytest_file()
343 struct alloc_cache alloc; in dstest_file() local
352 alloc_init(&alloc, NULL, 1); in dstest_file()
360 dstest_entry(e, &alloc, region, buf, &env); in dstest_file()
365 alloc_clear(&alloc); in dstest_file()
421 struct alloc_cache* alloc, struct regional* region, in nsec3_hash_test_entry() argument
437 entry_to_repinfo(e, alloc, region, buf, &qinfo, &rep); in nsec3_hash_test_entry()
457 reply_info_parsedelete(rep, alloc); in nsec3_hash_test_entry()
478 struct alloc_cache alloc; in nsec3_hash_test() local
487 alloc_init(&alloc, NULL, 1); in nsec3_hash_test()
492 nsec3_hash_test_entry(e, &ct, &alloc, region, buf); in nsec3_hash_test()
497 alloc_clear(&alloc); in nsec3_hash_test()