Searched refs:cache_size_mutex (Results 1 – 2 of 2) sorted by relevance
625 struct mutex cache_size_mutex; /* Protect changes to cache size */ member
2328 mutex_lock(&conf->cache_size_mutex); in resize_stripes()2345 mutex_unlock(&conf->cache_size_mutex); in resize_stripes()2406 mutex_unlock(&conf->cache_size_mutex); in resize_stripes()6341 mutex_trylock(&conf->cache_size_mutex)) { in raid5d()6347 mutex_unlock(&conf->cache_size_mutex); in raid5d()6383 mutex_lock(&conf->cache_size_mutex); in raid5_set_cache_size()6387 mutex_unlock(&conf->cache_size_mutex); in raid5_set_cache_size()6391 mutex_lock(&conf->cache_size_mutex); in raid5_set_cache_size()6398 mutex_unlock(&conf->cache_size_mutex); in raid5_set_cache_size()6851 if (mutex_trylock(&conf->cache_size_mutex)) { in raid5_cache_scan()[all …]