Searched refs:bucket_lock (Results 1 – 7 of 7) sorted by relevance
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()[all …]
625 lockdep_assert_held(&b->c->bucket_lock); in mca_reap()677 mutex_lock(&c->bucket_lock); in bch_mca_scan()678 else if (!mutex_trylock(&c->bucket_lock)) in bch_mca_scan()721 mutex_unlock(&c->bucket_lock); in bch_mca_scan()748 mutex_lock(&c->bucket_lock); in bch_btree_cache_free()778 mutex_unlock(&c->bucket_lock); in bch_btree_cache_free()895 lockdep_assert_held(&c->bucket_lock); in mca_alloc()983 mutex_lock(&c->bucket_lock); in bch_btree_node_get()985 mutex_unlock(&c->bucket_lock); in bch_btree_node_get()1030 mutex_lock(&parent->c->bucket_lock); in btree_node_prefetch()[all …]
177 if (mutex_trylock(&b->c->bucket_lock)) { in btree_ptr_bad_expensive()189 mutex_unlock(&b->c->bucket_lock); in btree_ptr_bad_expensive()194 mutex_unlock(&b->c->bucket_lock); in btree_ptr_bad_expensive()509 if (mutex_trylock(&b->c->bucket_lock)) { in bch_extent_bad_expensive()519 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()524 mutex_unlock(&b->c->bucket_lock); in bch_extent_bad_expensive()
473 mutex_lock(&c->bucket_lock); in bch_cache_size()477 mutex_unlock(&c->bucket_lock); in bch_cache_size()486 mutex_lock(&c->bucket_lock); in bch_cache_max_chain()500 mutex_unlock(&c->bucket_lock); in bch_cache_max_chain()773 mutex_lock(&ca->set->bucket_lock); in SHOW()787 mutex_unlock(&ca->set->bucket_lock); in SHOW()864 mutex_lock(&ca->set->bucket_lock); in STORE()866 mutex_unlock(&ca->set->bucket_lock); in STORE()
208 mutex_lock(&c->bucket_lock); in bch_moving_gc()245 mutex_unlock(&c->bucket_lock); in bch_moving_gc()
552 lockdep_assert_held(&ca->set->bucket_lock); in bch_prio_write()582 mutex_unlock(&ca->set->bucket_lock); in bch_prio_write()584 mutex_lock(&ca->set->bucket_lock); in bch_prio_write()590 mutex_unlock(&ca->set->bucket_lock); in bch_prio_write()595 mutex_lock(&ca->set->bucket_lock); in bch_prio_write()1520 mutex_init(&c->bucket_lock); in bch_cache_set_alloc()1681 mutex_lock(&c->bucket_lock); in run_cache_set()1684 mutex_unlock(&c->bucket_lock); in run_cache_set()
521 struct mutex bucket_lock; member