Lines Matching refs:disks
25 void raid6_2data_recov(int disks, size_t bytes, int faila, int failb, in raid6_2data_recov() argument
33 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov()
34 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov()
41 ptrs[disks-2] = dp; in raid6_2data_recov()
44 ptrs[disks-1] = dq; in raid6_2data_recov()
46 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov()
51 ptrs[disks-2] = p; in raid6_2data_recov()
52 ptrs[disks-1] = q; in raid6_2data_recov()
70 void raid6_datap_recov(int disks, size_t bytes, int faila, void **ptrs) in raid6_datap_recov() argument
75 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov()
76 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov()
82 ptrs[disks-1] = dq; in raid6_datap_recov()
84 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_datap_recov()
88 ptrs[disks-1] = q; in raid6_datap_recov()
105 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs) in raid6_dual_recov() argument
113 if ( failb == disks-1 ) { in raid6_dual_recov()
114 if ( faila == disks-2 ) { in raid6_dual_recov()
116 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_dual_recov()
123 if ( failb == disks-2 ) { in raid6_dual_recov()
125 raid6_datap_recov(disks, bytes, faila, ptrs); in raid6_dual_recov()
128 raid6_2data_recov(disks, bytes, faila, failb, ptrs); in raid6_dual_recov()