Home
last modified time | relevance | path

Searched refs:vdev_raidz_log2 (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_raidz_impl.h277 extern const uint8_t vdev_raidz_log2[256] __attribute__((aligned(256)));
288 return (vdev_raidz_pow2[(exp + (unsigned) vdev_raidz_log2[a]) % 255]); in vdev_raidz_exp2()
311 logsum = (gf_log_t) vdev_raidz_log2[a] + (gf_log_t) vdev_raidz_log2[b]; in gf_mul()
325 logsum = (gf_log_t) 255 + (gf_log_t) vdev_raidz_log2[a] - in gf_div()
326 (gf_log_t) vdev_raidz_log2[b]; in gf_div()
338 logsum = (gf_log_t) 255 - (gf_log_t) vdev_raidz_log2[a]; in gf_inv()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c468 static const uint8_t vdev_raidz_log2[256] = { variable
513 ASSERT(vdev_raidz_log2[a] > 0 || a == 1); in vdev_raidz_exp2()
515 exp += vdev_raidz_log2[a]; in vdev_raidz_exp2()
923 log = 255 - vdev_raidz_log2[rows[i][missing[i]]]; in vdev_raidz_matrix_invert()
936 log = vdev_raidz_log2[rows[ii][missing[i]]]; in vdev_raidz_matrix_invert()
993 invlog[i][j] = vdev_raidz_log2[invrows[i][j]]; in vdev_raidz_matrix_reconstruct()
1017 log = vdev_raidz_log2[*src]; in vdev_raidz_matrix_reconstruct()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_scalar.c304 const uint8_t vdev_raidz_log2[256] __attribute__((aligned(256))) = { variable
H A Dvdev_raidz.c963 tmp = 255 - vdev_raidz_log2[a ^ 1]; in vdev_raidz_reconstruct_pq()
965 aexp = vdev_raidz_log2[vdev_raidz_exp2(a, tmp)]; in vdev_raidz_reconstruct_pq()
966 bexp = vdev_raidz_log2[vdev_raidz_exp2(b, tmp)]; in vdev_raidz_reconstruct_pq()
1226 log = 255 - vdev_raidz_log2[rows[i][missing[i]]]; in vdev_raidz_matrix_invert()
1239 log = vdev_raidz_log2[rows[ii][missing[i]]]; in vdev_raidz_matrix_invert()
1292 invlog[i][j] = vdev_raidz_log2[invrows[i][j]]; in vdev_raidz_matrix_reconstruct()
1316 log = vdev_raidz_log2[*src]; in vdev_raidz_matrix_reconstruct()