Home
last modified time | relevance | path

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

/openbmc/linux/include/kunit/
H A Dtest-bug.h41 static inline struct kunit *kunit_get_current_test(void) in kunit_get_current_test() function
65 static inline struct kunit *kunit_get_current_test(void) { return NULL; } in kunit_get_current_test() function
H A Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
/openbmc/linux/rust/
H A Dhelpers.c143 return kunit_get_current_test(); in rust_helper_kunit_get_current_test()
/openbmc/linux/rust/kernel/
H A Dkunit.rs64 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };
/openbmc/linux/Documentation/dev-tools/kunit/api/
H A Dfunctionredirection.rst69 kunit_get_current_test() to get a struct kunit pointer. This can then
79 struct kunit *test = kunit_get_current_test();
/openbmc/linux/Documentation/dev-tools/kunit/
H A Dusage.rst713 access using the ``kunit_get_current_test()`` function in ``kunit/test-bug.h``.
715 ``kunit_get_current_test()`` is safe to call even if KUnit is not enabled. If
724 #include <kunit/test-bug.h> /* for kunit_get_current_test */
733 struct kunit *test = kunit_get_current_test();
/openbmc/linux/lib/kunit/
H A Dkunit-test.c628 KUNIT_EXPECT_PTR_EQ(test, test, kunit_get_current_test()); in kunit_current_test()
/openbmc/linux/mm/
H A Dslub.c651 if (!kunit_get_current_test()) in slab_add_kunit_errors()