Home
last modified time | relevance | path

Searched refs:CODE_P (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_impl.h357 const size_t psize = rm->rm_col[CODE_P].rc_size; in raidz_generate_p_impl()
358 abd_t *pabd = rm->rm_col[CODE_P].rc_abd; in raidz_generate_p_impl()
424 const size_t csize = rm->rm_col[CODE_P].rc_size; in raidz_generate_pq_impl()
428 rm->rm_col[CODE_P].rc_abd, in raidz_generate_pq_impl()
434 raidz_copy(cabds[CODE_P], rm->rm_col[2].rc_abd, csize); in raidz_generate_pq_impl()
497 const size_t csize = rm->rm_col[CODE_P].rc_size; in raidz_generate_pqr_impl()
501 rm->rm_col[CODE_P].rc_abd, in raidz_generate_pqr_impl()
508 raidz_copy(cabds[CODE_P], rm->rm_col[3].rc_abd, csize); in raidz_generate_pqr_impl()
600 raidz_copy(xabd, rm->rm_col[CODE_P].rc_abd, xsize); in raidz_reconstruct_p_impl()
615 return (1 << CODE_P); in raidz_reconstruct_p_impl()
[all …]
H A Dvdev_raidz_math.c190 if (nbaddata == 1 && parity_valid[CODE_P]) { in reconstruct_fun_p_sel()
201 if (parity_valid[CODE_P]) { in reconstruct_fun_pq_sel()
207 parity_valid[CODE_P] && parity_valid[CODE_Q]) { in reconstruct_fun_pq_sel()
218 if (parity_valid[CODE_P]) { in reconstruct_fun_pqr_sel()
226 if (parity_valid[CODE_P] && parity_valid[CODE_Q]) { in reconstruct_fun_pqr_sel()
228 } else if (parity_valid[CODE_P] && parity_valid[CODE_R]) { in reconstruct_fun_pqr_sel()
234 parity_valid[CODE_P] && parity_valid[CODE_Q] && in reconstruct_fun_pqr_sel()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_raidz_impl.h37 #define CODE_P (0U) macro
162 #define raidz_big_size(rm) (raidz_col_size(rm, CODE_P))