Home
last modified time | relevance | path

Searched refs:ec_idx (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dalloc_types.h65 u8 ec_idx; member
Dalloc_foreground.c856 unsigned i, ec_idx; in bucket_alloc_from_stripe() local
874 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()
Dec.c1638 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()