Home
last modified time | relevance | path

Searched refs:kunit_add_action (Results 1 – 9 of 9) sorted by relevance

/linux/lib/kunit/
H A Dkunit-test.c463 kunit_add_action(test, increment_int, &num_actions); in kunit_resource_test_action()
473 kunit_add_action(test, increment_int, &num_actions); in kunit_resource_test_action()
474 kunit_add_action(test, increment_int, &num_actions); in kunit_resource_test_action()
482 kunit_add_action(test, increment_int, &num_actions); in kunit_resource_test_remove_action()
493 kunit_add_action(test, increment_int, &num_actions); in kunit_resource_test_release_action()
521 kunit_add_action(test, action_order_1, ctx); in kunit_resource_test_action_ordering()
522 kunit_add_action(test, action_order_2, ctx); in kunit_resource_test_action_ordering()
523 kunit_add_action(test, action_order_1, ctx); in kunit_resource_test_action_ordering()
524 kunit_add_action(test, action_order_2, ctx); in kunit_resource_test_action_ordering()
608 kunit_add_action(test, kfree_wrapper, full_log); in kunit_log_test()
[all …]
H A Dresource.c95 int kunit_add_action(struct kunit *test, void (*action)(void *), void *ctx) in kunit_add_action() function
114 EXPORT_SYMBOL_GPL(kunit_add_action);
119 int res = kunit_add_action(test, action, ctx); in kunit_add_action_or_reset()
H A Ddevice.c102 kunit_add_action(test, driver_unregister_wrapper, driver); in kunit_driver_create()
140 kunit_add_action(test, device_unregister_wrapper, &kunit_dev->dev); in kunit_device_register_internal()
H A Dstring-stream-test.c35 kunit_add_action(test, kfree_wrapper, (void *)str); in get_concatenated_string()
63 kunit_add_action(test, cleanup_raw_stream, stream); in string_stream_unmanaged_init_test()
H A Dexecutor_test.c278 kunit_add_action(test, free_suite_set, (void *)free); in free_suite_set_at_end()
H A Dassert_test.c46 kunit_add_action(test, kfree_wrapper, (void *)str); in get_str_from_stream()
/linux/drivers/of/
H A Dof_kunit_helpers.c84 if (kunit_add_action(test, of_node_put_wrapper, node)) { in of_node_put_kunit()
/linux/include/kunit/
H A Dresource.h434 int kunit_add_action(struct kunit *test, kunit_action_t *action, void *ctx);
/linux/Documentation/dev-tools/kunit/
H A Dusage.rst646 kunit_add_action(test, &cleanup_device, &dev);
656 kunit_add_action(test, &device_unregister_wrapper, &dev);
661 ``kunit_add_action`` can fail if, for example, the system is out of memory.