Lines Matching refs:resolv_cache_info
1288 struct resolv_cache_info { struct
1291 struct resolv_cache_info* next; argument
1425 static struct resolv_cache_info* _find_cache_info_locked(unsigned netid);
1849 static struct resolv_cache_info _res_cache_list;
1852 static void _insert_cache_info_locked(struct resolv_cache_info* cache_info);
1854 static struct resolv_cache_info* _create_cache_info( void );
1856 static struct resolv_cache_info* _find_cache_info_locked(unsigned netid);
1862 static void _free_nameservers_locked(struct resolv_cache_info* cache_info);
1865 static int _resolv_is_nameservers_equal_locked(struct resolv_cache_info* cache_info,
1868 static void _res_cache_clear_stats_locked(struct resolv_cache_info* cache_info);
1882 struct resolv_cache_info* cache_info = _create_cache_info(); in _get_res_cache_for_net_locked()
1917 struct resolv_cache_info* cache_info = _find_cache_info_locked(netid); in _flush_cache_for_net_locked()
1926 struct resolv_cache_info* prev_cache_info = &_res_cache_list; in _resolv_delete_cache_for_net()
1929 struct resolv_cache_info* cache_info = prev_cache_info->next; in _resolv_delete_cache_for_net()
1947 static struct resolv_cache_info*
1950 struct resolv_cache_info* cache_info; in _create_cache_info()
1957 _insert_cache_info_locked(struct resolv_cache_info* cache_info) in _insert_cache_info_locked()
1959 struct resolv_cache_info* last; in _insert_cache_info_locked()
1970 struct resolv_cache_info* info = _find_cache_info_locked(netid); in _find_named_cache_locked()
1977 static struct resolv_cache_info*
1980 struct resolv_cache_info* cache_info = _res_cache_list.next; in _find_cache_info_locked()
2042 struct resolv_cache_info* cache_info = _find_cache_info_locked(netid); in _resolv_set_nameservers_for_net()
2119 _resolv_is_nameservers_equal_locked(struct resolv_cache_info* cache_info, in _resolv_is_nameservers_equal_locked()
2147 _free_nameservers_locked(struct resolv_cache_info* cache_info) in _free_nameservers_locked()
2175 struct resolv_cache_info* info = _find_cache_info_locked(statp->netid); in _resolv_populate_res_for_net()
2236 _res_cache_clear_stats_locked(struct resolv_cache_info* cache_info) { in _res_cache_clear_stats_locked()
2251 struct resolv_cache_info* info = _find_cache_info_locked(netid); in android_net_res_stats_get_info_for_net()
2318 struct resolv_cache_info* info = _find_cache_info_locked(netid); in _resolv_cache_get_resolver_stats()
2336 struct resolv_cache_info* info = _find_cache_info_locked(netid); in _resolv_cache_add_resolver_stats_sample()