Home
last modified time | relevance | path

Searched refs:nr_parity (Results 1 – 2 of 2) sorted by relevance

/linux/fs/bcachefs/
H A Dec.c1528 unsigned nr_parity, in ec_stripe_key_init() argument
1537 s->v.nr_blocks = nr_data + nr_parity; in ec_stripe_key_init()
1538 s->v.nr_redundant = nr_parity; in ec_stripe_key_init()
1571 s->nr_parity = h->redundancy; in ec_new_stripe_alloc()
1574 s->nr_data, s->nr_parity, in ec_new_stripe_alloc()
1742 BUG_ON(v->nr_blocks != s->nr_data + s->nr_parity); in new_stripe_alloc_buckets()
1743 BUG_ON(v->nr_redundant != s->nr_parity); in new_stripe_alloc_buckets()
1766 BUG_ON(nr_have_parity > s->nr_parity); in new_stripe_alloc_buckets()
1769 if (nr_have_parity < s->nr_parity) { in new_stripe_alloc_buckets()
1770 req->nr_replicas = s->nr_parity; in new_stripe_alloc_buckets()
[all...]
H A Dec.h210 u8 nr_parity; member