/linux/drivers/gpu/drm/tests/ |
H A D | drm_gem_shmem_test.c | 81 ret = kunit_add_action_or_reset(test, kfree_wrapper, sgt); in drm_gem_shmem_test_obj_create_private() 87 ret = kunit_add_action_or_reset(test, sg_free_table_wrapper, sgt); in drm_gem_shmem_test_obj_create_private() 139 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_pin_pages() 173 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_vmap() 209 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_get_pages_sgt() 219 ret = kunit_add_action_or_reset(test, sg_free_table_wrapper, sgt); in drm_gem_shmem_test_get_pages_sgt() 247 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_get_sg_table() 281 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_madvise() 316 ret = kunit_add_action_or_reset(test, drm_gem_shmem_free_wrapper, shmem); in drm_gem_shmem_test_purge()
|
H A D | drm_kunit_helpers.c | 114 ret = kunit_add_action_or_reset(test, in drm_kunit_helper_acquire_ctx_alloc() 157 ret = kunit_add_action_or_reset(test, in drm_kunit_helper_atomic_state_alloc() 346 ret = kunit_add_action_or_reset(test, in drm_kunit_display_mode_from_cea_vic()
|
H A D | drm_connector_test.c | 81 ret = kunit_add_action_or_reset(test, i2c_del_adapter_wrapper, &priv->ddc); in drm_test_connector_init()
|
/linux/drivers/clk/ |
H A D | clk_kunit_helpers.c | 31 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()
|
/linux/lib/kunit/ |
H A D | platform.c | 124 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 D | resource.c | 116 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 D | string-stream.c | 198 if (kunit_add_action_or_reset(test, resource_free_string_stream, stream) != 0) in kunit_alloc_string_stream()
|
H A D | test.c | 861 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 D | xe_kunit_helpers.c | 86 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 D | fpga-region-test.c | 127 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 D | fpga-mgr-test.c | 270 ret = kunit_add_action_or_reset(test, sg_free_table_wrapper, sgt); in fpga_mgr_test_img_load_sgt() 309 ret = kunit_add_action_or_reset(test, fpga_image_info_free_wrapper, ctx->img_info); in fpga_mgr_test_init()
|
H A D | fpga-bridge-test.c | 72 ret = kunit_add_action_or_reset(test, fpga_bridge_unregister_wrapper, ctx->bridge); in register_test_bridge()
|
/linux/include/kunit/ |
H A D | skbuff.h | 37 if (kunit_add_action_or_reset(test, kunit_action_kfree_skb, res)) in kunit_zalloc_skb()
|
H A D | resource.h | 459 int kunit_add_action_or_reset(struct kunit *test, kunit_action_t *action,
|
/linux/drivers/of/ |
H A D | of_kunit_helpers.c | 65 return kunit_add_action_or_reset(test, of_overlay_fdt_apply_kunit_exit, in of_overlay_fdt_apply_kunit()
|
/linux/drivers/gpu/drm/vc4/tests/ |
H A D | vc4_mock.c | 191 ret = kunit_add_action_or_reset(test, in __mock_device()
|
/linux/lib/ |
H A D | kunit_iov_iter.c | 72 kunit_add_action_or_reset(test, iov_kunit_unmap, buffer); in iov_kunit_create_buffer() 411 kunit_add_action_or_reset(test, iov_kunit_destroy_folioq, folioq); in iov_kunit_create_folioq() 574 kunit_add_action_or_reset(test, iov_kunit_destroy_xarray, xarray); in iov_kunit_create_xarray()
|
/linux/kernel/ |
H A D | resource_kunit.c | 186 kunit_add_action_or_reset(test, action, ctx), in resource_test_add_action_or_abort()
|
/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 212 error = kunit_add_action_or_reset(test, regmap_exit_action, ret); in gen_regmap() 1650 error = kunit_add_action_or_reset(test, regmap_exit_action, ret); in gen_raw_regmap()
|
/linux/Documentation/dev-tools/kunit/ |
H A D | usage.rst | 662 You can use ``kunit_add_action_or_reset`` instead which runs the action
|