Searched refs:ec_idx (Results 1 – 3 of 3) sorted by relevance
65 u8 ec_idx; member
856 unsigned i, ec_idx; in bucket_alloc_from_stripe() local874 for (ec_idx = 0; ec_idx < h->s->nr_data; ec_idx++) { in bucket_alloc_from_stripe()875 if (!h->s->blocks[ec_idx]) in bucket_alloc_from_stripe()878 ob = c->open_buckets + h->s->blocks[ec_idx]; in bucket_alloc_from_stripe()880 !test_and_set_bit(ec_idx, h->s->blocks_allocated)) in bucket_alloc_from_stripe()885 ob->ec_idx = ec_idx; in bucket_alloc_from_stripe()
1638 BUG_ON(!ob->ec->new_stripe.data[ob->ec_idx]); in bch2_writepoint_ec_buf()1643 return ob->ec->new_stripe.data[ob->ec_idx] + (offset << 9); in bch2_writepoint_ec_buf()