Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c386 if (rc->rc_size != 0) in vdev_raidz_row_free()
511 rc->rc_size + (1ULL << ashift), B_FALSE); in vdev_raidz_map_alloc_write()
512 abd_zero_off(rc->rc_abd, rc->rc_size, 1ULL << ashift); in vdev_raidz_map_alloc_write()
515 rc->rc_abd = abd_alloc_linear(rc->rc_size, B_FALSE); in vdev_raidz_map_alloc_write()
522 zio->io_abd, off, rc->rc_size); in vdev_raidz_map_alloc_write()
547 off += rc->rc_size; in vdev_raidz_map_alloc_write()
565 abd_alloc_linear(rr->rr_col[c].rc_size, B_FALSE); in vdev_raidz_map_alloc_read()
570 zio->io_abd, off, rc->rc_size); in vdev_raidz_map_alloc_read()
571 off += rc->rc_size; in vdev_raidz_map_alloc_read()
660 rc->rc_size = 0; in vdev_raidz_map_alloc()
[all …]
H A Dvdev_draid.c653 uint64_t parity_size = rr->rr_col[0].rc_size; in vdev_draid_map_alloc_write()
662 if (rc->rc_size == 0) { in vdev_draid_map_alloc_write()
666 } else if (rc->rc_size == parity_size) { in vdev_draid_map_alloc_write()
669 zio->io_abd, abd_off, rc->rc_size); in vdev_draid_map_alloc_write()
672 ASSERT3U(rc->rc_size + skip_size, ==, parity_size); in vdev_draid_map_alloc_write()
675 zio->io_abd, abd_off, rc->rc_size), B_TRUE); in vdev_draid_map_alloc_write()
682 abd_off += rc->rc_size; in vdev_draid_map_alloc_write()
683 rc->rc_size = parity_size; in vdev_draid_map_alloc_write()
700 uint64_t parity_size = rr->rr_col[0].rc_size; in vdev_draid_map_alloc_scrub()
715 if (rc->rc_size == 0) { in vdev_draid_map_alloc_scrub()
[all …]
H A Dvdev_raidz_math_impl.h363 const size_t psize = rr->rr_col[CODE_P].rc_size; in raidz_generate_p_impl()
376 size = rr->rr_col[c].rc_size; in raidz_generate_p_impl()
436 const size_t csize = rr->rr_col[CODE_P].rc_size; in raidz_generate_pq_impl()
454 dsize = rr->rr_col[c].rc_size; in raidz_generate_pq_impl()
514 const size_t csize = rr->rr_col[CODE_P].rc_size; in raidz_generate_pqr_impl()
534 dsize = rr->rr_col[c].rc_size; in raidz_generate_pqr_impl()
614 const size_t xsize = rr->rr_col[x].rc_size; in raidz_reconstruct_p_impl()
633 size = rr->rr_col[c].rc_size; in raidz_reconstruct_p_impl()
699 const size_t xsize = rr->rr_col[x].rc_size; in raidz_reconstruct_q_impl()
724 dsize = rr->rr_col[c].rc_size; in raidz_reconstruct_q_impl()
[all …]
/freebsd/sys/cddl/boot/zfs/
H A Dzfssubr.c391 uint64_t rc_size; /* I/O size */ member
540 pcount = rm->rm_col[VDEV_RAIDZ_P].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_p()
545 ccount = rm->rm_col[c].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_p()
567 pcnt = rm->rm_col[VDEV_RAIDZ_P].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_pq()
568 ASSERT(rm->rm_col[VDEV_RAIDZ_P].rc_size == in vdev_raidz_generate_parity_pq()
569 rm->rm_col[VDEV_RAIDZ_Q].rc_size); in vdev_raidz_generate_parity_pq()
576 ccnt = rm->rm_col[c].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_pq()
619 pcnt = rm->rm_col[VDEV_RAIDZ_P].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_pqr()
620 ASSERT(rm->rm_col[VDEV_RAIDZ_P].rc_size == in vdev_raidz_generate_parity_pqr()
621 rm->rm_col[VDEV_RAIDZ_Q].rc_size); in vdev_raidz_generate_parity_pqr()
[all …]
/freebsd/sys/rpc/
H A Dreplay.c69 size_t rc_size; member
142 rc->rc_size -= m_length(rce->rce_repbody, NULL); in replay_free()
155 if (rc->rc_count < REPLAY_MAX && rc->rc_size <= rc->rc_maxsize) in replay_prune()
170 || rc->rc_size > rc->rc_maxsize)); in replay_prune()
252 rc->rc_size += m_length(m, NULL); in replay_setreply()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_raidz_impl.h110 uint32_t rc_size; /* I/O size */ member
211 #define raidz_col_size(rm, c) ((rm)->rm_col[c].rc_size)
/freebsd/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c204 #define DATA_COL_SIZE(rr, i) ((rr)->rr_col[rr->rr_firstdatacol + (i)].rc_size)
207 #define CODE_COL_SIZE(rr, i) ((rr)->rr_col[(i)].rc_size)
279 abd_iterate_func(col->rc_abd, 0, col->rc_size, in corrupt_colums()