Lines Matching refs:existing_stripe
1490 ec_validate_checksums(c, &s->existing_stripe); in ec_stripe_create()
1492 if (ec_do_recov(c, &s->existing_stripe)) { in ec_stripe_create()
1498 if (stripe_blockcount_get(&bkey_i_to_stripe(&s->existing_stripe.key)->v, i)) in ec_stripe_create()
1500 s->existing_stripe.data[i]); in ec_stripe_create()
1502 ec_stripe_buf_exit(&s->existing_stripe); in ec_stripe_create()
1527 ? bkey_i_to_stripe(&s->existing_stripe.key) in ec_stripe_create()
1559 ec_stripe_buf_exit(&s->existing_stripe); in ec_stripe_create()
2036 ret = get_stripe_key_trans(trans, idx, &h->s->existing_stripe); in __bch2_ec_stripe_head_reuse()
2044 existing_v = &bkey_i_to_stripe(&h->s->existing_stripe.key)->v; in __bch2_ec_stripe_head_reuse()
2050 ret = ec_stripe_buf_init(&h->s->existing_stripe, 0, h->blocksize); in __bch2_ec_stripe_head_reuse()
2056 BUG_ON(h->s->existing_stripe.size != h->blocksize); in __bch2_ec_stripe_head_reuse()
2057 BUG_ON(h->s->existing_stripe.size != le16_to_cpu(existing_v->sectors)); in __bch2_ec_stripe_head_reuse()
2076 ec_block_io(c, &h->s->existing_stripe, READ, i, &h->s->iodone); in __bch2_ec_stripe_head_reuse()
2079 bkey_copy(&h->s->new_stripe.key, &h->s->existing_stripe.key); in __bch2_ec_stripe_head_reuse()