Home
last modified time | relevance | path

Searched refs:real_fn_addr (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/kunit/
H A Dstatic_stub.c16 void *real_fn_addr; member
37 return ctx->real_fn_addr == match_real_fn_addr; in __kunit_static_stub_resource_match()
41 void *__kunit_get_static_stub_address_impl(struct kunit *test, void *real_fn_addr) in __kunit_get_static_stub_address_impl() argument
49 real_fn_addr); in __kunit_get_static_stub_address_impl()
60 void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr) in kunit_deactivate_static_stub() argument
64 KUNIT_ASSERT_PTR_NE_MSG(test, real_fn_addr, NULL, in kunit_deactivate_static_stub()
70 real_fn_addr); in kunit_deactivate_static_stub()
88 void *real_fn_addr, in __kunit_activate_static_stub() argument
94 KUNIT_ASSERT_PTR_NE_MSG(test, real_fn_addr, NULL, in __kunit_activate_static_stub()
106 real_fn_addr); in __kunit_activate_static_stub()
[all …]
H A Dhooks-impl.h21 void *__kunit_get_static_stub_address_impl(struct kunit *test, void *real_fn_addr);
/openbmc/linux/include/kunit/
H A Dstatic_stub.h78 void *real_fn_addr,
95 #define kunit_activate_static_stub(test, real_fn_addr, replacement_addr) do { \ argument
96 typecheck_fn(typeof(&real_fn_addr), replacement_addr); \
97 __kunit_activate_static_stub(test, real_fn_addr, replacement_addr); \
110 void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr);
H A Dtest-bug.h25 void *(*get_static_stub_address)(struct kunit *test, void *real_fn_addr);