Searched refs:tgtidx (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math_impl.h | 46 raidz_rec_q_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_q_coeff() argument 49 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_q_coeff() 55 raidz_rec_r_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_r_coeff() argument 58 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_r_coeff() 64 raidz_rec_pq_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_pq_coeff() argument 67 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_pq_coeff() 68 const unsigned y = tgtidx[TARGET_Y]; in raidz_rec_pq_coeff() 80 raidz_rec_pr_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_pr_coeff() argument 83 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_pr_coeff() 84 const unsigned y = tgtidx[TARGET_Y]; in raidz_rec_pr_coeff() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 459 int tgtidx[3]; in run_rec_check_impl() local 471 memcpy(tgtidx, rec_tgts[fn], sizeof (tgtidx)); in run_rec_check_impl() 485 tgtidx[2] = x0 + raidz_parity(rm); in run_rec_check_impl() 487 corrupt_colums(rm, tgtidx+2, 1); in run_rec_check_impl() 490 vdev_raidz_reconstruct(rm, tgtidx, 3); in run_rec_check_impl() 514 tgtidx[1] = x0 + raidz_parity(rm); in run_rec_check_impl() 515 tgtidx[2] = x1 + raidz_parity(rm); in run_rec_check_impl() 517 corrupt_colums(rm, tgtidx+1, 2); in run_rec_check_impl() 520 vdev_raidz_reconstruct(rm, tgtidx, 3); in run_rec_check_impl() 549 tgtidx[0] = x0 + raidz_parity(rm); in run_rec_check_impl() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_raidz_impl.h | 237 impl ## _rec_ ## code(void *rrp, const int *tgtidx) \ 240 return (raidz_reconstruct_## code ## _impl(rr, tgtidx)); \
|