Home
last modified time | relevance | path

Searched refs:btree_trans_barrier (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbtree_key_cache.c97 struct bch_fs *c = container_of(pending->srcu, struct bch_fs, btree_trans_barrier); in __bkey_cached_free()
492 int srcu_idx = srcu_read_lock(&c->btree_trans_barrier); in bch2_btree_key_cache_journal_flush()
516 srcu_read_unlock(&c->btree_trans_barrier, srcu_idx); in bch2_btree_key_cache_journal_flush()
604 srcu_idx = srcu_read_lock(&c->btree_trans_barrier); in bch2_btree_key_cache_scan()
618 srcu_read_unlock(&c->btree_trans_barrier, srcu_idx); in bch2_btree_key_cache_scan()
667 srcu_read_unlock(&c->btree_trans_barrier, srcu_idx); in bch2_btree_key_cache_scan()
760 if (rcu_pending_init(&bc->pending[0], &c->btree_trans_barrier, __bkey_cached_free) || in bch2_fs_btree_key_cache_init()
761 rcu_pending_init(&bc->pending[1], &c->btree_trans_barrier, __bkey_cached_free)) in bch2_fs_btree_key_cache_init()
Dbtree_iter.c3045 srcu_read_unlock(&c->btree_trans_barrier, trans->srcu_idx); in bch2_trans_srcu_unlock()
3053 trans->srcu_idx = srcu_read_lock(&trans->c->btree_trans_barrier); in bch2_trans_srcu_lock()
3152 __acquires(&c->btree_trans_barrier) in __bch2_trans_get()
3228 trans->srcu_idx = srcu_read_lock(&c->btree_trans_barrier); in __bch2_trans_get()
3261 __releases(&c->btree_trans_barrier) in bch2_trans_put()
3275 srcu_read_unlock(&c->btree_trans_barrier, trans->srcu_idx); in bch2_trans_put()
3445 synchronize_srcu_expedited(&c->btree_trans_barrier); in bch2_fs_btree_iter_exit()
3446 cleanup_srcu_struct(&c->btree_trans_barrier); in bch2_fs_btree_iter_exit()
3480 init_srcu_struct(&c->btree_trans_barrier); in bch2_fs_btree_iter_init()
Dbcachefs.h855 struct srcu_struct btree_trans_barrier; member