Searched refs:kunit_add_action (Results 1 – 9 of 9) sorted by relevance
/linux/lib/kunit/ |
H A D | kunit-test.c | 463 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 D | resource.c | 95 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 D | device.c | 102 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 D | string-stream-test.c | 35 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 D | executor_test.c | 278 kunit_add_action(test, free_suite_set, (void *)free); in free_suite_set_at_end()
|
H A D | assert_test.c | 46 kunit_add_action(test, kfree_wrapper, (void *)str); in get_str_from_stream()
|
/linux/drivers/of/ |
H A D | of_kunit_helpers.c | 84 if (kunit_add_action(test, of_node_put_wrapper, node)) { in of_node_put_kunit()
|
/linux/include/kunit/ |
H A D | resource.h | 434 int kunit_add_action(struct kunit *test, kunit_action_t *action, void *ctx);
|
/linux/Documentation/dev-tools/kunit/ |
H A D | usage.rst | 646 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.
|