/linux/mm/kasan/ |
H A D | kasan_test_c.c | 169 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_oob_right() 198 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_oob_left() 211 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_node_oob_right() 228 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_track_caller_oob_right() 240 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_track_caller_oob_right() 258 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_big_oob_right() 277 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_large_oob_right() 291 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_large_uaf() 303 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in kmalloc_large_invalid_free() 324 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr); in page_alloc_oob_right() [all …]
|
/linux/drivers/clk/ |
H A D | clk-fixed-rate_test.c | 130 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hw); in clk_fixed_rate_rate_test() 134 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, clk); in clk_fixed_rate_rate_test() 152 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hw); in clk_fixed_rate_accuracy_test() 156 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, clk); in clk_fixed_rate_accuracy_test() 187 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent_hw); in clk_fixed_rate_parent_test() 191 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, expected_parent); in clk_fixed_rate_parent_test() 194 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hw); in clk_fixed_rate_parent_test() 198 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, clk); in clk_fixed_rate_parent_test() 220 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent_hw); in clk_fixed_rate_parent_rate_test() 225 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hw); in clk_fixed_rate_parent_rate_test() [all …]
|
H A D | clk-gate_test.c | 17 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() 75 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_data_legacy() 80 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_data_legacy() 94 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_hw() 98 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_hw() [all …]
|
H A D | clk_test.c | 564 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent1); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate() 568 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent2); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate() 672 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent() 678 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent() 701 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_drop_range() 735 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_get_rate() 764 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_put() 767 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, clk); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_put() 800 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_modified() 833 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_untouched() [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_hdmi_state_helper_test.c | 71 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in light_up_connector() 74 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, conn_state); in light_up_connector() 80 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc_state); in light_up_connector() 179 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in drm_atomic_helper_connector_hdmi_init() 184 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv); in drm_atomic_helper_connector_hdmi_init() 193 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->plane); in drm_atomic_helper_connector_hdmi_init() 199 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->crtc); in drm_atomic_helper_connector_hdmi_init() 256 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in drm_test_check_broadcast_rgb_crtc_mode_changed() 268 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in drm_test_check_broadcast_rgb_crtc_mode_changed() 271 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, new_conn_state); in drm_test_check_broadcast_rgb_crtc_mode_changed() [all …]
|
H A D | drm_gem_shmem_test.c | 49 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_obj_create() 108 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gem_obj); in drm_gem_shmem_test_obj_create_private() 135 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_pin_pages() 169 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_vmap() 207 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_get_pages_sgt() 216 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, sgt); in drm_gem_shmem_test_get_pages_sgt() 245 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_get_sg_table() 252 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, sgt); in drm_gem_shmem_test_get_sg_table() 278 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_madvise() 314 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, shmem); in drm_gem_shmem_test_purge() [all …]
|
H A D | drm_format_helper_test.c | 627 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_gray8() 631 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xrgb8888); in drm_test_fb_xrgb8888_to_gray8() 660 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_rgb332() 664 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xrgb8888); in drm_test_fb_xrgb8888_to_rgb332() 693 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_rgb565() 697 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xrgb8888); in drm_test_fb_xrgb8888_to_rgb565() 747 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_xrgb1555() 751 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xrgb8888); in drm_test_fb_xrgb8888_to_xrgb1555() 794 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in drm_test_fb_xrgb8888_to_argb1555() 798 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xrgb8888); in drm_test_fb_xrgb8888_to_argb1555() [all …]
|
H A D | drm_managed_test.c | 81 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv); in drm_managed_test_init() 85 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in drm_managed_test_init() 94 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm); in drm_managed_test_init()
|
/linux/drivers/gpu/drm/vc4/tests/ |
H A D | vc4_mock_output.c | 36 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()
|
H A D | vc4_test_pv_muxing.c | 34 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hvs_state); in check_fifo_conflict() 132 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, encoder); in get_vc4_crtc_state_for_encoder() 135 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc); in get_vc4_crtc_state_for_encoder() 154 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, new_hvs_state); in check_channel_for_encoder() 737 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in vc4_pv_muxing_test_init() 741 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in vc4_pv_muxing_test_init() 745 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->state); in vc4_pv_muxing_test_init() 796 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable() 799 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable() 803 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, state); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable() [all …]
|
/linux/lib/kunit/ |
H A D | platform-test.c | 31 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in kunit_platform_device_add_test() 50 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in kunit_platform_device_add_twice_fails_test() 54 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in kunit_platform_device_add_twice_fails_test() 79 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in kunit_platform_device_add_cleans_up() 83 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in kunit_platform_device_add_cleans_up() 154 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in kunit_platform_driver_register_test() 157 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in kunit_platform_driver_register_test() 183 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed() 186 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed()
|
H A D | assert_test.c | 45 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, str); in get_str_from_stream() 61 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_assert_prologue() 104 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_assert_print_msg() 148 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_unary_assert_format() 169 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_ptr_not_err_assert_format() 200 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_binary_assert_format() 242 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, addr_var_a); in kunit_test_binary_ptr_assert_format() 244 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, addr_var_b); in kunit_test_binary_ptr_assert_format() 254 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_binary_ptr_assert_format() 278 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_binary_str_assert_format() [all …]
|
H A D | executor_test.c | 57 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test() 62 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_suites_test() 83 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test_glob_test() 88 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_suites_test_glob_test() 93 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]->test_cases); in filter_suites_test_glob_test() 173 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_attr_test() 178 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_attr_test() 183 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]->test_cases); in filter_attr_test() 223 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_attr_skip_test() 228 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]->test_cases); in filter_attr_skip_test()
|
H A D | kunit-test.c | 89 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in kunit_try_catch_test_init() 95 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->try_catch); in kunit_try_catch_test_init() 202 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, res); in kunit_resource_test_alloc_resource() 540 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in kunit_resource_test_init() 596 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, suite.log); in kunit_log_test() 747 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device); in kunit_device_test() 765 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device); in kunit_device_cleanup_test() 808 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_state); in kunit_device_driver_test() 814 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_driver); in kunit_device_driver_test() 822 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device); in kunit_device_driver_test() [all …]
|
/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_test.c | 57 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, derivedkey.data); in kdf_case() 91 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, Kc.data); in checksum_case() 97 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tfm); in checksum_case() 102 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf.head[0].iov_base); in checksum_case() 107 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, checksum.data); in checksum_case() 310 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, result); in rfc3961_nfold_case() 542 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cbc_tfm); in rfc3962_encrypt_case() 547 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cts_tfm); in rfc3962_encrypt_case() 552 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, iv); in rfc3962_encrypt_case() 555 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, text); in rfc3962_encrypt_case() [all …]
|
/linux/net/mctp/test/ |
H A D | route-test.c | 256 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in mctp_test_rx_input() 259 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt); in mctp_test_rx_input() 262 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, skb); in mctp_test_rx_input() 306 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in __mctp_route_test_init() 311 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt); in __mctp_route_test_init() 358 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, skb); in mctp_test_route_input_sk() 430 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, skb); in mctp_test_route_input_sk_reasm() 565 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in mctp_test_route_input_sk_keys() 569 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt); in mctp_test_route_input_sk_keys() 582 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, key); in mctp_test_route_input_sk_keys() [all …]
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_kunit_helpers.c | 41 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xe); in xe_kunit_helper_alloc_xe_device() 78 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dev); in xe_kunit_helper_xe_device_test_init() 81 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xe); in xe_kunit_helper_xe_device_test_init() 119 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, xe); in xe_kunit_helper_xe_device_live_test_init()
|
/linux/drivers/base/test/ |
H A D | platform-device-test.c | 23 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv); in platform_device_devm_init() 62 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in platform_device_devm_register_unregister_test() 91 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in platform_device_devm_register_get_unregister_with_devm_test() 141 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in probed_platform_device_devm_register_unregister_test() 180 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in probed_platform_device_devm_register_get_unregister_with_devm_test()
|
H A D | root-device-test.c | 22 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv); in root_device_devm_init() 50 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in root_device_devm_register_unregister_test() 82 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in root_device_devm_register_get_unregister_with_devm_test()
|
/linux/drivers/fpga/tests/ |
H A D | fpga-region-test.c | 125 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, img_info); in fpga_region_test_program_fpga() 164 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx); in fpga_region_test_init() 167 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->mgr_dev); in fpga_region_test_init() 174 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->bridge_dev); in fpga_region_test_init() 186 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->region_dev); in fpga_region_test_init()
|
/linux/arch/powerpc/kvm/ |
H A D | test-guest-state-buffer.c | 15 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_creating_buffer() 17 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb->hdr); in test_creating_buffer() 39 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_adding_element() 109 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_gs_parsing() 117 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gse); in test_gs_parsing() 290 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsm); in test_gs_msg() 293 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_gs_msg()
|
/linux/drivers/hid/ |
H A D | hid-uclogic-core-test.c | 73 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, p.event_hooks); in hid_test_uclogic_exec_event_hook_test() 78 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filter); in hid_test_uclogic_exec_event_hook_test() 82 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filter->event); in hid_test_uclogic_exec_event_hook_test()
|
H A D | hid-input-test.c | 16 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()
|
/linux/drivers/iio/test/ |
H A D | iio-test-format.c | 22 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/drivers/of/ |
H A D | overlay_test.c | 46 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, np); in of_overlay_apply_kunit_platform_device() 80 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, np); in of_overlay_apply_kunit_cleanup() 84 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in of_overlay_apply_kunit_cleanup()
|