Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp900 static std::mutex cache_mutex; variable
1074 static Cache* find_named_cache_locked(unsigned netid) REQUIRES(cache_mutex);
1131 std::lock_guard guard(cache_mutex); in _resolv_cache_query_failed()
1247 static NetConfig* find_netconfig_locked(unsigned netid) REQUIRES(cache_mutex);
1273 std::unique_lock lock(cache_mutex); in resolv_cache_lookup()
1274 android::base::ScopedLockAssertion assume_lock(cache_mutex); in resolv_cache_lookup()
1298 [netid, &cache, &key]() REQUIRES(cache_mutex) { in resolv_cache_lookup()
1362 std::lock_guard guard(cache_mutex); in resolv_cache_add()
1433 std::lock_guard guard(cache_mutex); in resolv_gethostbyaddr_from_cache()
1492 GUARDED_BY(cache_mutex);
[all …]