Lines Matching full:disks
156 void *(*const dptrs)[RAID6_TEST_DISKS], const int disks) in raid6_choose_gen() argument
159 int start = (disks>>1)-1, stop = disks-3; /* work on the second half of the disks */ in raid6_choose_gen()
181 (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs); in raid6_choose_gen()
191 (perf * HZ * (disks-2)) >> in raid6_choose_gen()
211 (bestgenperf * HZ * (disks - 2)) >> in raid6_choose_gen()
223 best->xor_syndrome(disks, start, stop, in raid6_choose_gen()
230 (perf * HZ * (disks - 2)) >> in raid6_choose_gen()
244 const int disks = RAID6_TEST_DISKS; in raid6_select_algo() local
260 for (i = 0; i < disks; i++) in raid6_select_algo()
263 cycle = ((disks - 2) * PAGE_SIZE) / 65536; in raid6_select_algo()
269 if ((disks - 2) * PAGE_SIZE % 65536) in raid6_select_algo()
270 memcpy(p, raid6_gfmul, (disks - 2) * PAGE_SIZE % 65536); in raid6_select_algo()
273 gen_best = raid6_choose_gen(&dptrs, disks); in raid6_select_algo()