Searched refs:cache_mutex (Results 1 – 1 of 1) sorted by relevance
1160 static std::mutex cache_mutex; variable1164 static resolv_cache* find_named_cache_locked(unsigned netid) REQUIRES(cache_mutex);1165 static int resolv_create_cache_for_net_locked(unsigned netid) REQUIRES(cache_mutex);1239 std::lock_guard guard(cache_mutex); in _resolv_cache_query_failed()1409 static resolv_cache_info* find_cache_info_locked(unsigned netid) REQUIRES(cache_mutex);1436 std::unique_lock lock(cache_mutex); in _resolv_cache_lookup()1437 ScopedAssumeLocked assume_lock(cache_mutex); in _resolv_cache_lookup()1465 [netid, &cache, &key]() REQUIRES(cache_mutex) { in _resolv_cache_lookup()1531 std::lock_guard guard(cache_mutex); in _resolv_cache_add()1585 static struct resolv_cache_info res_cache_list GUARDED_BY(cache_mutex);[all …]