Home
last modified time | relevance | path

Searched refs:kunit_test (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/lib/kunit/
Dtest.c33 if (!current->kunit_test) in __kunit_fail_current_test()
36 kunit_set_failure(current->kunit_test); in __kunit_fail_current_test()
43 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test()
51 kunit_err(current->kunit_test, "%s:%d: %s", file, line, buffer); in __kunit_fail_current_test()
52 kunit_kfree(current->kunit_test, buffer); in __kunit_fail_current_test()
385 current->kunit_test = test; in kunit_try_run_case()
765 current->kunit_test = NULL; in kunit_cleanup()
/Linux-v6.1/Documentation/dev-tools/kunit/
Dtips.rst90 There is a ``kunit_test`` field in ``task_struct``, so you can access it via
91 ``current->kunit_test``.
106 struct kunit *test = current->kunit_test;
Dusage.rst622 This test-only code can be made more useful by accessing the current ``kunit_test``
631 ``kunit_test`` field in ``task_struct``, we can access it via
632 ``current->kunit_test``.
647 struct kunit *test = current->kunit_test;
Drunning_tips.rst210 As of 5.13, the only difference is that ``current->kunit_test`` will
/Linux-v6.1/mm/kasan/
Dreport.c124 test = current->kunit_test; in update_kunit_status()
/Linux-v6.1/include/linux/
Dsched.h1378 struct kunit *kunit_test; member
/Linux-v6.1/mm/
Dslub.c606 if (likely(!current->kunit_test)) in slab_add_kunit_errors()
609 resource = kunit_find_named_resource(current->kunit_test, "slab_errors"); in slab_add_kunit_errors()