Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math.c184 const int nbaddata) in reconstruct_fun_p_sel() argument
186 if (nbaddata == 1 && parity_valid[CODE_P]) { in reconstruct_fun_p_sel()
194 const int nbaddata) in reconstruct_fun_pq_sel() argument
196 if (nbaddata == 1) { in reconstruct_fun_pq_sel()
202 } else if (nbaddata == 2 && in reconstruct_fun_pq_sel()
211 const int nbaddata) in reconstruct_fun_pqr_sel() argument
213 if (nbaddata == 1) { in reconstruct_fun_pqr_sel()
221 } else if (nbaddata == 2) { in reconstruct_fun_pqr_sel()
229 } else if (nbaddata == 3 && in reconstruct_fun_pqr_sel()
245 const int *parity_valid, const int *dt, const int nbaddata) in vdev_raidz_math_reconstruct() argument
[all …]
H A Dvdev_raidz.c2049 int nbadparity, nbaddata; in vdev_raidz_reconstruct_row() local
2059 nbaddata = rr->rr_cols - nbadparity; in vdev_raidz_reconstruct_row()
2078 nbaddata--; in vdev_raidz_reconstruct_row()
2086 ASSERT(nbaddata >= 0); in vdev_raidz_reconstruct_row()
2087 ASSERT(nbaddata + nbadparity == ntgts); in vdev_raidz_reconstruct_row()
2092 ret = vdev_raidz_math_reconstruct(rm, rr, parity_valid, dt, nbaddata); in vdev_raidz_reconstruct_row()
2099 switch (nbaddata) { in vdev_raidz_reconstruct_row()
/freebsd/sys/cddl/boot/zfs/
H A Dzfssubr.c1171 int nbadparity, nbaddata; in vdev_raidz_reconstruct() local
1181 nbaddata = rm->rm_cols - nbadparity; in vdev_raidz_reconstruct()
1190 nbaddata--; in vdev_raidz_reconstruct()
1197 ASSERT(nbaddata >= 0); in vdev_raidz_reconstruct()
1198 ASSERT(nbaddata + nbadparity == ntgts); in vdev_raidz_reconstruct()