Lines Matching refs:bucket_lock
102 mutex_lock(&c->bucket_lock); in bch_rescale_priorities()
115 mutex_unlock(&c->bucket_lock); in bch_rescale_priorities()
139 lockdep_assert_held(&ca->set->bucket_lock); in __bch_invalidate_one_bucket()
310 mutex_unlock(&(ca)->set->bucket_lock); \
318 mutex_lock(&(ca)->set->bucket_lock); \
342 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
357 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
361 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
437 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
439 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
518 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
541 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
543 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()