Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c350 offset += col->rc_size; in vdev_raidz_cksum_report()
463 rc->rc_size = 0; in vdev_raidz_map_alloc()
469 asize += rc->rc_size; in vdev_raidz_map_alloc()
487 off += rc->rc_size; in vdev_raidz_map_alloc()
511 ASSERT(rr->rr_col[0].rc_size == rr->rr_col[1].rc_size); in vdev_raidz_map_alloc()
863 ASSERT3U(rr->rr_col[x].rc_size, <=, rr->rr_col[VDEV_RAIDZ_P].rc_size); in vdev_raidz_reconstruct_p()
895 ASSERT(rr->rr_col[x].rc_size <= rr->rr_col[VDEV_RAIDZ_Q].rc_size); in vdev_raidz_reconstruct_q()
946 ASSERT(rr->rr_col[x].rc_size >= rr->rr_col[y].rc_size); in vdev_raidz_reconstruct_pq()
1411 col->rc_size); in vdev_raidz_reconstruct_general()
1736 if (rc->rc_size == 0) in vdev_raidz_io_start_write()
[all …]
H A Dvdev_draid.c862 offset += col->rc_size; in vdev_draid_cksum_report()
899 if (rc->rc_size == 0) { in vdev_draid_map_alloc_write()
919 abd_off += rc->rc_size; in vdev_draid_map_alloc_write()
952 if (rc->rc_size == 0) { in vdev_draid_map_alloc_scrub()
982 abd_off += rc->rc_size; in vdev_draid_map_alloc_scrub()
983 rc->rc_size = abd_size; in vdev_draid_map_alloc_scrub()
1008 if (rc->rc_size > 0) { in vdev_draid_map_alloc_read()
1041 if (rc->rc_size == 0) { in vdev_draid_map_alloc_empty()
1250 rc->rc_size = 0; in vdev_draid_map_alloc_row()
1256 asize += rc->rc_size; in vdev_draid_map_alloc_row()
[all …]
H A Dvdev_raidz_math_impl.h370 size = rr->rr_col[c].rc_size; in raidz_generate_p_impl()
440 dsize = rr->rr_col[c].rc_size; in raidz_generate_pq_impl()
515 dsize = rr->rr_col[c].rc_size; in raidz_generate_pqr_impl()
593 const size_t xsize = rr->rr_col[x].rc_size; in raidz_reconstruct_p_impl()
612 size = MIN(rr->rr_col[c].rc_size, xsize); in raidz_reconstruct_p_impl()
698 dsize = rr->rr_col[c].rc_size; in raidz_reconstruct_q_impl()
793 dsize = rr->rr_col[c].rc_size; in raidz_reconstruct_r_impl()
951 dsize = rr->rr_col[c].rc_size; in raidz_reconstruct_pq_impl()
1111 dsize = rr->rr_col[c].rc_size; in raidz_reconstruct_pr_impl()
1278 dsize = rr->rr_col[c].rc_size; in raidz_reconstruct_qr_impl()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c197 #define DATA_COL_SIZE(rr, i) ((rr)->rr_col[rr->rr_firstdatacol + (i)].rc_size)
200 #define CODE_COL_SIZE(rr, i) ((rr)->rr_col[(i)].rc_size)
276 abd_iterate_func(col->rc_abd, 0, col->rc_size, in corrupt_colums()
471 rr->rr_col[c].rc_size = 1ULL << ashift; in vdev_raidz_map_alloc_expanded()
473 abd_alloc_linear(rr->rr_col[c].rc_size, in vdev_raidz_map_alloc_expanded()
479 rr->rr_col[c].rc_size = 0; in vdev_raidz_map_alloc_expanded()
494 rr->rr_col[c].rc_size = 1ULL << ashift; in vdev_raidz_map_alloc_expanded()
499 asize += rr->rr_col[c].rc_size; in vdev_raidz_map_alloc_expanded()
525 ASSERT(rr->rr_col[0].rc_size == rr->rr_col[1].rc_size); in vdev_raidz_map_alloc_expanded()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_raidz_impl.h108 uint64_t rc_size; /* I/O size */ member
193 #define raidz_col_size(rm, c) ((rm)->rm_col[c].rc_size)