Lines Matching refs:NetConfig
1001 struct NetConfig { struct
1002 explicit NetConfig(unsigned netId) : netid(netId) { in NetConfig() argument
1224 static NetConfig* find_netconfig_locked(unsigned netid) REQUIRES(cache_mutex);
1284 NetConfig* info = find_netconfig_locked(netid); in resolv_cache_lookup()
1470 static std::unordered_map<unsigned, std::unique_ptr<NetConfig>> sNetConfigMap
1474 static void free_nameservers_locked(NetConfig* netconfig);
1479 static void res_cache_clear_stats_locked(NetConfig* netconfig);
1484 NetConfig* info = find_netconfig_locked(netid); in resolv_has_nameservers()
1495 sNetConfigMap[netid] = std::make_unique<NetConfig>(netid); in resolv_create_cache_for_net()
1507 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_flush_cache_for_net()
1529 NetConfig* info = find_netconfig_locked(netid); in find_named_cache_locked()
1534 static NetConfig* find_netconfig_locked(unsigned netid) { in find_netconfig_locked()
1554 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_get_network_types_for_net()
1606 NetConfig* netconfig = find_netconfig_locked(netid); in getCustomizedTableByName()
1637 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_set_nameservers()
1684 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_set_options()
1703 static void free_nameservers_locked(NetConfig* netconfig) { in free_nameservers_locked()
1716 NetConfig* info = find_netconfig_locked(statp->netid); in resolv_populate_res_for_net()
1745 static void res_cache_clear_stats_locked(NetConfig* netconfig) { in res_cache_clear_stats_locked()
1764 NetConfig* info = find_netconfig_locked(netid); in android_net_res_stats_get_info_for_net()
1794 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_cache_dump_subsampling_map()
1813 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_cache_get_subsampling_denom()
1830 NetConfig* info = find_netconfig_locked(netid); in resolv_cache_get_resolver_stats()
1862 NetConfig* info = find_netconfig_locked(netid); in resolv_cache_add_resolver_stats_sample()