Home
last modified time | relevance | path

Searched refs:bch_stripe (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dec.h26 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()
[all …]
Dec.c114 const struct bch_stripe *s = bkey_s_c_to_stripe(k).v; in bch2_stripe_validate()
140 const struct bch_stripe *sp = bkey_s_c_to_stripe(k).v; in bch2_stripe_to_text()
141 struct bch_stripe s = {}; in bch2_stripe_to_text()
336 const struct bch_stripe *old_s = old.k->type == KEY_TYPE_stripe in mark_stripe_buckets()
338 const struct bch_stripe *new_s = new.k->type == KEY_TYPE_stripe in mark_stripe_buckets()
370 static inline void stripe_to_mem(struct stripe *m, const struct bch_stripe *s) in stripe_to_mem()
391 const struct bch_stripe *old_s = old.k->type == KEY_TYPE_stripe in bch2_trigger_stripe()
393 const struct bch_stripe *new_s = new.k->type == KEY_TYPE_stripe in bch2_trigger_stripe()
512 static const struct bch_extent_ptr *bkey_matches_stripe(struct bch_stripe *s, in bkey_matches_stripe()
568 struct bch_stripe *v = &bkey_i_to_stripe(&buf->key)->v; in ec_stripe_buf_init()
[all …]
Dec_format.h5 struct bch_stripe { struct
Dbtree_gc.c1029 const struct bch_stripe *s; in bch2_gc_write_stripes_key()