Lines Matching refs:bucket_lock
101 mutex_lock(&c->bucket_lock); in bch_rescale_priorities()
114 mutex_unlock(&c->bucket_lock); in bch_rescale_priorities()
141 lockdep_assert_held(&ca->set->bucket_lock); in __bch_invalidate_one_bucket()
287 mutex_unlock(&(ca)->set->bucket_lock); \
295 mutex_lock(&(ca)->set->bucket_lock); \
319 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
334 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
338 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
404 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
406 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
471 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
503 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
505 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()