Home
last modified time | relevance | path

Searched refs:KUNIT_ASSERT_NOT_ERR_OR_NULL (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/mm/kasan/
A Dkasan_test.c183 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_oob_right()
212 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_oob_left()
225 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_node_oob_right()
246 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_pagealloc_oob_right()
262 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_pagealloc_uaf()
276 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_pagealloc_invalid_free()
297 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in pagealloc_oob_right()
311 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in pagealloc_uaf()
327 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_large_oob_right()
517 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_oob_memset_2()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/vc4/tests/
A Dvc4_mock_output.c36 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dummy_output); in vc4_dummy_output()
78 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, encoder); in vc4_mock_atomic_add_output()
81 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc); in vc4_mock_atomic_add_output()
86 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, conn_state); in vc4_mock_atomic_add_output()
92 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc_state); in vc4_mock_atomic_add_output()
116 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, encoder); in vc4_mock_atomic_del_output()
119 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc); in vc4_mock_atomic_del_output()
122 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc_state); in vc4_mock_atomic_del_output()
132 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, conn_state); in vc4_mock_atomic_del_output()
A Dvc4_test_pv_muxing.c35 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hvs_state); in check_fifo_conflict()
133 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, encoder); in get_vc4_crtc_state_for_encoder()
136 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc); in get_vc4_crtc_state_for_encoder()
738 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in vc4_pv_muxing_test_init()
745 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in vc4_pv_muxing_test_init()
816 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable()
822 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable()
849 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable()
892 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in drm_test_vc5_pv_muxing_bugs_stable_fifo()
898 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in drm_test_vc5_pv_muxing_bugs_stable_fifo()
[all …]
A Dvc4_mock.c119 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dummy_plane); in __build_one_pipe()
123 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dummy_crtc); in __build_one_pipe()
134 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dummy_output); in __build_one_pipe()
166 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in __mock_device()
171 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in __mock_device()
177 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4->hvs); in __mock_device()
A Dvc4_mock_plane.c41 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dummy_plane); in vc4_dummy_plane()
/linux-6.3-rc2/drivers/clk/
A Dclk-gate_test.c17 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in clk_gate_register_test_dev()
21 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_dev()
36 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_names()
40 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_names()
55 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_data()
60 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_data()
80 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_data_legacy()
98 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_hw()
142 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in clk_gate_test_alloc_ctx()
216 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hw); in clk_gate_test_init()
[all …]
A Dclk_test.c661 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent()
667 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent()
690 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_drop_range()
724 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_get_rate()
753 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_put()
756 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, clk); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_put()
789 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_modified()
822 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_untouched()
892 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_range_set_parent_get_rate()
1484 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, user1); in clk_range_test_multiple_disjoints_range()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/tests/
A Ddrm_format_helper_test.c495 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_gray8()
499 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xrgb8888); in drm_test_fb_xrgb8888_to_gray8()
525 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_rgb332()
555 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_rgb565()
591 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_xrgb1555()
622 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_argb1555()
653 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_rgba5551()
684 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_rgb888()
718 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_argb8888()
749 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_xrgb2101010()
[all …]
A Ddrm_managed_test.c35 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv); in drm_test_managed_run_action()
39 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in drm_test_managed_run_action()
42 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, drm); in drm_test_managed_run_action()
A Ddrm_modes_test.c27 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in drm_test_modes_init()
32 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm); in drm_test_modes_init()
A Ddrm_client_modeset_test.c64 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in drm_client_modeset_test_init()
69 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm); in drm_client_modeset_test_init()
A Ddrm_probe_helper_test.c44 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in drm_probe_helper_test_init()
49 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm); in drm_probe_helper_test_init()
A Ddrm_kunit_helpers.c59 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in drm_kunit_helper_alloc_device()
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dgss_krb5_test.c92 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, Kc.data); in checksum_case()
98 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tfm); in checksum_case()
307 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, result); in rfc3961_nfold_case()
735 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cbc_tfm); in rfc3962_encrypt_case()
740 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cts_tfm); in rfc3962_encrypt_case()
745 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, iv); in rfc3962_encrypt_case()
748 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, text); in rfc3962_encrypt_case()
1334 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, Ke.data); in rfc6803_encrypt_case()
1352 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, text); in rfc6803_encrypt_case()
1845 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, text); in rfc8009_encrypt_case()
[all …]
/linux-6.3-rc2/lib/kunit/
A Dexecutor_test.c54 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test()
59 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_suites_test()
78 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test_glob_test()
83 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_suites_test_glob_test()
88 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]->test_cases); in filter_suites_test_glob_test()
A Dkunit-test.c83 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in kunit_try_catch_test_init()
89 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->try_catch); in kunit_try_catch_test_init()
154 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, res); in kunit_resource_test_alloc_resource()
410 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in kunit_resource_test_init()
463 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, suite.log); in kunit_log_test()
A Dstatic_stub.c115 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in __kunit_activate_static_stub()
/linux-6.3-rc2/drivers/hid/
A Dhid-uclogic-core-test.c68 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, p.event_hooks); in hid_test_uclogic_exec_event_hook_test()
73 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filter); in hid_test_uclogic_exec_event_hook_test()
77 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filter->event); in hid_test_uclogic_exec_event_hook_test()
A Dhid-input-test.c16 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in hid_test_input_set_battery_charge_status()
39 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in hid_test_input_get_battery_property()
43 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, psy); in hid_test_input_get_battery_property()
A Dhid-uclogic-rdesc-test.c199 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, res); in hid_test_uclogic_template()
/linux-6.3-rc2/drivers/iio/test/
A Diio-test-format.c22 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in iio_test_iio_format_value_integer()
52 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in iio_test_iio_format_value_fixedpoint()
113 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in iio_test_iio_format_value_fractional()
153 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in iio_test_iio_format_value_fractional_log2()
193 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in iio_test_iio_format_value_multiple()
208 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in iio_test_iio_format_value_integer_64()
/linux-6.3-rc2/net/mctp/test/
A Droute-test.c244 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in mctp_test_rx_input()
247 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt); in mctp_test_rx_input()
250 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, skb); in mctp_test_rx_input()
295 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in __mctp_route_test_init()
298 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt); in __mctp_route_test_init()
345 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, skb); in mctp_test_route_input_sk()
418 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, skb); in mctp_test_route_input_sk_reasm()
553 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in mctp_test_route_input_sk_keys()
556 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt); in mctp_test_route_input_sk_keys()
568 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, key); in mctp_test_route_input_sk_keys()
[all …]
/linux-6.3-rc2/drivers/base/test/
A Dproperty-entry-test.c28 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_uints()
139 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_uint_arrays()
272 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_strings()
334 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_bool()
357 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, copy); in pe_test_move_inline_u8()
389 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, copy); in pe_test_move_inline_str()
432 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_reference()
/linux-6.3-rc2/lib/
A Dtest_list_sort.c66 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, elts); in list_sort_test()
71 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, el); in list_sort_test()
A Dtest_sort.c23 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, a); in test_sort()

Completed in 33 milliseconds

12