Searched refs:max_samples (Results 1 – 4 of 4) sorted by relevance
43 uint8_t max_samples; // max # samples taken into account for statistics member
209 const struct __res_sample* sample, int max_samples);
1933 params->max_samples = 0; in _resolv_set_default_params()1980 uint8_t old_max_samples = cache_info->params.max_samples; in _resolv_set_nameservers_for_net()2006 } else if (cache_info->params.max_samples != old_max_samples) { in _resolv_set_nameservers_for_net()2151 int max_samples) { in _res_cache_add_stats_sample_locked() argument2157 if (stats->sample_count < max_samples) { in _res_cache_add_stats_sample_locked()2160 if (++stats->sample_next >= max_samples) { in _res_cache_add_stats_sample_locked()2261 const struct __res_sample* sample, int max_samples) { in _resolv_cache_add_resolver_stats_sample() argument2262 if (max_samples <= 0) return; in _resolv_cache_add_resolver_stats_sample()2269 _res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples); in _resolv_cache_add_resolver_stats_sample()
567 ns, &sample, params.max_samples); in res_nsend()594 ns, &sample, params.max_samples); in res_nsend()