Home
last modified time | relevance | path

Searched refs:kunit_add_action_or_reset (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c86 ret = kunit_add_action_or_reset(test, kfree_wrapper, sgt); in drm_gem_shmem_test_obj_create_private()
92 ret = kunit_add_action_or_reset(test, sg_free_table_wrapper, sgt); in drm_gem_shmem_test_obj_create_private()
144 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_pin_pages()
178 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_vmap()
214 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_get_sg_table()
220 ret = kunit_add_action_or_reset(test, drm_gem_shmem_unpin_wrapper, shmem); in drm_gem_shmem_test_get_sg_table()
227 ret = kunit_add_action_or_reset(test, kfree_wrapper, sgt); in drm_gem_shmem_test_get_sg_table()
230 ret = kunit_add_action_or_reset(test, sg_free_table_wrapper, sgt); in drm_gem_shmem_test_get_sg_table()
258 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_get_pages_sgt()
292 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_madvise()
[all …]
/linux/drivers/clk/
H A Dclk_kunit_helpers.c31 return kunit_add_action_or_reset(test, clk_disable_unprepare_wrapper, in clk_prepare_enable_kunit()
45 ret = kunit_add_action_or_reset(test, clk_put_wrapper, clk); in __clk_get_kunit()
178 return kunit_add_action_or_reset(test, clk_hw_unregister_wrapper, hw); in clk_hw_register_kunit()
202 return kunit_add_action_or_reset(test, clk_hw_unregister_wrapper, hw); in of_clk_hw_register_kunit()
232 return kunit_add_action_or_reset(test, of_clk_del_provider_wrapper, np); in of_clk_add_hw_provider_kunit()
/linux/lib/kunit/
H A Dplatform.c124 ret = kunit_add_action_or_reset(test, platform_device_unregister_wrapper, pdev); in kunit_platform_device_add()
231 return kunit_add_action_or_reset(test, kunit_platform_device_probe_nb_remove, &knb->nb); in kunit_platform_device_prepare_wait_for_probe()
300 return kunit_add_action_or_reset(test, platform_driver_unregister_wrapper, drv); in kunit_platform_driver_register()
H A Dresource.c116 int kunit_add_action_or_reset(struct kunit *test, void (*action)(void *), in kunit_add_action_or_reset() function
125 EXPORT_SYMBOL_GPL(kunit_add_action_or_reset);
H A Dstring-stream.c198 if (kunit_add_action_or_reset(test, resource_free_string_stream, stream) != 0) in kunit_alloc_string_stream()
H A Dtest.c988 if (kunit_add_action_or_reset(test, kfree_action_wrapper, data) != 0) in KUNIT_DEFINE_ACTION_WRAPPER()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_kunit_helpers.c86 err = kunit_add_action_or_reset(test, kunit_action_restore_priv, test->priv); in xe_kunit_helper_xe_device_test_init()
124 KUNIT_ASSERT_EQ(test, 0, kunit_add_action_or_reset(test, put_xe_pm_runtime, xe)); in xe_kunit_helper_xe_device_live_test_init()
/linux/drivers/fpga/tests/
H A Dfpga-region-test.c127 ret = kunit_add_action_or_reset(test, fpga_image_info_free_wrapper, img_info); in fpga_region_test_program_fpga()
182 ret = kunit_add_action_or_reset(test, fpga_bridge_unregister_wrapper, ctx->bridge); in fpga_region_test_init()
195 ret = kunit_add_action_or_reset(test, fpga_region_unregister_wrapper, ctx->region); in fpga_region_test_init()
H A Dfpga-mgr-test.c271 ret = kunit_add_action_or_reset(test, sg_free_table_wrapper, sgt); in fpga_mgr_test_img_load_sgt()
310 ret = kunit_add_action_or_reset(test, fpga_image_info_free_wrapper, ctx->img_info); in fpga_mgr_test_init()
H A Dfpga-bridge-test.c72 ret = kunit_add_action_or_reset(test, fpga_bridge_unregister_wrapper, ctx->bridge); in register_test_bridge()
/linux/include/kunit/
H A Dskbuff.h38 if (kunit_add_action_or_reset(test, kunit_action_kfree_skb, res)) in kunit_zalloc_skb()
H A Dresource.h459 int kunit_add_action_or_reset(struct kunit *test, kunit_action_t *action,
/linux/sound/hda/codecs/side-codecs/
H A Dcirrus_scodec_test.c140 KUNIT_ASSERT_EQ(test, 0, kunit_add_action_or_reset(test, in cirrus_scodec_test_create_gpio()
261 KUNIT_ASSERT_EQ(test, 0, kunit_add_action_or_reset(test, in cirrus_scodec_test_case_init()
/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_mock.c191 ret = kunit_add_action_or_reset(test, in __mock_device()
/linux/lib/tests/
H A Dkunit_iov_iter.c81 kunit_add_action_or_reset(test, iov_kunit_unmap, buffer); in iov_kunit_create_buffer()
417 kunit_add_action_or_reset(test, iov_kunit_destroy_folioq, folioq); in iov_kunit_create_folioq()
580 kunit_add_action_or_reset(test, iov_kunit_destroy_xarray, xarray); in iov_kunit_create_xarray()
1087 kunit_add_action_or_reset(test, iov_kunit_iter_unpin_sgt, in iov_kunit_iter_to_sg_check()
/linux/kernel/
H A Dresource_kunit.c186 kunit_add_action_or_reset(test, action, ctx), in resource_test_add_action_or_abort()
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_wmfw.c463 kunit_add_action_or_reset(priv->test, vfree_action_wrapper, builder->buf); in cs_dsp_mock_wmfw_init()
/linux/sound/soc/codecs/
H A Dwm_adsp_fw_find_test.c294 ret = kunit_add_action_or_reset(test, _put_device_wrapper, priv->dsp.cs_dsp.dev); in wm_adsp_fw_find_test_case_init()
H A Dcs-amp-lib-test.c2419 kunit_add_action_or_reset(test,
/linux/drivers/base/regmap/
H A Dregmap-kunit.c240 error = kunit_add_action_or_reset(test, regmap_exit_action, ret); in gen_regmap()
1803 error = kunit_add_action_or_reset(test, regmap_exit_action, ret); in gen_raw_regmap()