Searched refs:cache_size_mutex (Results 1 – 2 of 2) sorted by relevance
486 struct mutex cache_size_mutex; /* Protect changes to cache size */ member
2167 mutex_lock(&conf->cache_size_mutex); in resize_stripes()2185 mutex_unlock(&conf->cache_size_mutex); in resize_stripes()2232 mutex_unlock(&conf->cache_size_mutex); in resize_stripes()5869 mutex_trylock(&conf->cache_size_mutex)) { in raid5d()5875 mutex_unlock(&conf->cache_size_mutex); in raid5d()5907 mutex_lock(&conf->cache_size_mutex); in raid5_set_cache_size()5911 mutex_unlock(&conf->cache_size_mutex); in raid5_set_cache_size()5918 mutex_lock(&conf->cache_size_mutex); in raid5_set_cache_size()5922 mutex_unlock(&conf->cache_size_mutex); in raid5_set_cache_size()6396 if (mutex_trylock(&conf->cache_size_mutex)) { in raid5_cache_scan()[all …]