Lines Matching refs:bucket_lock

613 	lockdep_assert_held(&b->c->bucket_lock);  in mca_reap()
684 mutex_lock(&c->bucket_lock); in bch_mca_scan()
685 else if (!mutex_trylock(&c->bucket_lock)) in bch_mca_scan()
730 mutex_unlock(&c->bucket_lock); in bch_mca_scan()
758 mutex_lock(&c->bucket_lock); in bch_btree_cache_free()
793 mutex_unlock(&c->bucket_lock); in bch_btree_cache_free()
931 lockdep_assert_held(&c->bucket_lock); in mca_alloc()
1022 mutex_lock(&c->bucket_lock); in bch_btree_node_get()
1024 mutex_unlock(&c->bucket_lock); in bch_btree_node_get()
1068 mutex_lock(&parent->c->bucket_lock); in btree_node_prefetch()
1070 mutex_unlock(&parent->c->bucket_lock); in btree_node_prefetch()
1111 mutex_lock(&b->c->bucket_lock); in btree_node_free()
1114 mutex_unlock(&b->c->bucket_lock); in btree_node_free()
1128 mutex_lock(&c->bucket_lock); in __bch_btree_node_alloc()
1151 mutex_unlock(&c->bucket_lock); in __bch_btree_node_alloc()
1158 mutex_unlock(&c->bucket_lock); in __bch_btree_node_alloc()
1190 mutex_lock(&b->c->bucket_lock); in make_btree_freeing_key()
1202 mutex_unlock(&b->c->bucket_lock); in make_btree_freeing_key()
1211 mutex_lock(&c->bucket_lock); in btree_check_reserve()
1217 mutex_unlock(&c->bucket_lock); in btree_check_reserve()
1221 mutex_unlock(&c->bucket_lock); in btree_check_reserve()
1746 mutex_lock(&c->bucket_lock); in btree_gc_start()
1762 mutex_unlock(&c->bucket_lock); in btree_gc_start()
1772 mutex_lock(&c->bucket_lock); in bch_btree_gc_finish()
1830 mutex_unlock(&c->bucket_lock); in bch_btree_gc_finish()
2145 mutex_lock(&c->bucket_lock); in bch_initial_gc_finish()
2171 mutex_unlock(&c->bucket_lock); in bch_initial_gc_finish()
2546 mutex_lock(&b->c->bucket_lock); in bch_btree_set_root()
2548 mutex_unlock(&b->c->bucket_lock); in bch_btree_set_root()