/netbsd-src/external/bsd/unbound/dist/util/ |
H A D | alloc.h | 72 struct alloc_cache { struct 76 struct alloc_cache* super; argument 107 void alloc_init(struct alloc_cache* alloc, struct alloc_cache* super, argument 116 void alloc_clear(struct alloc_cache* alloc); 124 void alloc_clear_special(struct alloc_cache* alloc); 132 alloc_special_type* alloc_special_obtain(struct alloc_cache* alloc); 140 void alloc_special_release(struct alloc_cache* alloc, alloc_special_type* mem); 148 uint64_t alloc_get_id(struct alloc_cache* alloc); 155 size_t alloc_get_mem(struct alloc_cache* alloc); 161 void alloc_stats(struct alloc_cache* alloc); [all …]
|
H A D | alloc.c | 67 prealloc_setup(struct alloc_cache* alloc) in prealloc_setup() 86 prealloc_blocks(struct alloc_cache* alloc, size_t num) in prealloc_blocks() 103 alloc_init(struct alloc_cache* alloc, struct alloc_cache* super, in alloc_init() 131 alloc_clear_special_list(struct alloc_cache* alloc) in alloc_clear_special_list() 146 alloc_clear_special(struct alloc_cache* alloc) in alloc_clear_special() 160 alloc_clear(struct alloc_cache* alloc) in alloc_clear() 195 alloc_get_id(struct alloc_cache* alloc) in alloc_get_id() 214 alloc_special_obtain(struct alloc_cache* alloc) in alloc_special_obtain() 254 pushintosuper(struct alloc_cache* alloc, alloc_special_type* mem) in pushintosuper() 279 alloc_special_release(struct alloc_cache* alloc, alloc_special_type* mem) in alloc_special_release() [all …]
|
H A D | module.h | 160 struct alloc_cache; 491 struct alloc_cache* alloc;
|
/netbsd-src/external/bsd/unbound/dist/services/cache/ |
H A D | rrset.h | 48 struct alloc_cache; 68 struct alloc_cache* alloc); 86 struct config_file* cfg, struct alloc_cache* alloc); 134 struct alloc_cache* alloc, time_t timenow); 152 struct alloc_cache* alloc, time_t timenow);
|
H A D | rrset.c | 61 struct alloc_cache* alloc) in rrset_cache_create() 83 struct config_file* cfg, struct alloc_cache* alloc) in rrset_cache_adjust() 171 rrset_update_id(struct rrset_ref* ref, struct alloc_cache* alloc) in rrset_update_id() 187 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update() 244 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update_wildcard()
|
/netbsd-src/external/bsd/unbound/dist/libunbound/ |
H A D | context.h | 113 struct alloc_cache* alloc_list; 116 struct alloc_cache superalloc; 241 struct alloc_cache* context_obtain_alloc(struct ub_ctx* ctx, int locking); 249 void context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
|
H A D | context.c | 187 struct alloc_cache* 190 struct alloc_cache* a; in context_obtain_alloc() 206 a = (struct alloc_cache*)calloc(1, sizeof(*a)); in context_obtain_alloc() 214 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc, in context_release_alloc()
|
/netbsd-src/external/bsd/unbound/dist/util/data/ |
H A D | msgreply.h | 49 struct alloc_cache; 288 int reply_info_parse(struct sldns_buffer* pkt, struct alloc_cache* alloc, 308 struct alloc_cache* alloc, struct query_info* qinf, 335 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc); 384 struct alloc_cache* alloc, struct regional* region); 399 struct alloc_cache* alloc, struct regional* region);
|
H A D | packed_rrset.h | 45 struct alloc_cache; 301 struct alloc_cache* alloc); 457 struct ub_packed_rrset_key* key, struct alloc_cache* alloc,
|
H A D | packed_rrset.c | 57 struct alloc_cache* alloc) in ub_packed_rrset_parsedelete() 131 struct alloc_cache* a = (struct alloc_cache*)userdata; in ub_rrset_key_delete() 373 struct alloc_cache* alloc, time_t now) in packed_rrset_copy_alloc()
|
H A D | msgreply.c | 149 reply_info_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_alloc_rrset_keys() 485 struct alloc_cache* alloc, struct query_info* qinf, in parse_create_msg() 504 int reply_info_parse(sldns_buffer* pkt, struct alloc_cache* alloc, in reply_info_parse() 576 reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc) in reply_info_parsedelete() 751 reply_info_copy(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_copy()
|
/netbsd-src/external/bsd/unbound/dist/testcode/ |
H A D | unitverify.c | 84 entry_to_repinfo(struct entry* e, struct alloc_cache* alloc, in entry_to_repinfo() 108 extract_keys(struct entry* e, struct alloc_cache* alloc, in extract_keys() 206 verifytest_entry(struct entry* e, struct alloc_cache* alloc, in verifytest_entry() 246 dstest_entry(struct entry* e, struct alloc_cache* alloc, in dstest_entry() 298 struct alloc_cache alloc; in verifytest_file() 343 struct alloc_cache alloc; in dstest_file() 421 struct alloc_cache* alloc, struct regional* region, in nsec3_hash_test_entry() 478 struct alloc_cache alloc; in nsec3_hash_test()
|
H A D | unitmsgparse.c | 200 perftestpkt(sldns_buffer* pkt, struct alloc_cache* alloc, sldns_buffer* out, in perftestpkt() 314 testpkt(sldns_buffer* pkt, struct alloc_cache* alloc, sldns_buffer* out, in testpkt() 383 simpletest(sldns_buffer* pkt, struct alloc_cache* alloc, sldns_buffer* out) in simpletest() 440 testfromfile(sldns_buffer* pkt, struct alloc_cache* alloc, sldns_buffer* out, in testfromfile() 467 testfromdrillfile(sldns_buffer* pkt, struct alloc_cache* alloc, in testfromdrillfile() 508 struct alloc_cache super_a, alloc; in msgparse_test()
|
H A D | unitmain.c | 77 struct alloc_cache major, minor1, minor2; in alloc_test()
|
/netbsd-src/external/bsd/unbound/dist/daemon/ |
H A D | daemon.h | 107 struct alloc_cache **worker_allocs; 113 struct alloc_cache superalloc;
|
H A D | worker.h | 121 struct alloc_cache *alloc;
|
H A D | daemon.c | 566 daemon->worker_allocs = (struct alloc_cache**)calloc( in daemon_create_workers() 567 (size_t)daemon->num, sizeof(struct alloc_cache*)); in daemon_create_workers() 571 struct alloc_cache* alloc = calloc(1, in daemon_create_workers() 572 sizeof(struct alloc_cache)); in daemon_create_workers()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_mman.cpp | 130 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 135 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() 169 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal() 188 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free() 398 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
|
H A D | tsan_rtl.h | 114 AllocatorCache alloc_cache; member
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_mman.cc | 127 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 132 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() 164 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal() 183 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free() 383 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
|
H A D | tsan_rtl.h | 354 AllocatorCache alloc_cache; member
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_mman.cc | 125 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 130 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() 162 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal() 181 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free() 381 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
|
H A D | tsan_rtl.h | 350 AllocatorCache alloc_cache; member
|
/netbsd-src/external/bsd/unbound/dist/edns-subnet/ |
H A D | subnetmod.h | 63 struct alloc_cache alloc;
|
/netbsd-src/external/bsd/unbound/dist/services/ |
H A D | outside_network.h | 525 struct alloc_cache* alloc;
|