/freebsd/contrib/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* 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; 494 struct alloc_cache* alloc;
|
/freebsd/contrib/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()
|
/freebsd/contrib/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* 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()
|
H A D | libunbound.c | 311 struct alloc_cache* a, *na; in ub_ctx_delete()
|
/freebsd/contrib/unbound/util/data/ |
H A D | msgreply.h | 49 struct alloc_cache; 302 int reply_info_parse(struct sldns_buffer* pkt, struct alloc_cache* alloc, 322 struct alloc_cache* alloc, struct query_info* qinf, 349 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc); 398 struct alloc_cache* alloc, struct regional* region); 413 struct alloc_cache* alloc, struct regional* region);
|
H A D | packed_rrset.h | 45 struct alloc_cache; 304 struct alloc_cache* alloc); 460 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()
|
H A D | msgreply.c | 155 reply_info_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_alloc_rrset_keys() 527 struct alloc_cache* alloc, struct query_info* qinf, in parse_create_msg() 546 int reply_info_parse(sldns_buffer* pkt, struct alloc_cache* alloc, in reply_info_parse() 621 reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc) in reply_info_parsedelete() 796 reply_info_copy(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_copy()
|
/freebsd/contrib/unbound/daemon/ |
H A D | daemon.h | 109 struct alloc_cache **worker_allocs; 115 struct alloc_cache superalloc;
|
H A D | worker.h | 121 struct alloc_cache *alloc;
|
H A D | daemon.c | 596 daemon->worker_allocs = (struct alloc_cache**)calloc( in daemon_create_workers() 597 (size_t)daemon->num, sizeof(struct alloc_cache*)); in daemon_create_workers() 601 struct alloc_cache* alloc = calloc(1, in daemon_create_workers() 602 sizeof(struct alloc_cache)); in daemon_create_workers()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mman.cpp | 164 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 169 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() 209 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal() 228 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free() 492 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
|
H A D | tsan_rtl.h | 116 AllocatorCache alloc_cache; member
|
/freebsd/contrib/unbound/edns-subnet/ |
H A D | subnetmod.h | 63 struct alloc_cache alloc;
|
/freebsd/contrib/unbound/services/ |
H A D | outside_network.h | 525 struct alloc_cache* alloc;
|
H A D | outside_network.c | 2616 size_t pad_queries_block_size, struct alloc_cache* alloc,
|