Searched refs:kunit_test (Results  1 – 9 of 9) sorted by relevance
| /Linux-v6.6/rust/kernel/ | 
| D | kunit.rs | 64             let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };  localVariable 65             if kunit_test.is_null() { 130                     kunit_test, 143                 $crate::bindings::__kunit_abort(kunit_test);
  | 
| /Linux-v6.6/lib/kunit/ | 
| D | test.c | 34 	if (!current->kunit_test)  in __kunit_fail_current_test_impl() 37 	kunit_set_failure(current->kunit_test);  in __kunit_fail_current_test_impl() 44 	buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL);  in __kunit_fail_current_test_impl() 52 	kunit_err(current->kunit_test, "%s:%d: %s", file, line, buffer);  in __kunit_fail_current_test_impl() 53 	kunit_kfree(current->kunit_test, buffer);  in __kunit_fail_current_test_impl() 427 	current->kunit_test = test;  in kunit_try_run_case() 443 	current->kunit_test = test;  in kunit_try_run_case_cleanup() 863 	current->kunit_test = NULL;  in kunit_cleanup()
  | 
| D | kunit-test.c | 461 	kunit_log(KERN_INFO, current->kunit_test, "action_order_1");  in action_order_1() 468 	kunit_log(KERN_INFO, current->kunit_test, "action_order_2");  in action_order_2() 627 	KUNIT_EXPECT_PTR_EQ(test, test, current->kunit_test);  in kunit_current_test() 639 	current->kunit_test = &fake;  in kunit_current_fail_test() 646 	current->kunit_test = test;  in kunit_current_fail_test()
  | 
| /Linux-v6.6/include/kunit/ | 
| D | test-bug.h | 46 	return current->kunit_test;  in kunit_get_current_test()
  | 
| /Linux-v6.6/mm/kasan/ | 
| D | report.c | 191 	test = current->kunit_test;  in fail_non_kasan_kunit_test()
  | 
| /Linux-v6.6/Documentation/dev-tools/kunit/ | 
| D | usage.rst | 703 This test-only code can be made more useful by accessing the current ``kunit_test`` 712 We can do this via the ``kunit_test`` field in ``task_struct``, which we can
  | 
| D | running_tips.rst | 210 	As of 5.13, the only difference is that ``current->kunit_test`` will
  | 
| /Linux-v6.6/include/linux/ | 
| D | sched.h | 1380 	struct kunit			*kunit_test;  member
  | 
| /Linux-v6.6/mm/ | 
| D | slub.c | 654 	resource = kunit_find_named_resource(current->kunit_test, "slab_errors");  in slab_add_kunit_errors()
  |