• Home
  • Raw
  • Download

Lines Matching refs:resolv_cache_info

1136 struct resolv_cache_info {  struct
1139 struct resolv_cache_info* next; argument
1409 static resolv_cache_info* find_cache_info_locked(unsigned netid) REQUIRES(cache_mutex);
1474 resolv_cache_info* info = find_cache_info_locked(netid); in _resolv_cache_lookup()
1585 static struct resolv_cache_info res_cache_list GUARDED_BY(cache_mutex);
1588 static void insert_cache_info_locked(resolv_cache_info* cache_info);
1590 static resolv_cache_info* create_cache_info();
1592 static void free_nameservers_locked(resolv_cache_info* cache_info);
1595 static int resolv_is_nameservers_equal_locked(resolv_cache_info* cache_info, const char** servers,
1598 static void res_cache_clear_stats_locked(resolv_cache_info* cache_info);
1603 resolv_cache_info* info = find_cache_info_locked(netid); in resolv_has_nameservers()
1615 resolv_cache_info* cache_info = create_cache_info(); in resolv_create_cache_for_net_locked()
1637 struct resolv_cache_info* prev_cache_info = &res_cache_list; in resolv_delete_cache_for_net()
1640 struct resolv_cache_info* cache_info = prev_cache_info->next; in resolv_delete_cache_for_net()
1658 struct resolv_cache_info* cache_info = res_cache_list.next; in resolv_list_caches()
1667 static resolv_cache_info* create_cache_info() { in create_cache_info()
1668 return (struct resolv_cache_info*) calloc(sizeof(struct resolv_cache_info), 1); in create_cache_info()
1672 static void insert_cache_info_locked(struct resolv_cache_info* cache_info) { in insert_cache_info_locked()
1673 struct resolv_cache_info* last; in insert_cache_info_locked()
1679 resolv_cache_info* info = find_cache_info_locked(netid); in find_named_cache_locked()
1684 static resolv_cache_info* find_cache_info_locked(unsigned netid) { in find_cache_info_locked()
1685 struct resolv_cache_info* cache_info = res_cache_list.next; in find_cache_info_locked()
1754 resolv_cache_info* cache_info = find_cache_info_locked(netid); in resolv_set_nameservers_for_net()
1827 static int resolv_is_nameservers_equal_locked(resolv_cache_info* cache_info, const char** servers, in resolv_is_nameservers_equal_locked()
1853 static void free_nameservers_locked(resolv_cache_info* cache_info) { in free_nameservers_locked()
1876 resolv_cache_info* info = find_cache_info_locked(statp->netid); in _resolv_populate_res_for_net()
1931 static void res_cache_clear_stats_locked(resolv_cache_info* cache_info) { in res_cache_clear_stats_locked()
1947 resolv_cache_info* info = find_cache_info_locked(netid); in android_net_res_stats_get_info_for_net()
2005 resolv_cache_info* info = find_cache_info_locked(netid); in resolv_cache_get_resolver_stats()
2020 resolv_cache_info* info = find_cache_info_locked(netid); in _resolv_cache_add_resolver_stats_sample()