Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/unbound/daemon/
H A Ddaemon.c710 slabhash_clear(daemon->env->msg_cache); in daemon_cleanup()
751 slabhash_delete(daemon->env->msg_cache); in daemon_delete()
822 if(!slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
824 slabhash_delete(daemon->env->msg_cache); in daemon_apply_cfg()
825 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
829 if(!daemon->env->msg_cache) { in daemon_apply_cfg()
H A Dworker.c130 msg = slabhash_get_mem(worker->env.msg_cache); in worker_mem_report()
214 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
220 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
1486 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) { in worker_handle_request()
1999 slabhash_clear(worker->env.msg_cache); in worker_alloc_cleanup()
H A Dremote.c807 msg = slabhash_get_mem(daemon->env->msg_cache); in print_mem()
1544 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1548 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1744 slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf); in do_flush_zone()
1813 slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf); in do_flush_bogus()
1888 slabhash_traverse(worker->env.msg_cache, 1, &negative_del_msg, &inf); in do_flush_negative()
H A Dstats.c291 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-12.1/contrib/unbound/libunbound/
H A Dcontext.c82 if(!slabhash_is_size(ctx->env->msg_cache, cfg->msg_cache_size, in context_finalize()
84 slabhash_delete(ctx->env->msg_cache); in context_finalize()
85 ctx->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in context_finalize()
89 if(!ctx->env->msg_cache) in context_finalize()
H A Dlibworker.c842 slabhash_clear(w->env->msg_cache); in libworker_alloc_cleanup()
H A Dlibunbound.c321 slabhash_delete(ctx->env->msg_cache); in ub_ctx_delete()
/freebsd-12.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()
929 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
934 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
/freebsd-12.1/contrib/unbound/util/
H A Dmodule.h329 struct slabhash* msg_cache; member
/freebsd-12.1/contrib/unbound/util/shm_side/
H A Dshm_main.c254 shm_stat->mem.msg = (long long)slabhash_get_mem(worker->env.msg_cache); in shm_main_run()
/freebsd-12.1/contrib/unbound/services/
H A Dmesh.c364 e = slabhash_lookup(qstate->env->msg_cache, h, lookup_qinfo, 0); in mesh_serve_expired_lookup()
/freebsd-12.1/contrib/unbound/contrib/
H A Dfastrpz.patch225 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) {