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()
142 lockdep_assert_held(&ca->set->bucket_lock); in __bch_invalidate_one_bucket()
289 mutex_unlock(&(ca)->set->bucket_lock); \
297 mutex_lock(&(ca)->set->bucket_lock); \
321 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()
417 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
419 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
498 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
525 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
527 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()