Home
last modified time | relevance | path

Searched refs:replacement_addr (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/lib/kunit/
A Dstatic_stub.c17 void *replacement_addr; member
45 void *replacement_addr; in __kunit_get_static_stub_address_impl() local
55 replacement_addr = ctx->replacement_addr; in __kunit_get_static_stub_address_impl()
57 return replacement_addr; in __kunit_get_static_stub_address_impl()
89 void *replacement_addr) in __kunit_activate_static_stub() argument
98 if (!replacement_addr) { in __kunit_activate_static_stub()
99 kunit_deactivate_static_stub(test, replacement_addr); in __kunit_activate_static_stub()
109 ctx->replacement_addr = replacement_addr; in __kunit_activate_static_stub()
117 ctx->replacement_addr = replacement_addr; in __kunit_activate_static_stub()
/linux-6.3-rc2/include/kunit/
A Dstatic_stub.h79 void *replacement_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); \

Completed in 4 milliseconds