Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clk/
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-5.19.10/lib/
Dtest_kprobes.c32 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
40 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
144 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
153 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler()
220 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler()
281 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
Dlist-test.c284 KUNIT_EXPECT_FALSE(test, list_is_first(&b, &list)); in list_test_list_is_first()
295 KUNIT_EXPECT_FALSE(test, list_is_last(&a, &list)); in list_test_list_is_last()
307 KUNIT_EXPECT_FALSE(test, list_empty(&list1)); in list_test_list_empty()
320 KUNIT_EXPECT_FALSE(test, list_empty_careful(&list1)); in list_test_list_empty_careful()
371 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
381 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
603 KUNIT_EXPECT_FALSE(test, list_first_entry_or_null(&list, in list_test_list_first_entry_or_null()
853 KUNIT_EXPECT_FALSE(test, hlist_unhashed(&a)); in hlist_test_unhashed()
875 KUNIT_EXPECT_FALSE(test, hlist_unhashed_lockless(&a)); in hlist_test_unhashed_lockless()
951 KUNIT_EXPECT_FALSE(test, hlist_fake(&a)); in hlist_test_fake()
[all …]
Dtest_fprobe.c35 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
46 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
Dtest_linear_ranges.c165 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_high()
210 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_low()
Dtest_kasan.c67 KUNIT_EXPECT_FALSE(test, test_status.report_found); in kasan_test_exit()
95 KUNIT_EXPECT_FALSE(test, READ_ONCE(test_status.report_found)); \
/linux-5.19.10/kernel/kcsan/
Dkcsan_test.c731 KUNIT_EXPECT_FALSE(test, match_never); in test_basic()
763 KUNIT_EXPECT_FALSE(test, match_never); in test_concurrent_races()
790 KUNIT_EXPECT_FALSE(test, match_expect); in test_novalue_change()
843 KUNIT_EXPECT_FALSE(test, match_expect); in test_unknown_origin()
864 KUNIT_EXPECT_FALSE(test, match_expect); in test_write_write_assume_atomic()
923 KUNIT_EXPECT_FALSE(test, match_never); in test_read_atomic_write_atomic()
994 KUNIT_EXPECT_FALSE(test, match_never); in test_zero_size_access()
1007 KUNIT_EXPECT_FALSE(test, match_never); in test_data_race()
1079 KUNIT_EXPECT_FALSE(test, match_never); in test_assert_exclusive_access_writer()
1110 KUNIT_EXPECT_FALSE(test, match_never); in test_assert_exclusive_bits_nochange()
[all …]
/linux-5.19.10/lib/kunit/
Dexecutor_test.c33 KUNIT_EXPECT_FALSE(test, filter.test_glob); in parse_filter_test()
64 KUNIT_EXPECT_FALSE(test, filtered[1]); in filter_subsuite_test()
87 KUNIT_EXPECT_FALSE(test, filtered[1]); in filter_subsuite_test_glob_test()
92 KUNIT_EXPECT_FALSE(test, filtered[0]->test_cases[1].name); in filter_subsuite_test_glob_test()
Dstring-stream-test.c27 KUNIT_EXPECT_FALSE(test, string_stream_is_empty(stream)); in string_stream_test_not_empty_after_add()
Dkunit-test.c189 KUNIT_EXPECT_FALSE(test, ctx->is_resource_initialized); in kunit_resource_test_destroy_resource()
204 KUNIT_EXPECT_FALSE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource()
224 KUNIT_EXPECT_FALSE(test, ctx->is_resource_initialized); in kunit_resource_test_remove_resource()
Dkunit-example-test.c91 KUNIT_EXPECT_FALSE(test, false); in example_all_expect_macros_test()
/linux-5.19.10/mm/kfence/
Dkfence_test.c470 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_read()
477 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_read()
503 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_write()
520 KUNIT_EXPECT_FALSE(test, report_available()); in test_shrink_memcache()
599 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_ctor()
637 KUNIT_EXPECT_FALSE(test, report_available()); in test_gfpzero()
679 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_typesafe_by_rcu()
702 KUNIT_EXPECT_FALSE(test, test_cache); in test_krealloc()
765 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_alloc_bulk()
/linux-5.19.10/security/apparmor/
Dpolicy_unpack_test.c137 KUNIT_EXPECT_FALSE(test, inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
282 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()
343 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_code()
373 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_name()
483 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_u32_out_of_bounds()
533 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_u64_out_of_bounds()
552 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_X_code_mismatch()
564 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_X_out_of_bounds()
/linux-5.19.10/drivers/base/test/
Dproperty-entry-test.c337 KUNIT_EXPECT_FALSE(test, fwnode_property_read_bool(node, "not-prop")); in pe_test_bool()
364 KUNIT_EXPECT_FALSE(test, copy[1].is_inline); in pe_test_move_inline_u8()
394 KUNIT_EXPECT_FALSE(test, copy[1].is_inline); in pe_test_move_inline_str()
/linux-5.19.10/include/kunit/
Dtest.h735 #define KUNIT_EXPECT_FALSE(test, condition) \ macro
/linux-5.19.10/drivers/thunderbolt/
Dtest.c1678 KUNIT_EXPECT_FALSE(test, tb_tunnel_port_on_path(dp_tunnel, port)); in tb_test_tunnel_port_on_path()
1681 KUNIT_EXPECT_FALSE(test, tb_tunnel_port_on_path(dp_tunnel, port)); in tb_test_tunnel_port_on_path()
1684 KUNIT_EXPECT_FALSE(test, tb_tunnel_port_on_path(dp_tunnel, port)); in tb_test_tunnel_port_on_path()
1693 KUNIT_EXPECT_FALSE(test, tb_tunnel_port_on_path(dp_tunnel, port)); in tb_test_tunnel_port_on_path()
1702 KUNIT_EXPECT_FALSE(test, tb_tunnel_port_on_path(dp_tunnel, port)); in tb_test_tunnel_port_on_path()
/linux-5.19.10/net/mctp/test/
Droute-test.c154 KUNIT_EXPECT_FALSE(test, rc); in mctp_test_fragment()