Home
last modified time | relevance | path

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

/bionic/libc/dns/include/
Dresolv_params.h47 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.c1997 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() argument
2227 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() argument
2332 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()
Dres_send.c558 ns, &sample, params.max_samples); in res_nsend()
585 ns, &sample, params.max_samples); in res_nsend()