Lines Matching +full:look +full:- +full:up
1 // SPDX-License-Identifier: GPL-2.0
11 #include "hooks-impl.h"
22 kfree(res->data); in __kunit_static_stub_resource_free()
31 struct kunit_static_stub_ctx *ctx = res->data; in __kunit_static_stub_resource_match()
34 if (res->free != &__kunit_static_stub_resource_free) in __kunit_static_stub_resource_match()
37 return ctx->real_fn_addr == match_real_fn_addr; in __kunit_static_stub_resource_match()
54 ctx = res->data; in __kunit_get_static_stub_address_impl()
55 replacement_addr = ctx->replacement_addr; in __kunit_get_static_stub_address_impl()
67 /* Look up the existing stub for this function. */ in kunit_deactivate_static_stub()
103 /* Look up any existing stubs for this function, and replace them. */ in __kunit_activate_static_stub()
108 ctx = res->data; in __kunit_activate_static_stub()
109 ctx->replacement_addr = replacement_addr; in __kunit_activate_static_stub()
116 ctx->real_fn_addr = real_fn_addr; in __kunit_activate_static_stub()
117 ctx->replacement_addr = replacement_addr; in __kunit_activate_static_stub()