Searched refs:max_samples (Results 1 – 7 of 7) sorted by relevance
33 uint8_t max_samples; // max # samples taken into account for statistics member
1701 params->max_samples = 0; in resolv_set_default_params()1758 uint8_t old_max_samples = cache_info->params.max_samples; in resolv_set_nameservers_for_net()1784 if (cache_info->params.max_samples != old_max_samples) { in resolv_set_nameservers_for_net()1917 int max_samples) { in _res_cache_add_stats_sample_locked() argument1923 if (stats->sample_count < max_samples) { in _res_cache_add_stats_sample_locked()1926 if (++stats->sample_next >= max_samples) { in _res_cache_add_stats_sample_locked()2016 const res_sample* sample, int max_samples) { in _resolv_cache_add_resolver_stats_sample() argument2017 if (max_samples <= 0) return; in _resolv_cache_add_resolver_stats_sample()2023 _res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples); in _resolv_cache_add_resolver_stats_sample()
236 res_params.max_samples = resolverParams.maxSamples; in setResolverConfiguration()276 (*params)[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES] = res_params.max_samples; in getResolverInfo()354 params.max_samples, params.base_timeout_msec, params.retry_count); in dump()
134 const res_sample* sample, int max_samples);
578 params.max_samples); in res_nsend()602 params.max_samples); in res_nsend()
92 .max_samples = 8,
133 .max_samples = in GetResolverInfo()558 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F()1015 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F()