• Home
  • Raw
  • Download

Lines Matching refs:bucket_lock

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()
723 mutex_unlock(&c->bucket_lock); in bch_mca_scan()
750 mutex_lock(&c->bucket_lock); in bch_btree_cache_free()
780 mutex_unlock(&c->bucket_lock); in bch_btree_cache_free()
904 lockdep_assert_held(&c->bucket_lock); in mca_alloc()
992 mutex_lock(&c->bucket_lock); in bch_btree_node_get()
994 mutex_unlock(&c->bucket_lock); in bch_btree_node_get()
1039 mutex_lock(&parent->c->bucket_lock); in btree_node_prefetch()
1041 mutex_unlock(&parent->c->bucket_lock); in btree_node_prefetch()
1068 mutex_lock(&b->c->bucket_lock); in btree_node_free()
1071 mutex_unlock(&b->c->bucket_lock); in btree_node_free()
1081 mutex_lock(&c->bucket_lock); in __bch_btree_node_alloc()
1103 mutex_unlock(&c->bucket_lock); in __bch_btree_node_alloc()
1110 mutex_unlock(&c->bucket_lock); in __bch_btree_node_alloc()
1141 mutex_lock(&b->c->bucket_lock); in make_btree_freeing_key()
1153 mutex_unlock(&b->c->bucket_lock); in make_btree_freeing_key()
1162 mutex_lock(&c->bucket_lock); in btree_check_reserve()
1169 mutex_unlock(&c->bucket_lock); in btree_check_reserve()
1173 mutex_unlock(&c->bucket_lock); in btree_check_reserve()
1652 mutex_lock(&c->bucket_lock); in btree_gc_start()
1666 mutex_unlock(&c->bucket_lock); in btree_gc_start()
1676 mutex_lock(&c->bucket_lock); in bch_btree_gc_finish()
1733 mutex_unlock(&c->bucket_lock); in bch_btree_gc_finish()
1869 mutex_lock(&c->bucket_lock); in bch_initial_gc_finish()
1897 mutex_unlock(&c->bucket_lock); in bch_initial_gc_finish()
2272 mutex_lock(&b->c->bucket_lock); in bch_btree_set_root()
2274 mutex_unlock(&b->c->bucket_lock); in bch_btree_set_root()