Home
last modified time | relevance | path

Searched refs:msg_cache_slabs (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/unbound/libunbound/
H A Dcontext.c101 cfg->msg_cache_slabs)) { in context_finalize()
103 ctx->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in context_finalize()
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c1357 cfg->msg_cache_slabs) || in daemon_apply_cfg()
1368 cfg->msg_cache_slabs)) { in daemon_apply_cfg()
1370 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
H A Dremote.c6301 COPY_VAR_size_t(msg_cache_slabs); in fr_atomic_copy_cfg()
/freebsd/contrib/unbound/util/
H A Dconfig_file.h192 size_t msg_cache_slabs; member
H A Dconfig_file.c178 cfg->msg_cache_slabs = 0; in config_create()
450 cfg->msg_cache_slabs = 1; in config_create_forlib()
668 else S_POW2("msg-cache-slabs:", msg_cache_slabs) in config_set_option()
1138 else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs) in config_get_option()
1502 SET_AUTO_SLAB(msg_cache_slabs, "msg-cache-slabs", pow_2_threads); in config_auto_slab_values()
H A Dconfigparser.y1694 cfg_parser->cfg->msg_cache_slabs = atoi($2);
1695 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs))
H A Dconfigparser.c4759 cfg_parser->cfg->msg_cache_slabs = atoi((yyvsp[0].str)); in yyparse()
4760 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs)) in yyparse()
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c264 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs, in subnetmod_init()