• Home
  • Raw
  • Download

Lines Matching refs:cache_mutex

898 static std::mutex cache_mutex;  variable
1049 static Cache* find_named_cache_locked(unsigned netid) REQUIRES(cache_mutex);
1106 std::lock_guard guard(cache_mutex); in _resolv_cache_query_failed()
1224 static NetConfig* find_netconfig_locked(unsigned netid) REQUIRES(cache_mutex);
1250 std::unique_lock lock(cache_mutex); in resolv_cache_lookup()
1251 android::base::ScopedLockAssertion assume_lock(cache_mutex); in resolv_cache_lookup()
1275 [netid, &cache, &key]() REQUIRES(cache_mutex) { in resolv_cache_lookup()
1341 std::lock_guard guard(cache_mutex); in resolv_cache_add()
1412 std::lock_guard guard(cache_mutex); in resolv_gethostbyaddr_from_cache()
1471 GUARDED_BY(cache_mutex);
1483 std::lock_guard guard(cache_mutex); in resolv_has_nameservers()
1489 std::lock_guard guard(cache_mutex); in resolv_create_cache_for_net()
1500 std::lock_guard guard(cache_mutex); in resolv_delete_cache_for_net()
1505 std::lock_guard guard(cache_mutex); in resolv_flush_cache_for_net()
1519 std::lock_guard guard(cache_mutex); in resolv_list_caches()
1553 std::lock_guard guard(cache_mutex); in resolv_get_network_types_for_net()
1605 std::lock_guard guard(cache_mutex); in getCustomizedTableByName()
1636 std::lock_guard guard(cache_mutex); in resolv_set_nameservers()
1683 std::lock_guard guard(cache_mutex); in resolv_set_options()
1715 std::lock_guard guard(cache_mutex); in resolv_populate_res_for_net()
1763 std::lock_guard guard(cache_mutex); in android_net_res_stats_get_info_for_net()
1793 std::lock_guard guard(cache_mutex); in resolv_cache_dump_subsampling_map()
1812 std::lock_guard guard(cache_mutex); in resolv_cache_get_subsampling_denom()
1829 std::lock_guard guard(cache_mutex); in resolv_cache_get_resolver_stats()
1861 std::lock_guard guard(cache_mutex); in resolv_cache_add_resolver_stats_sample()
1876 std::lock_guard guard(cache_mutex); in has_named_cache()
1893 std::lock_guard guard(cache_mutex); in resolv_cache_get_expiration()
1915 std::lock_guard guard(cache_mutex); in resolv_stats_set_servers_for_dot()
1938 std::lock_guard guard(cache_mutex); in resolv_stats_add()
2039 std::lock_guard guard(cache_mutex); in resolv_netconfig_dump()