Home
last modified time | relevance | path

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

/src/contrib/unbound/daemon/
H A Ddaemon.c879 slabhash_clear(daemon->env->msg_cache); in daemon_cleanup()
941 slabhash_delete(daemon->env->msg_cache); in daemon_delete()
1044 !slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
1051 slabhash_clear(daemon->env->msg_cache); in daemon_apply_cfg()
1055 if(!slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
1057 slabhash_delete(daemon->env->msg_cache); in daemon_apply_cfg()
1058 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
1062 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()
1916 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) { in worker_handle_request()
2484 slabhash_clear(worker->env.msg_cache); in worker_alloc_cleanup()
H A Dstats.c303 get_slabhash_stats(worker->env.msg_cache, in server_stats_compile()
H A Dremote.c906 msg = slabhash_get_mem(daemon->env->msg_cache); in print_mem()
2025 slabhash_traverse(worker->env.msg_cache, 0, &cache_lookup_msg, &inf); in do_cache_lookup_domain()
2107 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
2111 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
2349 slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf); in do_flush_zone()
2429 slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf); in do_flush_bogus()
2517 slabhash_traverse(worker->env.msg_cache, 1, &negative_del_msg, &inf); in do_flush_negative()
6188 slabhash_adjust_size(env->msg_cache, env->cfg->msg_cache_size); in fr_adjust_cache()
H A Dcachedump.c413 if(!dump_slabhash(worker->env.msg_cache, &dump_msg_entry, ssl, in dump_msg_cache()
/src/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.c874 slabhash_clear(w->env->msg_cache); in libworker_alloc_cleanup()
H A Dlibunbound.c385 slabhash_delete(ctx->env->msg_cache); in ub_ctx_delete()
/src/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()
/src/contrib/unbound/pythonmod/
H A Dpythonmod_utils.c89 if ((e=slabhash_lookup(qstate->env->msg_cache, h, qinfo, 0))) { in invalidateQueryInCache()
H A Dinterface.i721 struct slabhash* msg_cache;
/src/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()
/src/contrib/unbound/util/
H A Dmodule.h342 struct slabhash* msg_cache; member
/src/contrib/unbound/testcode/
H A Dfake_event.c733 slabhash_remove(runtime->daemon->env->msg_cache, h, &k); in do_flush_message()
759 e = slabhash_lookup(runtime->daemon->env->msg_cache, h, &k, 0); in do_expire_message()
/src/contrib/unbound/services/
H A Dmesh.c346 e = slabhash_lookup(qstate->env->msg_cache, h, lookup_qinfo, 0); in mesh_serve_expired_lookup()
/src/contrib/unbound/contrib/
H A Dfastrpz.patch225 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) {