Searched refs:kunit_test (Results 1 – 10 of 10) sorted by relevance
| /linux/rust/kernel/ |
| A D | kunit.rs | 64 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() }; 65 if kunit_test.is_null() { 130 kunit_test, 143 $crate::bindings::__kunit_abort(kunit_test);
|
| /linux/lib/kunit/ |
| A D | test.c | 39 if (!current->kunit_test) in __kunit_fail_current_test_impl() 42 kunit_set_failure(current->kunit_test); in __kunit_fail_current_test_impl() 49 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl() 57 kunit_err(current->kunit_test, "%s:%d: %s", file, line, buffer); in __kunit_fail_current_test_impl() 58 kunit_kfree(current->kunit_test, buffer); in __kunit_fail_current_test_impl() 436 current->kunit_test = test; in kunit_try_run_case() 452 current->kunit_test = test; in kunit_try_run_case_cleanup() 927 current->kunit_test = NULL; in kunit_cleanup()
|
| A D | kunit-test.c | 508 kunit_log(KERN_INFO, current->kunit_test, "action_order_1"); in action_order_1() 515 kunit_log(KERN_INFO, current->kunit_test, "action_order_2"); in action_order_2() 708 KUNIT_EXPECT_PTR_EQ(test, test, current->kunit_test); in kunit_current_test() 720 current->kunit_test = &fake; in kunit_current_fail_test() 727 current->kunit_test = test; in kunit_current_fail_test()
|
| A D | string-stream-test.c | 147 current->kunit_test = fake_test; in string_stream_resource_free_test() 153 current->kunit_test = test; in string_stream_resource_free_test()
|
| /linux/include/kunit/ |
| A D | test-bug.h | 46 return current->kunit_test; in kunit_get_current_test()
|
| /linux/mm/kasan/ |
| A D | report.c | 192 test = current->kunit_test; in fail_non_kasan_kunit_test()
|
| /linux/Documentation/dev-tools/kunit/ |
| A D | usage.rst | 718 This test-only code can be made more useful by accessing the current ``kunit_test`` 727 We can do this via the ``kunit_test`` field in ``task_struct``, which we can
|
| A D | running_tips.rst | 221 As of 5.13, the only difference is that ``current->kunit_test`` will
|
| /linux/include/linux/ |
| A D | sched.h | 1431 struct kunit *kunit_test; member
|
| /linux/mm/ |
| A D | slub.c | 821 resource = kunit_find_named_resource(current->kunit_test, "slab_errors"); in slab_add_kunit_errors() 837 resource = kunit_find_named_resource(current->kunit_test, "slab_errors"); in slab_in_kunit_test()
|
Completed in 33 milliseconds