Lines Matching refs:existing_stripe
1481 ec_validate_checksums(c, &s->existing_stripe); in ec_stripe_create()
1483 if (ec_do_recov(c, &s->existing_stripe)) { in ec_stripe_create()
1489 if (stripe_blockcount_get(&bkey_i_to_stripe(&s->existing_stripe.key)->v, i)) in ec_stripe_create()
1491 s->existing_stripe.data[i]); in ec_stripe_create()
1493 ec_stripe_buf_exit(&s->existing_stripe); in ec_stripe_create()
1518 ? bkey_i_to_stripe(&s->existing_stripe.key) in ec_stripe_create()
1550 ec_stripe_buf_exit(&s->existing_stripe); in ec_stripe_create()
2027 ret = get_stripe_key_trans(trans, idx, &h->s->existing_stripe); in __bch2_ec_stripe_head_reuse()
2035 existing_v = &bkey_i_to_stripe(&h->s->existing_stripe.key)->v; in __bch2_ec_stripe_head_reuse()
2041 ret = ec_stripe_buf_init(&h->s->existing_stripe, 0, h->blocksize); in __bch2_ec_stripe_head_reuse()
2047 BUG_ON(h->s->existing_stripe.size != h->blocksize); in __bch2_ec_stripe_head_reuse()
2048 BUG_ON(h->s->existing_stripe.size != le16_to_cpu(existing_v->sectors)); in __bch2_ec_stripe_head_reuse()
2067 ec_block_io(c, &h->s->existing_stripe, READ, i, &h->s->iodone); in __bch2_ec_stripe_head_reuse()
2070 bkey_copy(&h->s->new_stripe.key, &h->s->existing_stripe.key); in __bch2_ec_stripe_head_reuse()