Home
last modified time | relevance | path

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

/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.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()
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c1175 slabhash_clear(daemon->env->msg_cache); in daemon_cleanup()
1239 slabhash_delete(daemon->env->msg_cache); in daemon_delete()
1334 !slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
1341 slabhash_clear(daemon->env->msg_cache); in daemon_apply_cfg()
1345 if(!slabhash_is_size(daemon->env->msg_cache, cfg->msg_cache_size, in daemon_apply_cfg()
1347 slabhash_delete(daemon->env->msg_cache); in daemon_apply_cfg()
1348 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
1352 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()
1970 if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) { in worker_handle_request()
2562 slabhash_clear(worker->env.msg_cache); in worker_alloc_cleanup()
H A Dstats.c306 get_slabhash_stats(worker->env.msg_cache, in server_stats_compile()
H A Dremote.c930 msg = slabhash_get_mem(daemon->env->msg_cache); in print_mem()
2049 slabhash_traverse(worker->env.msg_cache, 0, &cache_lookup_msg, &inf); in do_cache_lookup_domain()
2131 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
2135 slabhash_remove(worker->env.msg_cache, h, &k); in do_cache_remove()
2373 slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf); in do_flush_zone()
2453 slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf); in do_flush_bogus()
2541 slabhash_traverse(worker->env.msg_cache, 1, &negative_del_msg, &inf); in do_flush_negative()
6396 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()
/freebsd/contrib/unbound/services/cache/
H A Ddns.c160 slabhash_remove(env->msg_cache, h, &k); in msg_cache_remove()
214 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()
960 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
1072 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
1077 e = slabhash_lookup(env->msg_cache, h, &k, 0); in dns_cache_lookup()
/freebsd/contrib/unbound/util/
H A Dmodule.h342 struct slabhash* msg_cache; member
/freebsd/contrib/unbound/util/shm_side/
H A Dshm_main.c253 shm_stat->mem.msg = (long long)slabhash_get_mem(worker->env.msg_cache); in shm_general_info()
/freebsd/contrib/unbound/services/
H A Dmesh.c349 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))) {