Searched defs:nparity (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_vdev.c1237 long nparity; local
1240 nparity = 1;
1245 nparity = strtol(p, &end, 10);
1246 if (errno != 0 || nparity < 1 || nparity >= 255 ||
1252 *mindev = nparity + 1;
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs.c192 unsigned nparity; member in struct:grub_zfs_device_desc
712 if (!grub_zfs_nvlist_lookup_uint64 (nvlist, "nparity", &par))
717 fill->nparity = par;
1666 if (desc->nparity < 1 || desc->nparity > 3)
1668 "raidz%d is not supported", desc->nparity);
1671 + (desc->n_children - desc->nparity) - 1);
1676 if (desc->nparity == 2)
1678 if (desc->nparity == 3)
1681 >= (desc->n_children - desc->nparity))
[all...]

Completed in 25 milliseconds