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); \
293 mutex_lock(&(ca)->set->bucket_lock); \
317 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
331 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
335 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
401 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
403 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
467 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
499 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
501 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()