| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_damage_helper_test.c | 133 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return plane src as damage."); in drm_test_damage_iter_no_damage() 153 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, in drm_test_damage_iter_no_damage_fractional_src() 173 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return plane src as damage."); in drm_test_damage_iter_no_damage_src_moved() 193 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return plane src as damage."); in drm_test_damage_iter_no_damage_fractional_src_moved() 212 KUNIT_EXPECT_EQ_MSG(test, num_hits, 0, "Should have no damage."); in drm_test_damage_iter_no_damage_not_visible() 230 KUNIT_EXPECT_EQ_MSG(test, num_hits, 0, "Should have no damage."); in drm_test_damage_iter_no_damage_no_crtc() 248 KUNIT_EXPECT_EQ_MSG(test, num_hits, 0, "Should have no damage."); in drm_test_damage_iter_no_damage_no_fb() 270 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return damage when set."); in drm_test_damage_iter_simple_damage() 292 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return damage when set."); in drm_test_damage_iter_single_damage() 315 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return damage clipped to src."); in drm_test_damage_iter_single_damage_intersect_src() [all …]
|
| /linux/lib/tests/ |
| H A D | ffs_kunit.c | 106 KUNIT_EXPECT_EQ_MSG(test, actual, expected, in validate_ffs_result() 118 KUNIT_EXPECT_EQ_MSG(test, actual, expected, in validate_ffs64_result() 147 KUNIT_EXPECT_EQ_MSG(test, ffs_result, ffs_0based + 1, in validate_ffs_relationships() 152 KUNIT_EXPECT_EQ_MSG(test, fls_result, fls_0based + 1, in validate_ffs_relationships() 190 KUNIT_EXPECT_EQ_MSG(test, fls64(input), fls(input_32), in validate_ffs64_relationships() 195 KUNIT_EXPECT_EQ_MSG(test, __ffs64(input), __ffs(input_32), in validate_ffs64_relationships() 390 KUNIT_EXPECT_EQ_MSG(test, result, tc->expected_ffz, in ffz_basic_correctness_test() 422 KUNIT_EXPECT_EQ_MSG(test, (input >> ffz_result) & 1, 0, in validate_ffz_relationships()
|
| H A D | kunit_iov_iter.c | 150 KUNIT_EXPECT_EQ_MSG(test, buffer[i], scratch[i], "at i=%x", i); in iov_kunit_copy_to_kvec() 205 KUNIT_EXPECT_EQ_MSG(test, scratch[i], buffer[i], "at i=%x", i); in iov_kunit_copy_from_kvec() 313 KUNIT_EXPECT_EQ_MSG(test, buffer[i], scratch[i], "at i=%x", i); in iov_kunit_copy_to_bvec() 370 KUNIT_EXPECT_EQ_MSG(test, scratch[i], buffer[i], "at i=%x", i); in iov_kunit_copy_from_bvec() 475 KUNIT_EXPECT_EQ_MSG(test, buffer[i], scratch[i], "at i=%x", i); in iov_kunit_copy_to_folioq() 540 KUNIT_EXPECT_EQ_MSG(test, scratch[i], buffer[i], "at i=%x", i); in iov_kunit_copy_from_folioq() 634 KUNIT_EXPECT_EQ_MSG(test, buffer[i], scratch[i], "at i=%x", i); in iov_kunit_copy_to_xarray() 697 KUNIT_EXPECT_EQ_MSG(test, scratch[i], buffer[i], "at i=%x", i); in iov_kunit_copy_from_xarray() 1115 KUNIT_EXPECT_EQ_MSG(test, data->scratch[i], pattern(i), in iov_kunit_iter_to_sg_check()
|
| H A D | string_kunit.c | 136 KUNIT_EXPECT_EQ_MSG(test, strlen(s), len, in string_test_strlen() 640 KUNIT_EXPECT_EQ_MSG(test, wrap.canary1, ULONG_MAX, in string_test_strtomem() 642 KUNIT_EXPECT_EQ_MSG(test, wrap.canary2, ULONG_MAX, in string_test_strtomem()
|
| H A D | fortify_kunit.c | 140 KUNIT_EXPECT_EQ_MSG(test, __builtin_object_size(p, 1), \ 150 KUNIT_EXPECT_EQ_MSG(test, __builtin_dynamic_object_size(p, 1), \
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_lmtt_test.c | 52 KUNIT_EXPECT_EQ_MSG(test, ops->lmtt_pte_index(addr - 1, n), 0, in test_ops() 54 KUNIT_EXPECT_EQ_MSG(test, ops->lmtt_pte_index(addr + 1, n), 1, in test_ops() 56 KUNIT_EXPECT_EQ_MSG(test, ops->lmtt_pte_index(addr * 2 - 1, n), 1, in test_ops() 58 KUNIT_EXPECT_EQ_MSG(test, ops->lmtt_pte_index(addr * 2, n), 2, in test_ops()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_test.c | 572 KUNIT_EXPECT_EQ_MSG(test, in rfc3962_encrypt_case() 1199 KUNIT_EXPECT_EQ_MSG(test, param->expected_result->len, in rfc6803_encrypt_case() 1694 KUNIT_EXPECT_EQ_MSG(test, in rfc8009_encrypt_case() 1834 KUNIT_EXPECT_EQ_MSG(test, in encrypt_selftest_case()
|
| /linux/drivers/android/tests/ |
| H A D | binder_alloc_kunit.c | 243 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free() 251 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free() 260 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free() 266 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free() 274 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free() 280 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
|
| /linux/fs/ext4/ |
| H A D | inode-test.c | 252 KUNIT_EXPECT_EQ_MSG(test, in inode_test_xtimestamp_decoding() 260 KUNIT_EXPECT_EQ_MSG(test, in inode_test_xtimestamp_decoding()
|
| H A D | extents-test.c | 186 KUNIT_EXPECT_EQ_MSG(test, 1, ee_block >= EXT_DATA_LBLK, "ee_block=%d", in ext4_ext_zeroout_stub() 500 KUNIT_EXPECT_EQ_MSG(test, 0, in test_split_convert()
|
| /linux/fs/tests/ |
| H A D | exec_kunit.c | 115 KUNIT_EXPECT_EQ_MSG(test, rc, result->expected_rc, "on loop %d", i); in exec_test_bprm_stack_limits() 117 KUNIT_EXPECT_EQ_MSG(test, bprm.argmin, result->expected_argmin, "on loop %d", i); in exec_test_bprm_stack_limits()
|
| /linux/kernel/ |
| H A D | resource_kunit.c | 89 KUNIT_EXPECT_EQ_MSG(test, ret, exp_ret, "Resources %pR %pR", r1, r2); in resource_do_test() 90 KUNIT_EXPECT_EQ_MSG(test, r->start, exp_r->start, "Start elements are not equal"); in resource_do_test() 91 KUNIT_EXPECT_EQ_MSG(test, r->end, exp_r->end, "End elements are not equal"); in resource_do_test()
|
| /linux/arch/riscv/kernel/tests/kprobes/ |
| H A D | test-kprobes.c | 38 KUNIT_EXPECT_EQ_MSG(test, KPROBE_TEST_MAGIC, func(), "function %d broken", i); in test_kprobe_riscv()
|
| /linux/lib/crypto/tests/ |
| H A D | curve25519_kunit.c | 1294 KUNIT_EXPECT_EQ_MSG(test, ret, vec->valid, in test_curve25519() 1313 KUNIT_EXPECT_EQ_MSG(test, ret, ret2, in test_curve25519_basepoint()
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | cirrus_scodec_test.c | 219 KUNIT_EXPECT_EQ_MSG(test, ret, 0, "Failed to add swnode\n"); in cirrus_scodec_test_spkid_parse() 228 KUNIT_EXPECT_EQ_MSG(test, ret, v, in cirrus_scodec_test_spkid_parse()
|
| /linux/sound/soc/ |
| H A D | soc-card-test.c | 53 KUNIT_EXPECT_EQ_MSG(test, mc->shift, i, "For '%s'\n", test_card_controls[i].name); in test_snd_soc_card_get_kcontrol()
|
| H A D | soc-topology-test.c | 60 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe() 223 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe_null_comp() 327 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe_null_fw()
|
| /linux/sound/soc/codecs/ |
| H A D | wm_adsp_fw_find_test.c | 136 KUNIT_EXPECT_EQ_MSG(test, ret, in wm_adsp_fw_find_test_pick_file() 140 KUNIT_EXPECT_EQ_MSG(test, !!priv->found_fw.wmfw.filename, !!params->expect_wmfw, in wm_adsp_fw_find_test_pick_file() 142 KUNIT_EXPECT_EQ_MSG(test, !!priv->found_fw.coeff.filename, !!params->expect_bin, in wm_adsp_fw_find_test_pick_file()
|
| /linux/security/landlock/ |
| H A D | id.c | 69 KUNIT_EXPECT_EQ_MSG( in test_init_once()
|
| /linux/include/kunit/ |
| H A D | test.h | 1034 KUNIT_EXPECT_EQ_MSG(test, left, right, NULL) 1036 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ macro
|
| /linux/drivers/iio/test/ |
| H A D | iio-test-rescale.c | 672 KUNIT_EXPECT_EQ_MSG(test, rel_ppm, 0, in iio_rescale_test_scale()
|
| /linux/kernel/kcsan/ |
| H A D | kcsan_test.c | 546 KUNIT_EXPECT_EQ_MSG(test, reorder_access->size, \ in test_barrier_nothreads()
|