• Home
  • Raw
  • Download

Lines Matching +full:3 +full:- +full:5

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-generic/xor.h
5 * Generic optimized RAID-5 checksumming functions.
19 p1[3] ^= p2[3]; in xor_8regs_2()
21 p1[5] ^= p2[5]; in xor_8regs_2()
26 } while (--lines > 0); in xor_8regs_2()
39 p1[3] ^= p2[3] ^ p3[3]; in xor_8regs_3()
41 p1[5] ^= p2[5] ^ p3[5]; in xor_8regs_3()
47 } while (--lines > 0); in xor_8regs_3()
60 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; in xor_8regs_4()
62 p1[5] ^= p2[5] ^ p3[5] ^ p4[5]; in xor_8regs_4()
69 } while (--lines > 0); in xor_8regs_4()
82 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; in xor_8regs_5()
84 p1[5] ^= p2[5] ^ p3[5] ^ p4[5] ^ p5[5]; in xor_8regs_5()
92 } while (--lines > 0); in xor_8regs_5()
105 d3 = p1[3]; in xor_32regs_2()
107 d5 = p1[5]; in xor_32regs_2()
113 d3 ^= p2[3]; in xor_32regs_2()
115 d5 ^= p2[5]; in xor_32regs_2()
121 p1[3] = d3; in xor_32regs_2()
123 p1[5] = d5; in xor_32regs_2()
128 } while (--lines > 0); in xor_32regs_2()
142 d3 = p1[3]; in xor_32regs_3()
144 d5 = p1[5]; in xor_32regs_3()
150 d3 ^= p2[3]; in xor_32regs_3()
152 d5 ^= p2[5]; in xor_32regs_3()
158 d3 ^= p3[3]; in xor_32regs_3()
160 d5 ^= p3[5]; in xor_32regs_3()
166 p1[3] = d3; in xor_32regs_3()
168 p1[5] = d5; in xor_32regs_3()
174 } while (--lines > 0); in xor_32regs_3()
188 d3 = p1[3]; in xor_32regs_4()
190 d5 = p1[5]; in xor_32regs_4()
196 d3 ^= p2[3]; in xor_32regs_4()
198 d5 ^= p2[5]; in xor_32regs_4()
204 d3 ^= p3[3]; in xor_32regs_4()
206 d5 ^= p3[5]; in xor_32regs_4()
212 d3 ^= p4[3]; in xor_32regs_4()
214 d5 ^= p4[5]; in xor_32regs_4()
220 p1[3] = d3; in xor_32regs_4()
222 p1[5] = d5; in xor_32regs_4()
229 } while (--lines > 0); in xor_32regs_4()
243 d3 = p1[3]; in xor_32regs_5()
245 d5 = p1[5]; in xor_32regs_5()
251 d3 ^= p2[3]; in xor_32regs_5()
253 d5 ^= p2[5]; in xor_32regs_5()
259 d3 ^= p3[3]; in xor_32regs_5()
261 d5 ^= p3[5]; in xor_32regs_5()
267 d3 ^= p4[3]; in xor_32regs_5()
269 d5 ^= p4[5]; in xor_32regs_5()
275 d3 ^= p5[3]; in xor_32regs_5()
277 d5 ^= p5[5]; in xor_32regs_5()
283 p1[3] = d3; in xor_32regs_5()
285 p1[5] = d5; 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()
310 p1[3] ^= p2[3]; in xor_8regs_p_2()
312 p1[5] ^= p2[5]; 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()
339 p1[3] ^= p2[3] ^ p3[3]; in xor_8regs_p_3()
341 p1[5] ^= p2[5] ^ p3[5]; 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()
372 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; in xor_8regs_p_4()
374 p1[5] ^= p2[5] ^ p3[5] ^ p4[5]; 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()
408 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; in xor_8regs_p_5()
410 p1[5] ^= p2[5] ^ p3[5] ^ p4[5] ^ p5[5]; 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()
440 d3 = p1[3]; in xor_32regs_p_2()
442 d5 = p1[5]; in xor_32regs_p_2()
448 d3 ^= p2[3]; in xor_32regs_p_2()
450 d5 ^= p2[5]; in xor_32regs_p_2()
456 p1[3] = d3; in xor_32regs_p_2()
458 p1[5] = d5; 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()
488 d3 = p1[3]; in xor_32regs_p_3()
490 d5 = p1[5]; in xor_32regs_p_3()
496 d3 ^= p2[3]; in xor_32regs_p_3()
498 d5 ^= p2[5]; in xor_32regs_p_3()
504 d3 ^= p3[3]; in xor_32regs_p_3()
506 d5 ^= p3[5]; in xor_32regs_p_3()
512 p1[3] = d3; in xor_32regs_p_3()
514 p1[5] = d5; 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()
547 d3 = p1[3]; in xor_32regs_p_4()
549 d5 = p1[5]; in xor_32regs_p_4()
555 d3 ^= p2[3]; in xor_32regs_p_4()
557 d5 ^= p2[5]; in xor_32regs_p_4()
563 d3 ^= p3[3]; in xor_32regs_p_4()
565 d5 ^= p3[5]; in xor_32regs_p_4()
571 d3 ^= p4[3]; in xor_32regs_p_4()
573 d5 ^= p4[5]; in xor_32regs_p_4()
579 p1[3] = d3; in xor_32regs_p_4()
581 p1[5] = d5; 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()
617 d3 = p1[3]; in xor_32regs_p_5()
619 d5 = p1[5]; in xor_32regs_p_5()
625 d3 ^= p2[3]; in xor_32regs_p_5()
627 d5 ^= p2[5]; in xor_32regs_p_5()
633 d3 ^= p3[3]; in xor_32regs_p_5()
635 d5 ^= p3[5]; in xor_32regs_p_5()
641 d3 ^= p4[3]; in xor_32regs_p_5()
643 d5 ^= p4[5]; in xor_32regs_p_5()
649 d3 ^= p5[3]; in xor_32regs_p_5()
651 d5 ^= p5[5]; in xor_32regs_p_5()
657 p1[3] = d3; in xor_32regs_p_5()
659 p1[5] = d5; in xor_32regs_p_5()
667 } while (--lines > 0); in xor_32regs_p_5()