Lines Matching refs:params
1296 struct __res_params params; member
1993 _resolv_set_default_params(struct __res_params* params) { in _resolv_set_default_params() argument
1994 params->sample_validity = NSSAMPLE_VALIDITY; in _resolv_set_default_params()
1995 params->success_threshold = SUCCESS_THRESHOLD; in _resolv_set_default_params()
1996 params->min_samples = 0; in _resolv_set_default_params()
1997 params->max_samples = 0; in _resolv_set_default_params()
1998 params->base_timeout_msec = 0; // 0 = legacy algorithm in _resolv_set_default_params()
2003 const char *domains, const struct __res_params* params) in _resolv_set_nameservers_for_net() argument
2045 uint8_t old_max_samples = cache_info->params.max_samples; in _resolv_set_nameservers_for_net()
2046 if (params != NULL) { in _resolv_set_nameservers_for_net()
2047 cache_info->params = *params; in _resolv_set_nameservers_for_net()
2049 _resolv_set_default_params(&cache_info->params); in _resolv_set_nameservers_for_net()
2072 if (cache_info->params.max_samples != old_max_samples) { in _resolv_set_nameservers_for_net()
2247 struct __res_params* params, struct __res_stats stats[MAXNS]) { in android_net_res_stats_get_info_for_net() argument
2304 *params = info->params; in android_net_res_stats_get_info_for_net()
2313 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params, in _resolv_cache_get_resolver_stats() argument
2321 *params = info->params; in _resolv_cache_get_resolver_stats()