Home
last modified time | relevance | path

Searched refs:rr_cols (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c251 for (; x < rr->rr_cols; x++) { in vdev_raidz_cksum_finish()
427 rr->rr_cols = acols; in vdev_raidz_map_alloc()
510 ASSERT(rr->rr_cols >= 2); in vdev_raidz_map_alloc()
707 ASSERT3U(rr->rr_cols, !=, 0); in vdev_raidz_generate_parity_row()
861 ASSERT3U(x, <, rr->rr_cols); in vdev_raidz_reconstruct_p()
922 exp = 255 - (rr->rr_cols - 1 - x); in vdev_raidz_reconstruct_q()
944 ASSERT(y < rr->rr_cols); in vdev_raidz_reconstruct_pq()
1332 ASSERT3U(c, <, rr->rr_cols); in vdev_raidz_matrix_reconstruct()
1342 ASSERT3U(cc, <, rr->rr_cols); in vdev_raidz_matrix_reconstruct()
1535 nbaddata = rr->rr_cols - nbadparity; in vdev_raidz_reconstruct_row()
[all …]
H A Dvdev_raidz_math_impl.h48 const unsigned ncols = rr->rr_cols; in raidz_rec_q_coeff()
57 const unsigned ncols = rr->rr_cols; in raidz_rec_r_coeff()
66 const unsigned ncols = rr->rr_cols; in raidz_rec_pq_coeff()
82 const unsigned ncols = rr->rr_cols; in raidz_rec_pr_coeff()
99 const unsigned ncols = rr->rr_cols; in raidz_rec_qr_coeff()
120 const unsigned ncols = rr->rr_cols; in raidz_rec_pqr_coeff()
357 const size_t ncols = rr->rr_cols; in raidz_generate_p_impl()
424 const size_t ncols = rr->rr_cols; in raidz_generate_pq_impl()
497 const size_t ncols = rr->rr_cols; in raidz_generate_pqr_impl()
591 const size_t ncols = rr->rr_cols; in raidz_reconstruct_p_impl()
[all …]
H A Dvdev_draid.c718 for (; x < rr->rr_cols; x++) { in vdev_draid_cksum_finish()
756 for (x = rr->rr_firstdatacol; x < rr->rr_cols; x++) { in vdev_draid_cksum_finish()
841 for (c = rr->rr_firstdatacol; c < rr->rr_cols; c++) { in vdev_draid_cksum_report()
849 for (c = rr->rr_firstdatacol; c < rr->rr_cols; c++) { in vdev_draid_cksum_report()
896 for (uint64_t c = rr->rr_firstdatacol; c < rr->rr_cols; c++) { in vdev_draid_map_alloc_write()
949 for (uint64_t c = rr->rr_firstdatacol; c < rr->rr_cols; c++) { in vdev_draid_map_alloc_scrub()
1005 for (uint64_t c = rr->rr_firstdatacol; c < rr->rr_cols; c++) { in vdev_draid_map_alloc_read()
1213 rr->rr_cols = groupwidth; in vdev_draid_map_alloc_row()
2051 for (int c = 0; c < rr->rr_cols; c++) { in vdev_draid_io_start_write()
2092 for (int c = rr->rr_cols - 1; c >= 0; c--) { in vdev_draid_io_start_read()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c237 dcols = opts->rm_golden->rm_row[0]->rr_cols - in cmp_data()
446 rr->rr_cols = cols; in vdev_raidz_map_alloc_expanded()
455 for (int c = 0; c < rr->rr_cols; c++, child_id++) { in vdev_raidz_map_alloc_expanded()
522 if (rr->rr_firstdatacol == 1 && rr->rr_cols > 1 && in vdev_raidz_map_alloc_expanded()
524 ASSERT(rr->rr_cols >= 2); in vdev_raidz_map_alloc_expanded()
658 if (x0 >= rm->rm_row[0]->rr_cols - raidz_parity(rm)) in run_rec_check_impl()
683 if (x0 >= rm->rm_row[0]->rr_cols - raidz_parity(rm)) in run_rec_check_impl()
686 if (x1 >= rm->rm_row[0]->rr_cols - in run_rec_check_impl()
714 if (x0 >= rm->rm_row[0]->rr_cols - raidz_parity(rm)) in run_rec_check_impl()
717 if (x1 >= rm->rm_row[0]->rr_cols - in run_rec_check_impl()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_raidz_impl.h120 uint64_t rr_cols; /* Regular column count */ member
190 #define raidz_ncols(rm) ((rm)->rm_row[0]->rr_cols)