Home
last modified time | relevance | path

Searched refs:SV_LEAK (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/samples/livepatch/
H A Dlivepatch-shadow-fix1.c33 #define SV_LEAK 1 macro
79 * Patch: save the extra memory location into a SV_LEAK shadow in livepatch_fix1_dummy_alloc()
87 shadow_leak = klp_shadow_alloc(d, SV_LEAK, sizeof(leak), GFP_KERNEL, in livepatch_fix1_dummy_alloc()
122 * Patch: fetch the saved SV_LEAK shadow variable, detach and in livepatch_fix1_dummy_free()
127 shadow_leak = klp_shadow_get(d, SV_LEAK); in livepatch_fix1_dummy_free()
129 klp_shadow_free(d, SV_LEAK, livepatch_fix1_dummy_leak_dtor); in livepatch_fix1_dummy_free()
166 /* Cleanup any existing SV_LEAK shadow variables */ in livepatch_shadow_fix1_exit()
167 klp_shadow_free_all(SV_LEAK, livepatch_fix1_dummy_leak_dtor); in livepatch_shadow_fix1_exit()
H A Dlivepatch-shadow-fix2.c33 #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()
/kernel/linux/linux-6.6/samples/livepatch/
H A Dlivepatch-shadow-fix1.c33 #define SV_LEAK 1 macro
79 * Patch: save the extra memory location into a SV_LEAK shadow in livepatch_fix1_dummy_alloc()
87 shadow_leak = klp_shadow_alloc(d, SV_LEAK, sizeof(leak), GFP_KERNEL, in livepatch_fix1_dummy_alloc()
122 * Patch: fetch the saved SV_LEAK shadow variable, detach and in livepatch_fix1_dummy_free()
127 shadow_leak = klp_shadow_get(d, SV_LEAK); in livepatch_fix1_dummy_free()
129 klp_shadow_free(d, SV_LEAK, livepatch_fix1_dummy_leak_dtor); in livepatch_fix1_dummy_free()
166 /* Cleanup any existing SV_LEAK shadow variables */ in livepatch_shadow_fix1_exit()
167 klp_shadow_free_all(SV_LEAK, livepatch_fix1_dummy_leak_dtor); in livepatch_shadow_fix1_exit()
H A Dlivepatch-shadow-fix2.c33 #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()

Completed in 2 milliseconds