Lines Matching refs:bch_extent_ptr
24 (const struct bch_extent_ptr *) (_entry), \
25 (struct bch_extent_ptr *) (_entry)); \
32 !type_is(_entry, struct bch_extent_ptr *) && \
37 type_is_exact(_entry, const struct bch_extent_ptr *) ||\
614 const struct bch_extent_ptr *bch2_bkey_has_device_c(struct bkey_s_c, unsigned);
616 static inline struct bch_extent_ptr *bch2_bkey_has_device(struct bkey_s k, unsigned dev) in bch2_bkey_has_device()
625 static inline void bch2_bkey_append_ptr(struct bkey_i *k, struct bch_extent_ptr ptr) in bch2_bkey_append_ptr()
627 struct bch_extent_ptr *dest; in bch2_bkey_append_ptr()
638 dest = (struct bch_extent_ptr *)((void *) &k->v + bkey_val_bytes(&k->k)); in bch2_bkey_append_ptr()
649 void bch2_bkey_drop_ptr_noerror(struct bkey_s, struct bch_extent_ptr *);
650 void bch2_bkey_drop_ptr(struct bkey_s, struct bch_extent_ptr *);
684 struct bch_extent_ptr, u64);
686 struct bch_extent_ptr *
690 struct bkey_s, struct bch_extent_ptr *);
695 void bch2_extent_ptr_to_text(struct printbuf *out, struct bch_fs *, const struct bch_extent_ptr *);
701 static inline bool bch2_extent_ptr_eq(struct bch_extent_ptr ptr1, in bch2_extent_ptr_eq()
702 struct bch_extent_ptr ptr2) in bch2_extent_ptr_eq()