Lines Matching refs:d_off
395 static void inner_loop(struct kunit *test, int bytes, int d_off, int s_off) in inner_loop() argument
406 memmove(&large_dst[d_off], &large_dst[s_off], bytes); in inner_loop()
409 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop()
411 bytes, s_off, d_off); in inner_loop()
414 if (s_off < d_off) { in inner_loop()
418 right_zero_pos = d_off + bytes; in inner_loop()
423 src_size = d_off - s_off; in inner_loop()
426 left_zero_size = d_off; in inner_loop()
431 src_pos = d_off + bytes; in inner_loop()
440 bytes, s_off, d_off); in inner_loop()
446 bytes, s_off, d_off); in inner_loop()
451 bytes, s_off, d_off); in inner_loop()
481 for (int d_off = 0; d_off < offset_max; d_off++) { in memmove_overlap_test() local
482 int s_start = max(d_off - bytes, 0); in memmove_overlap_test()
483 int s_end = min_t(int, d_off + bytes, ARRAY_SIZE(large_src)); in memmove_overlap_test()
488 inner_loop(test, bytes, d_off, s_off); in memmove_overlap_test()