Searched refs:has_ec (Results 1 – 10 of 10) sorted by relevance
24 bool has_ec; member
152 if (!p.idx && p.has_ec && bch2_force_reconstruct_read) in bch2_bkey_pick_read_device()155 if (p.idx > (unsigned) p.has_ec) in bch2_bkey_pick_read_device()283 lp.has_ec != rp.has_ec) in bch2_extent_merge()295 if (lp.has_ec != rp.has_ec || in bch2_extent_merge()296 (lp.has_ec && in bch2_extent_merge()657 if (p.has_ec) in bch2_bkey_replicas()672 return p->has_ec in __extent_ptr_durability()759 if (p->has_ec) { in bch2_extent_ptr_decoded_append()827 if (p.ptr.dev == ptr->dev && p.has_ec) { in bch2_bkey_drop_ptr()1015 if (p.has_ec) in bch2_extent_ptr_set_cached()
113 BUG_ON(!p.has_ec); in bch2_ptr_matches_stripe()127 BUG_ON(!p.has_ec); in bch2_ptr_matches_stripe_m()
120 return p.has_ec ? BCH_DATA_stripe : BCH_DATA_user; in bch2_bkey_ptr_data_type()
325 (_ptr).has_ec = false; \340 (_ptr).has_ec = true; \
223 if (p.has_ec) { in bch2_check_fix_ptr()548 u32 *dst_sectors = p->has_ec ? &a->stripe_sectors : in __mark_pointer()753 } else if (!p.has_ec) { in __trigger_extent()
153 if (!p.has_ec) in extent_to_replicas()
1114 if (crc_is_encoded(p.crc) || p.has_ec) { in bch2_extent_is_writeable()
855 BUG_ON(!rbio->pick.has_ec); in bch2_ec_read_extent()
101 char has_ec; member