#include <kunit/test.h>
#include <kunit/static_stub.h>
#include "hooks-impl.h"
struct kunit_static_stub_ctx { … };
static void __kunit_static_stub_resource_free(struct kunit_resource *res)
{ … }
static bool __kunit_static_stub_resource_match(struct kunit *test,
struct kunit_resource *res,
void *match_real_fn_addr)
{ … }
void *__kunit_get_static_stub_address_impl(struct kunit *test, void *real_fn_addr)
{ … }
void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr)
{ … }
EXPORT_SYMBOL_GPL(…);
void __kunit_activate_static_stub(struct kunit *test,
void *real_fn_addr,
void *replacement_addr)
{ … }
EXPORT_SYMBOL_GPL(…);