| /linux-6.15/lib/tests/ |
| H A D | string_kunit.c | 35 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1, in string_test_memset16() 38 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2, in string_test_memset16() 41 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1, in string_test_memset16() 64 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1, in string_test_memset32() 67 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2b3b4, in string_test_memset32() 70 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1, in string_test_memset32() 116 KUNIT_ASSERT_EQ_MSG(test, result - test_string, i, in string_test_strchr() 375 KUNIT_ASSERT_EQ_MSG(test, buf[count - 1], '\0', in strscpy_check() 380 KUNIT_ASSERT_EQ_MSG(test, buf[i], src[i], in strscpy_check() 389 KUNIT_ASSERT_EQ_MSG(test, buf[index], '\0', in strscpy_check() [all …]
|
| H A D | memcpy_kunit.c | 34 KUNIT_ASSERT_EQ_MSG(test, instance.data[i], v, \ 345 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test() 349 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test() 354 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test() 409 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop() 437 KUNIT_ASSERT_EQ_MSG(test, in inner_loop() 443 KUNIT_ASSERT_EQ_MSG(test, in inner_loop() 448 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
|
| H A D | usercopy_kunit.c | 97 KUNIT_ASSERT_EQ_MSG(test, retval, expected, in usercopy_test_check_nonzero_user() 122 KUNIT_ASSERT_EQ_MSG(test, copy_to_user(umem, umem_src, size), 0, in usercopy_test_copy_struct_from_user()
|
| H A D | stackinit_kunit.c | 233 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \ 255 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \
|
| H A D | string_helpers_kunit.c | 20 KUNIT_ASSERT_EQ_MSG(test, q_real, q_test, "name:%s", name); in test_string_check_buf()
|
| /linux-6.15/drivers/rtc/ |
| H A D | lib_test.c | 60 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 61 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 62 KUNIT_ASSERT_EQ_MSG(test, mday, result.tm_mday, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 63 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
|
| /linux-6.15/kernel/time/ |
| H A D | time_test.c | 79 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in time64_to_tm_test_date_range() 80 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in time64_to_tm_test_date_range() 81 KUNIT_ASSERT_EQ_MSG(test, mdday, result.tm_mday, FAIL_MSG); in time64_to_tm_test_date_range() 82 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in time64_to_tm_test_date_range()
|
| /linux-6.15/lib/math/tests/ |
| H A D | prime_numbers_kunit.c | 28 KUNIT_ASSERT_EQ_MSG(test, slow, fast, "is-prime(%lu)", x); in prime_numbers_test() 34 KUNIT_ASSERT_EQ_MSG(test, next, x, "next-prime(%lu)", last); in prime_numbers_test()
|
| /linux-6.15/fs/ext4/ |
| H A D | mballoc-test.c | 417 KUNIT_ASSERT_EQ_MSG(test, ar.goal, found, in test_new_blocks_simple() 424 KUNIT_ASSERT_EQ_MSG(test, ar.goal + EXT4_C2B(sbi, 1), found, in test_new_blocks_simple() 432 KUNIT_ASSERT_EQ_MSG(test, in test_new_blocks_simple() 442 KUNIT_ASSERT_EQ_MSG(test, in test_new_blocks_simple() 496 KUNIT_ASSERT_EQ_MSG(test, bit, max, in validate_free_blocks_simple() 687 KUNIT_ASSERT_EQ_MSG(test, grp1->bb_counters[i], in mbt_validate_group_info()
|
| /linux-6.15/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 117 KUNIT_ASSERT_EQ_MSG(test, in drm_test_check_plane_state()
|
| /linux-6.15/lib/kunit/ |
| H A D | executor_test.c | 132 KUNIT_ASSERT_EQ_MSG(test, err, 0, "failed to parse filter from '%s'", filters); in parse_filter_attr_test()
|
| /linux-6.15/include/kunit/ |
| H A D | test.h | 1347 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL) 1349 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ macro
|
| /linux-6.15/kernel/ |
| H A D | resource_kunit.c | 185 KUNIT_ASSERT_EQ_MSG(test, 0, in resource_test_add_action_or_abort()
|
| /linux-6.15/net/mctp/test/ |
| H A D | route-test.c | 77 KUNIT_ASSERT_EQ_MSG(test, refs, 1, "route ref imbalance"); in mctp_test_route_destroy()
|