Home
last modified time | relevance | path

Searched refs:bch2_dev_rcu (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dsb-members.h26 static inline struct bch_dev *bch2_dev_rcu(struct bch_fs *, unsigned);
31 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_idx_is_online()
223 static inline struct bch_dev *bch2_dev_rcu(struct bch_fs *c, unsigned dev) in bch2_dev_rcu() function
293 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_get_ioref()
H A Dextents.c102 struct bch_dev *ca2 = bch2_dev_rcu(c, p2.ptr.dev); in ptr_better()
165 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_bkey_pick_read_device()
357 struct bch_dev *ca = bch2_dev_rcu(c, lp.ptr.dev); in bch2_extent_merge()
754 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_desired_durability()
761 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_durability()
958 (ca = bch2_dev_rcu(c, ptr->dev)) && in bch2_bkey_has_target()
1118 (!(ca = bch2_dev_rcu(c, ptr->dev)) || in bch2_extent_normalize()
H A Dalloc_foreground.c170 bch2_dev_rcu(c, ob->dev)->nr_partial_buckets++; in open_bucket_free_unused()
924 bch2_dev_rcu(c, ob->dev)->nr_partial_buckets--; in bucket_alloc_set_partial()
1141 bch2_dev_rcu(c, ob->dev)->nr_partial_buckets--; in bch2_open_buckets_stop()
H A Dsb-members.c423 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_dev_btree_bitmap_marked()
H A Dbtree_gc.c1109 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in gc_btree_gens_key()
1120 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in gc_btree_gens_key()
H A Dbuckets.c303 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_check_fix_ptrs()
317 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_check_fix_ptrs()
H A Ddata_update.c710 struct bch_dev *ca = bch2_dev_rcu(c, i); in can_write_extent()
H A Dmove.c1047 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in rereplicate_pred()
H A Dbtree_io.c1289 struct bch_dev *ca2 = bch2_dev_rcu(c, ptr->dev); in bch2_btree_node_read_done()