Home
last modified time | relevance | path

Searched refs:msg_cache (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/contrib/unbound/daemon/
H A Ddaemon.c732 slabhash_clear(daemon->env->msg_cache); in daemon_cleanup()
773 slabhash_delete(daemon->env->msg_cache); in daemon_delete()
846 if(!slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
848 slabhash_delete(daemon->env->msg_cache); in daemon_apply_cfg()
849 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
853 if(!daemon->env->msg_cache) { in daemon_apply_cfg()
H A Dworker.c132 msg = slabhash_get_mem(worker->env.msg_cache); in worker_mem_report()
216 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
222 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
1441 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) { in worker_handle_request()
1998 slabhash_clear(worker->env.msg_cache); in worker_alloc_cleanup()
H A Dremote.c810 msg = slabhash_get_mem(daemon->env->msg_cache); in print_mem()
1588 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1592 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1788 slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf); in do_flush_zone()
1857 slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf); in do_flush_bogus()
1932 slabhash_traverse(worker->env.msg_cache, 1, &negative_del_msg, &inf); in do_flush_negative()
H A Dstats.c292 s->svr.msg_cache_count = (long long)count_slabhash_entries(worker->env.msg_cache); in server_stats_compile()
H A Dcachedump.c279 struct slabhash* sh = worker->env.msg_cache; in dump_msg_cache()
/freebsd-13.1/contrib/unbound/libunbound/
H A Dcontext.c89 if(!slabhash_is_size(ctx->env->msg_cache, cfg->msg_cache_size, in context_finalize()
91 slabhash_delete(ctx->env->msg_cache); in context_finalize()
92 ctx->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in context_finalize()
96 if(!ctx->env->msg_cache) in context_finalize()
H A Dlibworker.c880 slabhash_clear(w->env->msg_cache); in libworker_alloc_cleanup()
H A Dlibunbound.c339 slabhash_delete(ctx->env->msg_cache); in ub_ctx_delete()
/freebsd-13.1/contrib/unbound/services/cache/
H A Ddns.c127 slabhash_remove(env->msg_cache, h, &k); in msg_cache_remove()
194 slabhash_insert(env->msg_cache, hash, &e->entry, rep, env->alloc); in dns_cache_store_msg()
253 e = slabhash_lookup(env->msg_cache, h, &k, wr); in msg_cache_lookup()
819 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
931 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
936 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
/freebsd-13.1/contrib/unbound/util/
H A Dmodule.h329 struct slabhash* msg_cache; member
/freebsd-13.1/contrib/unbound/util/shm_side/
H A Dshm_main.c260 shm_stat->mem.msg = (long long)slabhash_get_mem(worker->env.msg_cache); in shm_main_run()
/freebsd-13.1/contrib/unbound/services/
H A Dmesh.c382 e = slabhash_lookup(qstate->env->msg_cache, h, lookup_qinfo, 0); in mesh_serve_expired_lookup()
/freebsd-13.1/contrib/unbound/contrib/
H A Dfastrpz.patch225 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) {