Lines Matching refs:i
217 int good_srcs, good, i; in __2data_recov_5() local
221 for (i = 0; i < disks-2; i++) { in __2data_recov_5()
222 if (blocks[i] == NULL) in __2data_recov_5()
224 if (i == faila || i == failb) in __2data_recov_5()
226 good = i; in __2data_recov_5()
398 int non_zero_srcs, i; in async_raid6_2data_recov() local
415 for (i = 0; i < disks; i++) in async_raid6_2data_recov()
416 if (blocks[i] == NULL) in async_raid6_2data_recov()
417 ptrs[i] = (void *) raid6_empty_zero_page; in async_raid6_2data_recov()
419 ptrs[i] = page_address(blocks[i]) + offs[i]; in async_raid6_2data_recov()
429 for (i = 0; i < disks-2 && non_zero_srcs < 4; i++) in async_raid6_2data_recov()
430 if (blocks[i]) in async_raid6_2data_recov()
483 int good_srcs, good, i; in async_raid6_datap_recov() local
498 for (i = 0; i < disks; i++) in async_raid6_datap_recov()
499 if (blocks[i] == NULL) in async_raid6_datap_recov()
500 ptrs[i] = (void*)raid6_empty_zero_page; in async_raid6_datap_recov()
502 ptrs[i] = page_address(blocks[i]) + offs[i]; in async_raid6_datap_recov()
513 for (i = 0; i < disks-2; i++) { in async_raid6_datap_recov()
514 if (i == faila) in async_raid6_datap_recov()
516 if (blocks[i]) { in async_raid6_datap_recov()
517 good = i; in async_raid6_datap_recov()