Lines Matching refs:bch_dev
76 struct bch_dev *ca = bch2_dev_rcu(c, dev); in dev_latency()
138 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_bkey_pick_read_device()
288 struct bch_dev *ca = bch2_dev_rcu(c, lp.ptr.dev); in bch2_extent_merge()
667 static inline unsigned __extent_ptr_durability(struct bch_dev *ca, struct extent_ptr_decoded *p) in __extent_ptr_durability()
679 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_desired_durability()
686 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_durability()
877 struct bch_dev *ca; in bch2_bkey_has_target()
988 struct bch_dev *ca = bch2_dev_rcu_noerror(c, ptr->dev); in want_cached_ptr()
1037 struct bch_dev *ca; in bch2_extent_normalize()
1084 struct bch_dev *ca = bch2_dev_rcu_noerror(c, ptr->dev); in bch2_extent_ptr_to_text()
1190 struct bch_dev *ca = bch2_dev_rcu_noerror(c, ptr->dev); in extent_ptr_validate()