Searched refs:SV_LEAK (Results 1 – 2 of 2) sorted by relevance
/linux/samples/livepatch/ |
H A D | livepatch-shadow-fix1.c | 33 #define SV_LEAK 1 macro 78 * Patch: save the extra memory location into a SV_LEAK shadow in livepatch_fix1_dummy_alloc() 86 shadow_leak = klp_shadow_alloc(d, SV_LEAK, sizeof(leak), GFP_KERNEL, in livepatch_fix1_dummy_alloc() 121 * Patch: fetch the saved SV_LEAK shadow variable, detach and in livepatch_fix1_dummy_free() 126 shadow_leak = klp_shadow_get(d, SV_LEAK); in livepatch_fix1_dummy_free() 128 klp_shadow_free(d, SV_LEAK, livepatch_fix1_dummy_leak_dtor); in livepatch_fix1_dummy_free() 165 /* Cleanup any existing SV_LEAK shadow variables */ in livepatch_shadow_fix1_exit() 166 klp_shadow_free_all(SV_LEAK, livepatch_fix1_dummy_leak_dtor); in livepatch_shadow_fix1_exit()
|
H A D | livepatch-shadow-fix2.c | 33 #define SV_LEAK 1 macro 75 shadow_leak = klp_shadow_get(d, SV_LEAK); in livepatch_fix2_dummy_free() 77 klp_shadow_free(d, SV_LEAK, livepatch_fix2_dummy_leak_dtor); in livepatch_fix2_dummy_free()
|