Searched refs:penalty_cfg (Results 1 – 1 of 1) sorted by relevance
40 static struct per_source_penalty penalty_cfg; variable108 penalty_cfg = *penalty_conf; in srclimit_init()109 if (penalty_cfg.max_sources4 < 0 || penalty_cfg.max_sources6 < 0) in srclimit_init()269 if (!penalty_cfg.enabled) in srclimit_penalty_check_allow()285 penalty_cfg.max_sources4 : penalty_cfg.max_sources6; in srclimit_penalty_check_allow()287 penalty_cfg.overflow_mode : penalty_cfg.overflow_mode6; in srclimit_penalty_check_allow()339 (size_t)penalty_cfg.max_sources4); in srclimit_early_expire_penalties()342 (size_t)penalty_cfg.max_sources6); in srclimit_early_expire_penalties()358 if (!penalty_cfg.enabled) in srclimit_penalise()373 penalty_secs = penalty_cfg.penalty_crash; in srclimit_penalise()[all …]