Lines Matching refs:blocks
154 struct page **blocks, unsigned int *offs, in __2data_recov_4() argument
168 p = blocks[disks-2]; in __2data_recov_4()
170 q = blocks[disks-1]; in __2data_recov_4()
173 a = blocks[faila]; in __2data_recov_4()
175 b = blocks[failb]; in __2data_recov_4()
204 struct page **blocks, unsigned int *offs, in __2data_recov_5() argument
222 if (blocks[i] == NULL) in __2data_recov_5()
231 p = blocks[disks-2]; in __2data_recov_5()
233 q = blocks[disks-1]; in __2data_recov_5()
235 g = blocks[good]; in __2data_recov_5()
242 dp = blocks[faila]; in __2data_recov_5()
244 dq = blocks[failb]; in __2data_recov_5()
295 struct page **blocks, unsigned int *offs, in __2data_recov_n() argument
309 p = blocks[disks-2]; in __2data_recov_n()
311 q = blocks[disks-1]; in __2data_recov_n()
318 dp = blocks[faila]; in __2data_recov_n()
320 blocks[faila] = NULL; in __2data_recov_n()
321 blocks[disks-2] = dp; in __2data_recov_n()
323 dq = blocks[failb]; in __2data_recov_n()
325 blocks[failb] = NULL; in __2data_recov_n()
326 blocks[disks-1] = dq; in __2data_recov_n()
330 tx = async_gen_syndrome(blocks, offs, disks, bytes, submit); in __2data_recov_n()
333 blocks[faila] = dp; in __2data_recov_n()
335 blocks[failb] = dq; in __2data_recov_n()
337 blocks[disks-2] = p; in __2data_recov_n()
339 blocks[disks-1] = q; in __2data_recov_n()
394 struct page **blocks, unsigned int *offs, in async_raid6_2data_recov() argument
412 void **ptrs = scribble ? scribble : (void **) blocks; in async_raid6_2data_recov()
416 if (blocks[i] == NULL) in async_raid6_2data_recov()
419 ptrs[i] = page_address(blocks[i]) + offs[i]; in async_raid6_2data_recov()
430 if (blocks[i]) in async_raid6_2data_recov()
445 blocks, offs, submit); in async_raid6_2data_recov()
453 blocks, offs, submit); in async_raid6_2data_recov()
456 blocks, offs, submit); in async_raid6_2data_recov()
472 struct page **blocks, unsigned int *offs, in async_raid6_datap_recov() argument
495 void **ptrs = scribble ? scribble : (void **) blocks; in async_raid6_datap_recov()
499 if (blocks[i] == NULL) in async_raid6_datap_recov()
502 ptrs[i] = page_address(blocks[i]) + offs[i]; in async_raid6_datap_recov()
516 if (blocks[i]) { in async_raid6_datap_recov()
525 p = blocks[disks-2]; in async_raid6_datap_recov()
527 q = blocks[disks-1]; in async_raid6_datap_recov()
533 dq = blocks[faila]; in async_raid6_datap_recov()
535 blocks[faila] = NULL; in async_raid6_datap_recov()
536 blocks[disks-1] = dq; in async_raid6_datap_recov()
543 struct page *g = blocks[good]; in async_raid6_datap_recov()
557 tx = async_gen_syndrome(blocks, offs, disks, bytes, submit); in async_raid6_datap_recov()
561 blocks[faila] = dq; in async_raid6_datap_recov()
563 blocks[disks-1] = q; in async_raid6_datap_recov()