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.c1335 cfg->msg_cache_slabs) || in daemon_apply_cfg()
1346 cfg->msg_cache_slabs)) { in daemon_apply_cfg()
1348 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
H A Dremote.c6082 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.c177 cfg->msg_cache_slabs = 0; in config_create()
450 cfg->msg_cache_slabs = 1; in config_create_forlib()
664 else S_POW2("msg-cache-slabs:", msg_cache_slabs) in config_set_option()
1134 else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs) in config_get_option()
1498 SET_AUTO_SLAB(msg_cache_slabs, "msg-cache-slabs", pow_2_threads); in config_auto_slab_values()
H A Dconfigparser.y1687 cfg_parser->cfg->msg_cache_slabs = atoi($2);
1688 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs))
H A Dconfigparser.c4742 cfg_parser->cfg->msg_cache_slabs = atoi((yyvsp[0].str)); in yyparse()
4743 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()