Searched refs:nr_parity (Results 1 – 2 of 2) sorted by relevance
1694 unsigned nr_parity, in ec_stripe_key_init() argument1703 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()[all …]
173 u8 nr_parity; member