Lines Matching refs:j
30 int i, j; in makedata() local
33 for (j = 0; j < PAGE_SIZE; j++) in makedata()
34 data[i][j] = rand(); in makedata()
52 static int test_disks(int i, int j) in test_disks() argument
60 dataptrs[j] = recovj; in test_disks()
62 raid6_dual_recov(NDISKS, PAGE_SIZE, i, j, (void **)&dataptrs); in test_disks()
65 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks()
67 if (i < NDISKS-2 && j == NDISKS-1) { in test_disks()
75 j, disk_type(j), in test_disks()
82 dataptrs[j] = data[j]; in test_disks()
91 int i, j, p1, p2; in main() local
119 for (j = i+1; j < NDISKS; j++) in main()
120 err += test_disks(i, j); in main()
136 for (j = i+1; j < NDISKS; j++) in main()
137 err += test_disks(i, j); in main()