Lines Matching refs:d_off
398 static void inner_loop(struct kunit *test, int bytes, int d_off, int s_off) in inner_loop() argument
409 memmove(&large_dst[d_off], &large_dst[s_off], bytes); in inner_loop()
412 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop()
414 bytes, s_off, d_off); in inner_loop()
417 if (s_off < d_off) { in inner_loop()
421 right_zero_pos = d_off + bytes; in inner_loop()
426 src_size = d_off - s_off; in inner_loop()
429 left_zero_size = d_off; in inner_loop()
434 src_pos = d_off + bytes; in inner_loop()
443 bytes, s_off, d_off); in inner_loop()
449 bytes, s_off, d_off); in inner_loop()
454 bytes, s_off, d_off); in inner_loop()
484 for (int d_off = 0; d_off < offset_max; d_off++) { in memmove_overlap_test() local
485 int s_start = max(d_off - bytes, 0); in memmove_overlap_test()
486 int s_end = min_t(int, d_off + bytes, ARRAY_SIZE(large_src)); in memmove_overlap_test()
491 inner_loop(test, bytes, d_off, s_off); in memmove_overlap_test()