Lines Matching refs:bch_stripe
26 static inline unsigned stripe_csums_per_device(const struct bch_stripe *s) in stripe_csums_per_device()
32 static inline unsigned stripe_csum_offset(const struct bch_stripe *s, in stripe_csum_offset()
39 return sizeof(struct bch_stripe) + in stripe_csum_offset()
44 static inline unsigned stripe_blockcount_offset(const struct bch_stripe *s, in stripe_blockcount_offset()
51 static inline unsigned stripe_blockcount_get(const struct bch_stripe *s, in stripe_blockcount_get()
57 static inline void stripe_blockcount_set(struct bch_stripe *s, in stripe_blockcount_set()
65 static inline unsigned stripe_val_u64s(const struct bch_stripe *s) in stripe_val_u64s()
71 static inline void *stripe_csum(struct bch_stripe *s, in stripe_csum()
80 static inline struct bch_csum stripe_csum_get(struct bch_stripe *s, in stripe_csum_get()
89 static inline void stripe_csum_set(struct bch_stripe *s, in stripe_csum_set()
108 static inline bool bch2_ptr_matches_stripe(const struct bch_stripe *s, in bch2_ptr_matches_stripe()