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.c1045 cfg->msg_cache_slabs) || in daemon_apply_cfg()
1056 cfg->msg_cache_slabs)) { in daemon_apply_cfg()
1058 daemon->env->msg_cache = slabhash_create(cfg->msg_cache_slabs, in daemon_apply_cfg()
H A Dremote.c5888 COPY_VAR_size_t(msg_cache_slabs); in fr_atomic_copy_cfg()
/freebsd/contrib/unbound/util/
H A Dconfig_file.h190 size_t msg_cache_slabs; member
H A Dconfig_file.c172 cfg->msg_cache_slabs = 0; in config_create()
444 cfg->msg_cache_slabs = 1; in config_create_forlib()
653 else S_POW2("msg-cache-slabs:", msg_cache_slabs) in config_set_option()
1121 else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs) in config_get_option()
1482 SET_AUTO_SLAB(msg_cache_slabs, "msg-cache-slabs", pow_2_threads); in config_auto_slab_values()
H A Dconfigparser.y1663 cfg_parser->cfg->msg_cache_slabs = atoi($2);
1664 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs))
H A Dconfigparser.c4698 cfg_parser->cfg->msg_cache_slabs = atoi((yyvsp[0].str)); in yyparse()
4699 if(!is_pow2(cfg_parser->cfg->msg_cache_slabs)) in yyparse()
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c248 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs, in subnetmod_init()