Searched refs:existing_v (Results 1 – 1 of 1) sorted by relevance
1846 struct bch_stripe *existing_v = &bkey_i_to_stripe(&s->existing_stripe.key)->v; in init_new_stripe_from_existing() local1849 BUG_ON(existing_v->nr_redundant != s->nr_parity); in init_new_stripe_from_existing()1850 s->nr_data = existing_v->nr_blocks - in init_new_stripe_from_existing()1851 existing_v->nr_redundant; in init_new_stripe_from_existing()1853 int ret = ec_stripe_buf_init(&s->existing_stripe, 0, le16_to_cpu(existing_v->sectors)); in init_new_stripe_from_existing()1859 BUG_ON(s->existing_stripe.size != le16_to_cpu(existing_v->sectors)); in init_new_stripe_from_existing()1872 for (unsigned i = 0; i < existing_v->nr_blocks; i++) { in init_new_stripe_from_existing()1873 if (stripe_blockcount_get(existing_v, i)) { in init_new_stripe_from_existing()