Searched refs:stripe_ptr (Results 1 – 6 of 6) sorted by relevance
96 static inline bool __bch2_ptr_matches_stripe(const struct bch_extent_ptr *stripe_ptr, in __bch2_ptr_matches_stripe() argument100 return (data_ptr->dev == stripe_ptr->dev || in __bch2_ptr_matches_stripe()102 stripe_ptr->dev == BCH_SB_MEMBER_INVALID) && in __bch2_ptr_matches_stripe()103 data_ptr->gen == stripe_ptr->gen && in __bch2_ptr_matches_stripe()104 data_ptr->offset >= stripe_ptr->offset && in __bch2_ptr_matches_stripe()105 data_ptr->offset < stripe_ptr->offset + sectors; in __bch2_ptr_matches_stripe()
81 x(stripe_ptr, 4) \
539 entry->stripe_ptr.idx == idx) in extent_has_stripe_ptr()1287 struct bch_extent_stripe_ptr stripe_ptr; in ec_stripe_update_extent() local1342 n = bch2_trans_kmalloc(trans, bkey_bytes(k.k) + sizeof(stripe_ptr)); in ec_stripe_update_extent()1353 stripe_ptr = (struct bch_extent_stripe_ptr) { in ec_stripe_update_extent()1362 (union bch_extent_entry *) &stripe_ptr); in ec_stripe_update_extent()
331 entry->stripe_ptr.idx); in bch2_check_fix_ptrs()345 !__bch2_ptr_matches_stripe(&m->ptrs[entry->stripe_ptr.block], in bch2_check_fix_ptrs()
339 (_ptr).ec = _entry->stripe_ptr; \
1152 const struct bch_extent_stripe_ptr *ec = &entry->stripe_ptr; in bch2_bkey_ptrs_to_text()