Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp898 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);
[all …]