Lines Matching refs:disks
160 void *(*const dptrs)[RAID6_TEST_DISKS], const int disks)
163 int start = (disks>>1)-1, stop = disks-3; /* work on the second half of the disks */
185 (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs);
195 (perf * HZ * (disks-2)) >>
215 (bestgenperf * HZ * (disks - 2)) >>
227 best->xor_syndrome(disks, start, stop,
234 (perf * HZ * (disks - 2)) >>
248 const int disks = RAID6_TEST_DISKS;
264 for (i = 0; i < disks; i++)
267 cycle = ((disks - 2) * PAGE_SIZE) / 65536;
273 if ((disks - 2) * PAGE_SIZE % 65536)
274 memcpy(p, raid6_gfmul, (disks - 2) * PAGE_SIZE % 65536);
277 gen_best = raid6_choose_gen(&dptrs, disks);