Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/unbound/dist/daemon/
H A Ddaemon.c832 slabhash_clear(daemon->env->msg_cache); in daemon_cleanup()
880 slabhash_delete(daemon->env->msg_cache); in daemon_delete()
977 !slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
984 slabhash_clear(daemon->env->msg_cache); in daemon_apply_cfg()
988 if(!slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
990 slabhash_delete(daemon->env->msg_cache); in daemon_apply_cfg()
991 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
995 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()
218 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
224 (unsigned)slabhash_get_mem(worker->env.msg_cache), in worker_mem_report()
1836 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) { in worker_handle_request()
2411 slabhash_clear(worker->env.msg_cache); in worker_alloc_cleanup()
H A Dremote.c781 msg = slabhash_get_mem(daemon->env->msg_cache); in print_mem()
1570 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1574 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
1773 slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf); in do_flush_zone()
1842 slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf); in do_flush_bogus()
1917 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()
/netbsd-src/external/bsd/unbound/dist/libunbound/
H A Dcontext.c90 if(!slabhash_is_size(ctx->env->msg_cache, cfg->msg_cache_size, in context_finalize()
92 slabhash_delete(ctx->env->msg_cache); in context_finalize()
93 ctx->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in context_finalize()
97 if(!ctx->env->msg_cache) in context_finalize()
H A Dlibworker.c885 slabhash_clear(w->env->msg_cache); in libworker_alloc_cleanup()
H A Dlibunbound.c376 slabhash_delete(ctx->env->msg_cache); in ub_ctx_delete()
/netbsd-src/external/bsd/unbound/dist/services/cache/
H A Ddns.c132 slabhash_remove(env->msg_cache, h, &k); in msg_cache_remove()
183 slabhash_insert(env->msg_cache, hash, &e->entry, rep, env->alloc); in dns_cache_store_msg()
315 e = slabhash_lookup(env->msg_cache, h, &k, wr); in msg_cache_lookup()
925 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
1037 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
1042 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
/netbsd-src/external/bsd/unbound/dist/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;
/netbsd-src/external/bsd/unbound/dist/util/
H A Dmodule.h338 struct slabhash* msg_cache; member
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/services/
H A Dmesh.c319 e = slabhash_lookup(qstate->env->msg_cache, h, lookup_qinfo, 0); in mesh_serve_expired_lookup()
/netbsd-src/external/bsd/unbound/dist/contrib/
H A Dfastrpz.patch225 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) {