Searched refs:kunit_action_t (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/kunit/ |
H A D | resource.h | 391 typedef void (kunit_action_t)(void *); typedef 413 int kunit_add_action(struct kunit *test, kunit_action_t *action, void *ctx); 438 int kunit_add_action_or_reset(struct kunit *test, kunit_action_t *action, 456 kunit_action_t *action, 480 kunit_action_t *action,
|
/openbmc/linux/lib/kunit/ |
H A D | resource.c | 83 kunit_action_t *func; 142 kunit_action_t *action, in kunit_remove_action() 162 kunit_action_t *action, in kunit_release_action()
|
H A D | test.c | 862 if (kunit_add_action_or_reset(test, (kunit_action_t *)kfree, data) != 0) in kunit_kmalloc_array() 874 kunit_release_action(test, (kunit_action_t *)kfree, (void *)ptr); in kunit_kfree()
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | usage.rst | 655 a ``kunit_action_t`` rather than writing a wrapper function, for example: 659 kunit_add_action(test, (kunit_action_t *)&device_unregister, &dev);
|