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()
336 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
340 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
409 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
411 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
486 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
519 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
521 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()