Lines Matching refs:ptrs
21 int failb, void **ptrs) in raid6_2data_recov_intx1() argument
28 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_intx1()
29 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_intx1()
34 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_intx1()
35 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1()
36 ptrs[disks-2] = dp; in raid6_2data_recov_intx1()
37 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_intx1()
38 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1()
39 ptrs[disks-1] = dq; in raid6_2data_recov_intx1()
41 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_intx1()
44 ptrs[faila] = dp; in raid6_2data_recov_intx1()
45 ptrs[failb] = dq; in raid6_2data_recov_intx1()
46 ptrs[disks-2] = p; in raid6_2data_recov_intx1()
47 ptrs[disks-1] = q; in raid6_2data_recov_intx1()
65 void **ptrs) in raid6_datap_recov_intx1() argument
70 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_intx1()
71 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov_intx1()
75 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_intx1()
76 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_intx1()
77 ptrs[disks-1] = dq; in raid6_datap_recov_intx1()
79 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_datap_recov_intx1()
82 ptrs[faila] = dq; in raid6_datap_recov_intx1()
83 ptrs[disks-1] = q; in raid6_datap_recov_intx1()
108 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs) in raid6_dual_recov() argument
119 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_dual_recov()
128 raid6_datap_recov(disks, bytes, faila, ptrs); in raid6_dual_recov()
131 raid6_2data_recov(disks, bytes, faila, failb, ptrs); in raid6_dual_recov()