Lines Matching refs:bch_dev
68 struct bch_dev *ca = bch2_dev_rcu_noerror(c, f->dev); in bch2_io_failures_to_text()
141 static inline u64 dev_latency(struct bch_dev *ca) in dev_latency()
146 static inline int dev_failed(struct bch_dev *ca) in dev_failed()
157 struct bch_dev *ca1, in ptr_better()
161 struct bch_dev *ca2 = bch2_dev_rcu(c, p2.ptr.dev); in ptr_better()
220 struct bch_dev *ca = bch2_dev_rcu_noerror(c, p.ptr.dev); in bch2_bkey_pick_read_device()
423 struct bch_dev *ca = bch2_dev_rcu(c, lp.ptr.dev); in bch2_extent_merge()
807 static inline unsigned __extent_ptr_durability(struct bch_dev *ca, struct extent_ptr_decoded *p) in __extent_ptr_durability()
819 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_desired_durability()
826 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_durability()
1013 struct bch_dev *ca; in bch2_bkey_has_target()
1121 struct bch_dev *ca = bch2_dev_rcu_noerror(c, ptr->dev); in want_cached_ptr()
1185 struct bch_dev *ca; in bch2_extent_normalize()
1230 struct bch_dev *ca = bch2_dev_rcu_noerror(c, ptr->dev); in bch2_extent_ptr_to_text()
1388 struct bch_dev *ca = bch2_dev_rcu_noerror(c, ptr->dev); in extent_ptr_validate()