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()
139 lockdep_assert_held(&ca->set->bucket_lock); in __bch_invalidate_one_bucket()
317 mutex_unlock(&(ca)->set->bucket_lock); \
325 mutex_lock(&(ca)->set->bucket_lock); \
349 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
364 mutex_unlock(&ca->set->bucket_lock); in bch_allocator_thread()
368 mutex_lock(&ca->set->bucket_lock); in bch_allocator_thread()
444 mutex_unlock(&ca->set->bucket_lock); in bch_bucket_alloc()
446 mutex_lock(&ca->set->bucket_lock); in bch_bucket_alloc()
525 lockdep_assert_held(&c->bucket_lock); in __bch_bucket_alloc_set()
548 mutex_lock(&c->bucket_lock); in bch_bucket_alloc_set()
550 mutex_unlock(&c->bucket_lock); in bch_bucket_alloc_set()