Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/kunit/
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 …]
A Dhooks-impl.h21 void *__kunit_get_static_stub_address_impl(struct kunit *test, void *real_fn_addr);
/linux-6.3-rc2/include/kunit/
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);
A Dtest-bug.h23 void *(*get_static_stub_address)(struct kunit *test, void *real_fn_addr);

Completed in 6 milliseconds