Lines Matching refs:nr_parity
1694 unsigned nr_parity, in ec_stripe_key_init() argument
1703 s->v.nr_blocks = nr_data + nr_parity; in ec_stripe_key_init()
1704 s->v.nr_redundant = nr_parity; in ec_stripe_key_init()
1737 s->nr_parity = h->redundancy; in ec_new_stripe_alloc()
1740 s->nr_data, s->nr_parity, in ec_new_stripe_alloc()
1902 BUG_ON(v->nr_blocks != h->s->nr_data + h->s->nr_parity); in new_stripe_alloc_buckets()
1903 BUG_ON(v->nr_redundant != h->s->nr_parity); in new_stripe_alloc_buckets()
1925 BUG_ON(nr_have_parity > h->s->nr_parity); in new_stripe_alloc_buckets()
1928 if (nr_have_parity < h->s->nr_parity) { in new_stripe_alloc_buckets()
1932 h->s->nr_parity, in new_stripe_alloc_buckets()
1941 h->s->nr_data + h->s->nr_parity, in new_stripe_alloc_buckets()
1943 BUG_ON(j >= h->s->nr_data + h->s->nr_parity); in new_stripe_alloc_buckets()
2046 BUG_ON(existing_v->nr_redundant != h->s->nr_parity); in __bch2_ec_stripe_head_reuse()
2097 h->s->nr_parity, in __bch2_ec_stripe_head_reserve()
2414 s->idx, s->nr_data, s->nr_parity, in bch2_new_stripe_to_text()