Home
last modified time | relevance | path

Searched refs:cache_info (Results 1 – 1 of 1) sorted by relevance

/system/netd/resolv/
Dres_cache.cpp1588 static void insert_cache_info_locked(resolv_cache_info* 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);
1615 resolv_cache_info* cache_info = create_cache_info(); in resolv_create_cache_for_net_locked() local
1616 if (!cache_info) return -ENOMEM; in resolv_create_cache_for_net_locked()
1619 free(cache_info); in resolv_create_cache_for_net_locked()
1622 cache_info->cache = cache; in resolv_create_cache_for_net_locked()
1623 cache_info->netid = netid; in resolv_create_cache_for_net_locked()
1624 insert_cache_info_locked(cache_info); in resolv_create_cache_for_net_locked()
[all …]