Lines Matching refs:bucket_lock
103 mutex_lock(&c->bucket_lock); in bch_rescale_priorities()
116 mutex_unlock(&c->bucket_lock); in bch_rescale_priorities()
143 lockdep_assert_held(&ca->set->bucket_lock); in __bch_invalidate_one_bucket()
290 mutex_unlock(&(ca)->set->bucket_lock); \
298 mutex_lock(&(ca)->set->bucket_lock); \
322 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
337 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
341 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
415 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
417 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
496 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
529 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
531 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()