| /openbsd-src/usr.sbin/unbound/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* allo [all...] |
| /openbsd-src/sbin/unwind/libunbound/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* allo [all...] |
| H A D | module.h | 160 struct alloc_cache; 492 struct alloc_cache* alloc;
|
| /openbsd-src/usr.sbin/unbound/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 | 62 struct alloc_cache* alloc) in rrset_cache_create() 84 struct config_file* cfg, struct alloc_cache* alloc) in rrset_cache_adjust() 175 rrset_update_id(struct rrset_ref* ref, struct alloc_cache* alloc) in rrset_update_id() 191 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update() 248 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update_wildcard()
|
| /openbsd-src/sbin/unwind/libunbound/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 | 62 struct alloc_cache* alloc) in rrset_cache_create() 84 struct config_file* cfg, struct alloc_cache* alloc) in rrset_cache_adjust() 175 rrset_update_id(struct rrset_ref* ref, struct alloc_cache* alloc) in rrset_update_id() 191 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update() 248 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update_wildcard()
|
| /openbsd-src/usr.sbin/unbound/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 | 197 struct alloc_cache* in context_obtain_alloc() 200 struct alloc_cache* a; in context_obtain_alloc() 216 a = (struct alloc_cache*)calloc(1, sizeof(*a)); in context_obtain_alloc() 224 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc, in context_release_alloc()
|
| /openbsd-src/sbin/unwind/libunbound/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 | 197 struct alloc_cache* in context_obtain_alloc() 200 struct alloc_cache* a; in context_obtain_alloc() 216 a = (struct alloc_cache*)calloc(1, sizeof(*a)); in context_obtain_alloc() 224 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc, in context_release_alloc()
|
| /openbsd-src/usr.sbin/unbound/util/data/ |
| H A D | msgreply.h | 49 struct alloc_cache; 289 int reply_info_parse(struct sldns_buffer* pkt, struct alloc_cache* alloc, 309 struct alloc_cache* alloc, struct query_info* qinf, 336 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc); 385 struct alloc_cache* alloc, struct regional* region); 400 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() 376 struct alloc_cache* alloc, time_t now) in packed_rrset_copy_alloc()
|
| /openbsd-src/sbin/unwind/libunbound/util/data/ |
| H A D | msgreply.h | 49 struct alloc_cache; 289 int reply_info_parse(struct sldns_buffer* pkt, struct alloc_cache* alloc, 309 struct alloc_cache* alloc, struct query_info* qinf, 336 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc); 385 struct alloc_cache* alloc, struct regional* region); 400 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() 376 struct alloc_cache* alloc, time_t now) in packed_rrset_copy_alloc()
|
| /openbsd-src/usr.sbin/unbound/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() 208 verifytest_entry(struct entry* e, struct alloc_cache* alloc, in verifytest_entry() 248 dstest_entry(struct entry* e, struct alloc_cache* alloc, in dstest_entry() 300 struct alloc_cache alloc; in verifytest_file() 345 struct alloc_cache alloc; in dstest_file() 423 struct alloc_cache* alloc, struct regional* region, in nsec3_hash_test_entry() 480 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()
|
| /openbsd-src/usr.sbin/unbound/daemon/ |
| H A D | daemon.h | 108 struct alloc_cache **worker_allocs; 114 struct alloc_cache superalloc;
|
| H A D | worker.h | 121 struct alloc_cache *alloc;
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_mman.cpp | 150 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 155 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() 195 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal() 214 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free() 438 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
|
| /openbsd-src/sbin/unwind/libunbound/daemon/ |
| H A D | worker.h | 121 struct alloc_cache *alloc;
|