Home
last modified time | relevance | path

Searched refs:alloc_cache (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/unbound/util/
H A Dalloc.h72 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);
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);
168 struct regional* alloc_reg_obtain(struct alloc_cache* alloc);
[all …]
H A Dalloc.c67 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()
304 alloc_stats(struct alloc_cache* alloc) in alloc_stats()
310 size_t alloc_get_mem(struct alloc_cache* alloc) in alloc_get_mem()
[all …]
H A Dmodule.h160 struct alloc_cache;
477 struct alloc_cache* alloc;
/freebsd-12.1/contrib/unbound/services/cache/
H A Drrset.h48 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 Drrset.c60 struct alloc_cache* alloc) in rrset_cache_create()
82 struct config_file* cfg, struct alloc_cache* alloc) in rrset_cache_adjust()
170 rrset_update_id(struct rrset_ref* ref, struct alloc_cache* alloc) in rrset_update_id()
186 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update()
243 struct alloc_cache* alloc, time_t timenow) in rrset_cache_update_wildcard()
/freebsd-12.1/contrib/unbound/util/data/
H A Dmsgreply.h48 struct alloc_cache;
272 int reply_info_parse(struct sldns_buffer* pkt, struct alloc_cache* alloc,
292 struct alloc_cache* alloc, struct query_info* qinf,
319 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc);
368 struct alloc_cache* alloc, struct regional* region);
383 struct alloc_cache* alloc, struct regional* region);
H A Dpacked_rrset.h45 struct alloc_cache;
290 struct alloc_cache* alloc);
446 struct ub_packed_rrset_key* key, struct alloc_cache* alloc,
H A Dpacked_rrset.c57 struct alloc_cache* alloc) in ub_packed_rrset_parsedelete()
131 struct alloc_cache* a = (struct alloc_cache*)userdata; in ub_rrset_key_delete()
366 struct alloc_cache* alloc, time_t now) in packed_rrset_copy_alloc()
H A Dmsgreply.c144 reply_info_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_alloc_rrset_keys()
442 struct alloc_cache* alloc, struct query_info* qinf, in parse_create_msg()
461 int reply_info_parse(sldns_buffer* pkt, struct alloc_cache* alloc, in reply_info_parse()
533 reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc) in reply_info_parsedelete()
700 reply_info_copy(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_copy()
/freebsd-12.1/contrib/unbound/libunbound/
H A Dcontext.h107 struct alloc_cache* alloc_list;
110 struct alloc_cache superalloc;
264 struct alloc_cache* context_obtain_alloc(struct ub_ctx* ctx, int locking);
272 void context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc,
H A Dcontext.c179 struct alloc_cache*
182 struct alloc_cache* a; in context_obtain_alloc()
198 a = (struct alloc_cache*)calloc(1, sizeof(*a)); in context_obtain_alloc()
206 context_release_alloc(struct ub_ctx* ctx, struct alloc_cache* alloc, in context_release_alloc()
H A Dlibunbound.c286 struct alloc_cache* a, *na; in ub_ctx_delete()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cc127 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 Dtsan_rtl.h354 AllocatorCache alloc_cache; member
/freebsd-12.1/contrib/unbound/daemon/
H A Dworker.h117 struct alloc_cache alloc;
H A Ddaemon.h109 struct alloc_cache superalloc;
/freebsd-12.1/contrib/unbound/edns-subnet/
H A Dsubnetmod.h62 struct alloc_cache alloc;