Searched refs:kunit_add_action (Results 1 - 7 of 7) sorted by path
/linux-master/drivers/base/regmap/ |
H A D | regmap-kunit.c | 197 kunit_add_action(test, regmap_exit_action, ret); 1548 kunit_add_action(test, regmap_exit_action, ret);
|
/linux-master/include/kunit/ |
H A D | resource.h | 390 /* A 'deferred action' function to be used with kunit_add_action. */ 401 * argument. This wrapper can then be passed to kunit_add_action() and 415 * kunit_add_action() - Call a function when the test ends. 422 * registered with kunit_add_action() will execute in the opposite order to that 434 int kunit_add_action(struct kunit *test, kunit_action_t *action, void *ctx); 444 * registered with kunit_add_action() will execute in the opposite order to that 468 * Prevent an action deferred via kunit_add_action() from executing when the 486 * Execute a function deferred via kunit_add_action()) immediately, rather than
|
/linux-master/lib/kunit/ |
H A D | device.c | 21 /* Wrappers for use with kunit_add_action() */ 102 kunit_add_action(test, driver_unregister_wrapper, driver); 140 kunit_add_action(test, device_unregister_wrapper, &kunit_dev->dev);
|
H A D | executor_test.c | 278 kunit_add_action(test, free_suite_set, (void *)free);
|
H A D | kunit-test.c | 463 kunit_add_action(test, increment_int, &num_actions); 473 kunit_add_action(test, increment_int, &num_actions); 474 kunit_add_action(test, increment_int, &num_actions); 482 kunit_add_action(test, increment_int, &num_actions); 493 kunit_add_action(test, increment_int, &num_actions); 521 kunit_add_action(test, action_order_1, ctx); 522 kunit_add_action(test, action_order_2, ctx); 523 kunit_add_action(test, action_order_1, ctx); 524 kunit_add_action(test, action_order_2, ctx); 586 /* This avoids a cast warning if kfree() is passed direct to kunit_add_action() [all...] |
H A D | resource.c | 95 int kunit_add_action(struct kunit *test, void (*action)(void *), void *ctx) function 114 EXPORT_SYMBOL_GPL(kunit_add_action); variable 119 int res = kunit_add_action(test, action, ctx);
|
H A D | string-stream-test.c | 24 /* Avoids a cast warning if kfree() is passed direct to kunit_add_action(). */ 27 /* Avoids a cast warning if string_stream_destroy() is passed direct to kunit_add_action(). */ 35 kunit_add_action(test, kfree_wrapper, (void *)str); 63 kunit_add_action(test, cleanup_raw_stream, stream);
|
Completed in 200 milliseconds