Home
last modified time | relevance | path

Searched refs:msg_cache_slabs (Results 1 – 7 of 7) 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.c1037 cfg->msg_cache_slabs) || in daemon_apply_cfg()
1048 cfg->msg_cache_slabs)) { in daemon_apply_cfg()
1050 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
/freebsd/contrib/unbound/util/
H A Dconfig_file.h187 size_t msg_cache_slabs; member
H A Dconfig_file.c172 cfg->msg_cache_slabs = 4; in config_create()
438 cfg->msg_cache_slabs = 1; in config_create_forlib()
623 else S_POW2("msg-cache-slabs:", msg_cache_slabs) in config_set_option()
1091 else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs) in config_get_option()
H A Dconfigparser.y1653 cfg_parser->cfg->msg_cache_slabs = atoi($2);
1654 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs))
H A Dconfigparser.c4686 cfg_parser->cfg->msg_cache_slabs = atoi((yyvsp[0].str)); in yyparse()
4687 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs)) in yyparse()
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c231 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs, in subnetmod_init()