Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/daemon/
H A Ddaemon.c880 slabhash_clear(daemon->env->msg_cache); in daemon_cleanup()
938 slabhash_delete(daemon->env->msg_cache); in daemon_delete()
1036 !slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
1043 slabhash_clear(daemon->env->msg_cache); in daemon_apply_cfg()
1047 if(!slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
1049 slabhash_delete(daemon->env->msg_cache); in daemon_apply_cfg()
1050 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
1054 if(!daemon->env->msg_cache) { in daemon_apply_cfg()
H A Dworker.c134 msg = slabhash_get_mem(worker->env.msg_cache); in worker_mem_report()
220 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
226 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
1834 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) { in worker_handle_request()
2401 slabhash_clear(worker->env.msg_cache); in worker_alloc_cleanup()
H A Dremote.c808 msg = slabhash_get_mem(daemon->env->msg_cache); in print_mem()
1685 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1689 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1927 slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf); in do_flush_zone()
2007 slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf); in do_flush_bogus()
2093 slabhash_traverse(worker->env.msg_cache, 1, &negative_del_msg, &inf); in do_flush_negative()
H A Dstats.c296 get_slabhash_stats(worker->env.msg_cache, in server_stats_compile()
H A Dcachedump.c282 struct slabhash* sh = worker->env.msg_cache; in dump_msg_cache()
/freebsd/contrib/unbound/libunbound/
H A Dcontext.c100 if(!slabhash_is_size(ctx->env->msg_cache, cfg->msg_cache_size, in context_finalize()
102 slabhash_delete(ctx->env->msg_cache); in context_finalize()
103 ctx->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in context_finalize()
107 if(!ctx->env->msg_cache) in context_finalize()
H A Dlibworker.c871 slabhash_clear(w->env->msg_cache); in libworker_alloc_cleanup()
H A Dlibunbound.c385 slabhash_delete(ctx->env->msg_cache); in ub_ctx_delete()
/freebsd/contrib/unbound/services/cache/
H A Ddns.c151 slabhash_remove(env->msg_cache, h, &k); in msg_cache_remove()
203 slabhash_insert(env->msg_cache, hash, &e->entry, rep, env->alloc); in dns_cache_store_msg()
295 e = slabhash_lookup(env->msg_cache, h, &k, wr); in msg_cache_lookup()
908 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
1020 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
1025 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
/freebsd/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/contrib/unbound/util/
H A Dmodule.h341 struct slabhash* msg_cache; member
/freebsd/contrib/unbound/services/
H A Dmesh.c327 e = slabhash_lookup(qstate->env->msg_cache, h, lookup_qinfo, 0); in mesh_serve_expired_lookup()
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch225 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) {