Lines Matching refs:NetConfig
985 struct NetConfig { struct
986 explicit NetConfig(unsigned netId) : netid(netId) { in NetConfig() function
1188 static NetConfig* find_netconfig_locked(unsigned netid) REQUIRES(cache_mutex);
1248 NetConfig* info = find_netconfig_locked(netid); in resolv_cache_lookup()
1434 static std::unordered_map<unsigned, std::unique_ptr<NetConfig>> sNetConfigMap
1438 static void free_nameservers_locked(NetConfig* netconfig);
1443 static void res_cache_clear_stats_locked(NetConfig* netconfig);
1448 NetConfig* info = find_netconfig_locked(netid); in resolv_has_nameservers()
1459 sNetConfigMap[netid] = std::make_unique<NetConfig>(netid); in resolv_create_cache_for_net()
1471 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_flush_cache_for_net()
1493 NetConfig* info = find_netconfig_locked(netid); in find_named_cache_locked()
1498 static NetConfig* find_netconfig_locked(unsigned netid) { in find_netconfig_locked()
1518 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_get_network_types_for_net()
1570 NetConfig* netconfig = find_netconfig_locked(netid); in getCustomizedTableByName()
1601 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_set_nameservers()
1671 static void free_nameservers_locked(NetConfig* netconfig) { in free_nameservers_locked()
1684 NetConfig* info = find_netconfig_locked(statp->netid); in resolv_populate_res_for_net()
1713 static void res_cache_clear_stats_locked(NetConfig* netconfig) { in res_cache_clear_stats_locked()
1732 NetConfig* info = find_netconfig_locked(netid); in android_net_res_stats_get_info_for_net()
1762 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_cache_dump_subsampling_map()
1781 NetConfig* netconfig = find_netconfig_locked(netid); in resolv_cache_get_subsampling_denom()
1798 NetConfig* info = find_netconfig_locked(netid); in resolv_cache_get_resolver_stats()
1830 NetConfig* info = find_netconfig_locked(netid); in resolv_cache_add_resolver_stats_sample()