Home
last modified time | relevance | path

Searched refs:kunit_get_current_test (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/include/kunit/
A Dtest-bug.h39 static inline struct kunit *kunit_get_current_test(void) in kunit_get_current_test() function
63 static inline struct kunit *kunit_get_current_test(void) { return NULL; } in kunit_get_current_test() function
A Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
/linux-6.3-rc2/Documentation/dev-tools/kunit/api/
A Dfunctionredirection.rst69 kunit_get_current_test() to get a struct kunit pointer. This can then
79 struct kunit *test = kunit_get_current_test();
/linux-6.3-rc2/Documentation/dev-tools/kunit/
A Dusage.rst648 access using the ``kunit_get_current_test()`` function in ``kunit/test-bug.h``.
650 ``kunit_get_current_test()`` is safe to call even if KUnit is not enabled. If
659 #include <kunit/test-bug.h> /* for kunit_get_current_test */
668 struct kunit *test = kunit_get_current_test();
/linux-6.3-rc2/mm/
A Dslub.c622 if (!kunit_get_current_test()) in slab_add_kunit_errors()

Completed in 15 milliseconds