Searched refs:max_samples (Results 1 – 4 of 4) sorted by relevance
47 uint8_t max_samples; // max # samples taken into account for statistics member
209 const struct __res_sample* sample, int max_samples);
1997 params->max_samples = 0; in _resolv_set_default_params()2045 uint8_t old_max_samples = cache_info->params.max_samples; in _resolv_set_nameservers_for_net()2072 if (cache_info->params.max_samples != old_max_samples) { in _resolv_set_nameservers_for_net()2221 int max_samples) { in _res_cache_add_stats_sample_locked() argument2227 if (stats->sample_count < max_samples) { in _res_cache_add_stats_sample_locked()2230 if (++stats->sample_next >= max_samples) { in _res_cache_add_stats_sample_locked()2331 const struct __res_sample* sample, int max_samples) { in _resolv_cache_add_resolver_stats_sample() argument2332 if (max_samples <= 0) return; in _resolv_cache_add_resolver_stats_sample()2339 _res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples); in _resolv_cache_add_resolver_stats_sample()
558 ns, &sample, params.max_samples); in res_nsend()585 ns, &sample, params.max_samples); in res_nsend()