• Home
  • Raw
  • Download

Lines Matching +full:4 +full:- +full:6

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-generic/xor.h
5 * Generic optimized RAID-5 checksumming functions.
20 p1[4] ^= p2[4]; in xor_8regs_2()
22 p1[6] ^= p2[6]; in xor_8regs_2()
26 } while (--lines > 0); in xor_8regs_2()
40 p1[4] ^= p2[4] ^ p3[4]; in xor_8regs_3()
42 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_3()
47 } while (--lines > 0); in xor_8regs_3()
61 p1[4] ^= p2[4] ^ p3[4] ^ p4[4]; in xor_8regs_4()
63 p1[6] ^= p2[6] ^ p3[6] ^ p4[6]; in xor_8regs_4()
69 } while (--lines > 0); in xor_8regs_4()
83 p1[4] ^= p2[4] ^ p3[4] ^ p4[4] ^ p5[4]; in xor_8regs_5()
85 p1[6] ^= p2[6] ^ p3[6] ^ p4[6] ^ p5[6]; in xor_8regs_5()
92 } while (--lines > 0); in xor_8regs_5()
106 d4 = p1[4]; in xor_32regs_2()
108 d6 = p1[6]; in xor_32regs_2()
114 d4 ^= p2[4]; in xor_32regs_2()
116 d6 ^= p2[6]; in xor_32regs_2()
122 p1[4] = d4; in xor_32regs_2()
124 p1[6] = d6; in xor_32regs_2()
128 } while (--lines > 0); in xor_32regs_2()
143 d4 = p1[4]; in xor_32regs_3()
145 d6 = p1[6]; in xor_32regs_3()
151 d4 ^= p2[4]; in xor_32regs_3()
153 d6 ^= p2[6]; in xor_32regs_3()
159 d4 ^= p3[4]; in xor_32regs_3()
161 d6 ^= p3[6]; in xor_32regs_3()
167 p1[4] = d4; in xor_32regs_3()
169 p1[6] = d6; in xor_32regs_3()
174 } while (--lines > 0); in xor_32regs_3()
189 d4 = p1[4]; in xor_32regs_4()
191 d6 = p1[6]; in xor_32regs_4()
197 d4 ^= p2[4]; in xor_32regs_4()
199 d6 ^= p2[6]; in xor_32regs_4()
205 d4 ^= p3[4]; in xor_32regs_4()
207 d6 ^= p3[6]; in xor_32regs_4()
213 d4 ^= p4[4]; in xor_32regs_4()
215 d6 ^= p4[6]; in xor_32regs_4()
221 p1[4] = d4; in xor_32regs_4()
223 p1[6] = d6; in xor_32regs_4()
229 } while (--lines > 0); in xor_32regs_4()
244 d4 = p1[4]; in xor_32regs_5()
246 d6 = p1[6]; in xor_32regs_5()
252 d4 ^= p2[4]; in xor_32regs_5()
254 d6 ^= p2[6]; in xor_32regs_5()
260 d4 ^= p3[4]; in xor_32regs_5()
262 d6 ^= p3[6]; in xor_32regs_5()
268 d4 ^= p4[4]; in xor_32regs_5()
270 d6 ^= p4[6]; in xor_32regs_5()
276 d4 ^= p5[4]; in xor_32regs_5()
278 d6 ^= p5[6]; in xor_32regs_5()
284 p1[4] = d4; in xor_32regs_5()
286 p1[6] = d6; in xor_32regs_5()
293 } while (--lines > 0); in xor_32regs_5()
299 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_2()
311 p1[4] ^= p2[4]; in xor_8regs_p_2()
313 p1[6] ^= p2[6]; in xor_8regs_p_2()
317 } while (--lines > 0); in xor_8regs_p_2()
326 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_3()
340 p1[4] ^= p2[4] ^ p3[4]; in xor_8regs_p_3()
342 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_p_3()
347 } while (--lines > 0); in xor_8regs_p_3()
356 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_4()
373 p1[4] ^= p2[4] ^ p3[4] ^ p4[4]; in xor_8regs_p_4()
375 p1[6] ^= p2[6] ^ p3[6] ^ p4[6]; in xor_8regs_p_4()
381 } while (--lines > 0); in xor_8regs_p_4()
390 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_5()
409 p1[4] ^= p2[4] ^ p3[4] ^ p4[4] ^ p5[4]; in xor_8regs_p_5()
411 p1[6] ^= p2[6] ^ p3[6] ^ p4[6] ^ p5[6]; in xor_8regs_p_5()
418 } while (--lines > 0); in xor_8regs_p_5()
426 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_2()
441 d4 = p1[4]; in xor_32regs_p_2()
443 d6 = p1[6]; in xor_32regs_p_2()
449 d4 ^= p2[4]; in xor_32regs_p_2()
451 d6 ^= p2[6]; in xor_32regs_p_2()
457 p1[4] = d4; in xor_32regs_p_2()
459 p1[6] = d6; in xor_32regs_p_2()
463 } while (--lines > 0); in xor_32regs_p_2()
472 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_3()
489 d4 = p1[4]; in xor_32regs_p_3()
491 d6 = p1[6]; in xor_32regs_p_3()
497 d4 ^= p2[4]; in xor_32regs_p_3()
499 d6 ^= p2[6]; in xor_32regs_p_3()
505 d4 ^= p3[4]; in xor_32regs_p_3()
507 d6 ^= p3[6]; in xor_32regs_p_3()
513 p1[4] = d4; in xor_32regs_p_3()
515 p1[6] = d6; in xor_32regs_p_3()
520 } while (--lines > 0); in xor_32regs_p_3()
529 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_4()
548 d4 = p1[4]; in xor_32regs_p_4()
550 d6 = p1[6]; in xor_32regs_p_4()
556 d4 ^= p2[4]; in xor_32regs_p_4()
558 d6 ^= p2[6]; in xor_32regs_p_4()
564 d4 ^= p3[4]; in xor_32regs_p_4()
566 d6 ^= p3[6]; in xor_32regs_p_4()
572 d4 ^= p4[4]; in xor_32regs_p_4()
574 d6 ^= p4[6]; in xor_32regs_p_4()
580 p1[4] = d4; in xor_32regs_p_4()
582 p1[6] = d6; in xor_32regs_p_4()
588 } while (--lines > 0); in xor_32regs_p_4()
597 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_5()
618 d4 = p1[4]; in xor_32regs_p_5()
620 d6 = p1[6]; in xor_32regs_p_5()
626 d4 ^= p2[4]; in xor_32regs_p_5()
628 d6 ^= p2[6]; in xor_32regs_p_5()
634 d4 ^= p3[4]; in xor_32regs_p_5()
636 d6 ^= p3[6]; in xor_32regs_p_5()
642 d4 ^= p4[4]; in xor_32regs_p_5()
644 d6 ^= p4[6]; in xor_32regs_p_5()
650 d4 ^= p5[4]; in xor_32regs_p_5()
652 d6 ^= p5[6]; in xor_32regs_p_5()
658 p1[4] = d4; in xor_32regs_p_5()
660 p1[6] = d6; in xor_32regs_p_5()
667 } while (--lines > 0); in xor_32regs_p_5()