Home
last modified time | relevance | path

Searched refs:max_samples (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/dns/include/
Dresolv_params.h43 uint8_t max_samples; // max # samples taken into account for statistics member
Dresolv_private.h209 const struct __res_sample* sample, int max_samples);
/bionic/libc/dns/resolv/
Dres_cache.c1933 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() argument
2157 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() argument
2262 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()
Dres_send.c567 ns, &sample, params.max_samples); in res_nsend()
594 ns, &sample, params.max_samples); in res_nsend()