Home
last modified time | relevance | path

Searched refs:KUNIT_EXPECT_FALSE (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_cmdline_parser_test.c26 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only()
27 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only()
44 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_not_digital()
45 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_not_digital()
66 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_hdmi()
67 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_hdmi()
88 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_dvi()
89 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_dvi()
106 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_d_only()
128 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_res()
[all …]
H A Ddrm_format_helper_test.c758 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_rgb565()
805 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_xrgb1555()
852 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_argb1555()
899 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_rgba5551()
947 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_rgb888()
993 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_bgr888()
1040 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_argb8888()
1085 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_xrgb2101010()
1132 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_argb2101010()
1211 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_swab()
[all …]
H A Ddrm_buddy_test.c275 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_clear()
335 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_clear()
393 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_clear()
424 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_contiguous()
729 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, size, SZ_4K)); in drm_test_buddy_alloc_limit()
736 KUNIT_EXPECT_FALSE(test, drm_buddy_alloc_blocks(&mm, start, size, size, in drm_test_buddy_alloc_limit()
H A Ddrm_gem_shmem_test.c293 KUNIT_EXPECT_FALSE(test, ret); in drm_gem_shmem_test_madvise()
298 KUNIT_EXPECT_FALSE(test, ret); in drm_gem_shmem_test_madvise()
323 KUNIT_EXPECT_FALSE(test, ret); in drm_gem_shmem_test_purge()
/linux-6.15/lib/kunit/
H A Dassert_test.c12 #define ASSERT_TEST_EXPECT_NCONTAIN(test, str, substr) KUNIT_EXPECT_FALSE(test, strstr(str, substr))
20 KUNIT_EXPECT_FALSE(test, is_literal("05", 5)); in kunit_test_is_literal()
21 KUNIT_EXPECT_FALSE(test, is_literal("", 0)); in kunit_test_is_literal()
22 KUNIT_EXPECT_FALSE(test, is_literal("-0", 0)); in kunit_test_is_literal()
23 KUNIT_EXPECT_FALSE(test, is_literal("12#45", 1245)); in kunit_test_is_literal()
31 KUNIT_EXPECT_FALSE(test, is_str_literal("", "")); in kunit_test_is_str_literal()
32 KUNIT_EXPECT_FALSE(test, is_str_literal("\"", "\"")); in kunit_test_is_str_literal()
33 KUNIT_EXPECT_FALSE(test, is_str_literal("\"Abacaba", "Abacaba")); in kunit_test_is_str_literal()
34 KUNIT_EXPECT_FALSE(test, is_str_literal("Abacaba\"", "Abacaba")); in kunit_test_is_str_literal()
35 KUNIT_EXPECT_FALSE(test, is_str_literal("\"Abacaba\"", "\"Abacaba\"")); in kunit_test_is_str_literal()
H A Dexecutor_test.c32 KUNIT_EXPECT_FALSE(test, filter.test_glob); in parse_filter_test()
95 KUNIT_EXPECT_FALSE(test, got.start[0]->test_cases[1].name); in filter_suites_test_glob_test()
185 KUNIT_EXPECT_FALSE(test, got.start[0]->test_cases[1].name); in filter_attr_test()
235 KUNIT_EXPECT_FALSE(test, got.start[0]->test_cases[1].status); in filter_attr_skip_test()
H A Dstring-stream-test.c53 KUNIT_EXPECT_FALSE(test, stream->append_newlines); in string_stream_managed_init_test()
69 KUNIT_EXPECT_FALSE(test, stream->append_newlines); in string_stream_unmanaged_init_test()
117 KUNIT_EXPECT_FALSE(test, priv->stream_free_again); in string_stream_managed_free_test()
157 KUNIT_EXPECT_FALSE(test, priv->stream_free_again); in string_stream_resource_free_test()
/linux-6.15/drivers/clk/
H A Dclk-gate_test.c190 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(hw)); in clk_gate_test_disable()
191 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(hw)); in clk_gate_test_disable()
192 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent)); in clk_gate_test_disable()
193 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent)); in clk_gate_test_disable()
270 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(hw)); in clk_gate_test_invert_disable()
271 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(hw)); in clk_gate_test_invert_disable()
272 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent)); in clk_gate_test_invert_disable()
273 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent)); in clk_gate_test_invert_disable()
343 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(hw)); in clk_gate_test_hiword_disable()
344 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(hw)); in clk_gate_test_hiword_disable()
[all …]
/linux-6.15/kernel/kcsan/
H A Dkcsan_test.c736 KUNIT_EXPECT_FALSE(test, match_never); in test_basic()
768 KUNIT_EXPECT_FALSE(test, match_never); in test_concurrent_races()
928 KUNIT_EXPECT_FALSE(test, match_never); in test_read_atomic_write_atomic()
999 KUNIT_EXPECT_FALSE(test, match_never); in test_zero_size_access()
1012 KUNIT_EXPECT_FALSE(test, match_never); in test_data_race()
1025 KUNIT_EXPECT_FALSE(test, match_never); in test_data_racy_qualifier()
1097 KUNIT_EXPECT_FALSE(test, match_never); in test_assert_exclusive_access_writer()
1128 KUNIT_EXPECT_FALSE(test, match_never); in test_assert_exclusive_bits_nochange()
1203 KUNIT_EXPECT_FALSE(test, match_never); in test_jiffies_noreport()
1216 KUNIT_EXPECT_FALSE(test, match_never); in test_seqlock_noreport()
[all …]
/linux-6.15/lib/tests/
H A Dtest_kprobes.c38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
49 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
177 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
186 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler()
253 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler()
314 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
H A Dlist-test.c289 KUNIT_EXPECT_FALSE(test, list_is_first(&b, &list)); in list_test_list_is_first()
300 KUNIT_EXPECT_FALSE(test, list_is_last(&a, &list)); in list_test_list_is_last()
312 KUNIT_EXPECT_FALSE(test, list_empty(&list1)); in list_test_list_empty()
376 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
386 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
862 KUNIT_EXPECT_FALSE(test, hlist_unhashed(&a)); in hlist_test_unhashed()
960 KUNIT_EXPECT_FALSE(test, hlist_fake(&a)); in hlist_test_fake()
995 KUNIT_EXPECT_FALSE(test, hlist_empty(&list)); in hlist_test_empty()
1006 KUNIT_EXPECT_FALSE(test, hlist_empty(&list1)); in hlist_test_move_list()
1010 KUNIT_EXPECT_FALSE(test, hlist_empty(&list2)); in hlist_test_move_list()
[all …]
H A Dtest_linear_ranges.c156 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_high()
201 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_low()
H A Dkfifo_kunit.c125 KUNIT_EXPECT_FALSE(test, __is_kfifo_ptr(&my_fifo)); in kfifo_test_dec_init_should_define_an_empty_fifo()
157 KUNIT_EXPECT_FALSE(test, kfifo_initialized(&my_fifo)); in kfifo_test_alloc_should_initiliaze_a_ptr_fifo()
H A Dtest_fprobe.c38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
59 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
/linux-6.15/arch/powerpc/kvm/
H A Dtest-guest-state-buffer.c140 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
150 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
159 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
168 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
178 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
187 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
/linux-6.15/mm/kfence/
H A Dkfence_test.c400 KUNIT_EXPECT_FALSE(test, report_available()); in test_use_after_free_read_nofault()
489 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_read()
496 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_read()
522 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_write()
539 KUNIT_EXPECT_FALSE(test, report_available()); in test_shrink_memcache()
618 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_ctor()
656 KUNIT_EXPECT_FALSE(test, report_available()); in test_gfpzero()
698 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_typesafe_by_rcu()
721 KUNIT_EXPECT_FALSE(test, test_cache); in test_krealloc()
784 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_alloc_bulk()
/linux-6.15/security/apparmor/
H A Dpolicy_unpack_test.c139 KUNIT_EXPECT_FALSE(test, aa_inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
178 KUNIT_EXPECT_FALSE(test, aa_unpack_array(puf->e, name, &array_size)); in policy_unpack_test_unpack_array_out_of_bounds()
280 KUNIT_EXPECT_FALSE(test, in policy_unpack_test_unpack_strdup_with_null_name()
297 KUNIT_EXPECT_FALSE(test, in policy_unpack_test_unpack_strdup_with_name()
347 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_code()
377 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_name()
487 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_u32_out_of_bounds()
537 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_u64_out_of_bounds()
556 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_X_code_mismatch()
568 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_X_out_of_bounds()
/linux-6.15/drivers/fpga/tests/
H A Dfpga-bridge-test.c99 KUNIT_EXPECT_FALSE(test, ctx->stats.enable); in fpga_bridge_test_toggle()
136 KUNIT_EXPECT_FALSE(test, ctx_0->stats.enable); in fpga_bridge_test_get_put_list()
137 KUNIT_EXPECT_FALSE(test, ctx_1->stats.enable); in fpga_bridge_test_get_put_list()
/linux-6.15/drivers/base/test/
H A Dplatform-device-test.c240 KUNIT_EXPECT_FALSE(test, device_match_of_node(&pdev->dev, NULL)); in platform_device_find_by_null_test()
241 KUNIT_EXPECT_FALSE(test, device_match_fwnode(&pdev->dev, NULL)); in platform_device_find_by_null_test()
242 KUNIT_EXPECT_FALSE(test, device_match_acpi_dev(&pdev->dev, NULL)); in platform_device_find_by_null_test()
243 KUNIT_EXPECT_FALSE(test, device_match_acpi_handle(&pdev->dev, NULL)); in platform_device_find_by_null_test()
/linux-6.15/drivers/firewire/
H A Dpacket-serdes-test.c671 KUNIT_EXPECT_FALSE(test, extended); in test_phy_packet_self_id_zero_case0()
677 KUNIT_EXPECT_FALSE(test, is_initiated_reset); in test_phy_packet_self_id_zero_case0()
678 KUNIT_EXPECT_FALSE(test, has_more_packets); in test_phy_packet_self_id_zero_case0()
726 KUNIT_EXPECT_FALSE(test, extended); in test_phy_packet_self_id_zero_case1()
733 KUNIT_EXPECT_FALSE(test, has_more_packets); in test_phy_packet_self_id_zero_case1()
786 KUNIT_EXPECT_FALSE(test, extended); in test_phy_packet_self_id_zero_and_one()
787 KUNIT_EXPECT_FALSE(test, link_is_active); in test_phy_packet_self_id_zero_and_one()
790 KUNIT_EXPECT_FALSE(test, is_contender); in test_phy_packet_self_id_zero_and_one()
792 KUNIT_EXPECT_FALSE(test, is_initiated_reset); in test_phy_packet_self_id_zero_and_one()
806 KUNIT_EXPECT_FALSE(test, has_more_packets); in test_phy_packet_self_id_zero_and_one()
[all …]
/linux-6.15/drivers/base/regmap/
H A Dregmap-kunit.c407 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed()
430 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed()
451 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed()
473 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed_volatile()
496 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed_volatile()
516 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed_volatile()
584 KUNIT_EXPECT_FALSE(test, data->read[5]); in read_writeonly()
725 KUNIT_EXPECT_FALSE(test, data->read[i]); in stride()
832 KUNIT_EXPECT_FALSE(test, data->read[i]); in basic_ranges()
833 KUNIT_EXPECT_FALSE(test, data->written[i]); in basic_ranges()
[all …]
/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_bin.c158 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_one_word()
206 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_one_multiword()
258 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_multi_oneword()
316 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_multi_oneword_unordered()
380 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_multi_oneword_sparse_unordered()
482 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_one_word_multiple_mems()
540 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_one_word_multiple_algs()
604 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_one_word_multiple_algs_unordered()
657 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_1_packed()
737 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in bin_patch_1_packed_1_single_trailing()
[all …]
H A Dcs_dsp_test_wmfw.c91 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_xm_header_unpacked()
146 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_one_payload()
210 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_multiple_oneblock_payloads()
277 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_multiple_oneblock_payloads_reverse()
362 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_multiple_payloads_sparse_unordered()
406 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_all_unpacked_pm()
450 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_all_packed_pm()
547 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_multiple_unpacked_mem()
645 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_multiple_packed_unpacked_mem()
748 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in wmfw_write_packed_1_unpacked_trailing()
[all …]
H A Dcs_dsp_test_control_cache.c907 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_read_not_started()
972 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_read_stopped()
1035 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_read_powered_down()
1102 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_read_stopped_powered_down()
1170 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_read_not_current_loaded_fw()
1240 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_read_not_current_running_fw()
1678 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_write_not_started()
1690 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_write_not_started()
1753 KUNIT_EXPECT_FALSE(test, cs_dsp_mock_regmap_is_dirty(priv, true)); in cs_dsp_ctl_cache_write_stopped()
1979 KUNIT_EXPECT_FALSE(test, ctl->enabled); in cs_dsp_ctl_cache_write_not_current_loaded_fw()
[all …]
/linux-6.15/fs/unicode/tests/
H A Dutf8_kunit.c255 KUNIT_EXPECT_FALSE(test, utf8version_is_supported(um, UNICODE_AGE(13, 0, 0))); in check_supported_versions()
256 KUNIT_EXPECT_FALSE(test, utf8version_is_supported(um, UNICODE_AGE(0, 0, 0))); in check_supported_versions()
257 KUNIT_EXPECT_FALSE(test, utf8version_is_supported(um, UNICODE_AGE(-1, -1, -1))); in check_supported_versions()

12