Lines Matching +full:check +full:- +full:patch
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * livepatch-shadow-fix2.c - Shadow variables, livepatch demo
10 * -------
12 * Adds functionality to livepatch-shadow-mod's in-flight data
15 * per-data-structure counter, creating the counter if needed.
19 * -----
22 * section of livepatch-shadow-mod.c.
46 * Patch: handle in-flight dummy structures, if they do not in livepatch_fix2_dummy_check()
56 return time_after(jiffies, d->jiffies_expire); in livepatch_fix2_dummy_check()
74 /* Patch: copy the memory leak patch from the fix1 module. */ in livepatch_fix2_dummy_free()
82 * Patch: fetch the SV_COUNTER shadow variable and display in livepatch_fix2_dummy_free()
87 pr_info("%s: dummy @ %p, check counter = %d\n", in livepatch_fix2_dummy_free()
113 static struct klp_patch patch = { variable
120 return klp_enable_patch(&patch); in livepatch_shadow_fix2_init()