Home
last modified time | relevance | path

Searched refs:shadow_data (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/kernel/livepatch/
Dshadow.c110 void *shadow_data; in __klp_shadow_get_or_alloc() local
114 shadow_data = klp_shadow_get(obj, id); in __klp_shadow_get_or_alloc()
115 if (shadow_data) in __klp_shadow_get_or_alloc()
129 shadow_data = klp_shadow_get(obj, id); in __klp_shadow_get_or_alloc()
130 if (unlikely(shadow_data)) { in __klp_shadow_get_or_alloc()
169 return shadow_data; in __klp_shadow_get_or_alloc()
/Linux-v6.1/samples/livepatch/
Dlivepatch-shadow-fix1.c53 static int shadow_leak_ctor(void *obj, void *shadow_data, void *ctor_data) in shadow_leak_ctor() argument
55 int **shadow_leak = shadow_data; in shadow_leak_ctor()
107 static void livepatch_fix1_dummy_leak_dtor(void *obj, void *shadow_data) in livepatch_fix1_dummy_leak_dtor() argument
110 int **shadow_leak = shadow_data; in livepatch_fix1_dummy_leak_dtor()
Dlivepatch-shadow-fix2.c59 static void livepatch_fix2_dummy_leak_dtor(void *obj, void *shadow_data) in livepatch_fix2_dummy_leak_dtor() argument
62 int **shadow_leak = shadow_data; in livepatch_fix2_dummy_leak_dtor()
/Linux-v6.1/lib/livepatch/
Dtest_klp_shadow_vars.c117 static int shadow_ctor(void *obj, void *shadow_data, void *ctor_data) in shadow_ctor() argument
119 int **sv = shadow_data; in shadow_ctor()
136 static void shadow_dtor(void *obj, void *shadow_data) in shadow_dtor() argument
138 int **sv = shadow_data; in shadow_dtor()
/Linux-v6.1/include/linux/
Dlivepatch.h215 void *shadow_data,
217 typedef void (*klp_shadow_dtor_t)(void *obj, void *shadow_data);
/Linux-v6.1/Documentation/livepatch/
Dshadow-vars.rst175 int ps_lock_shadow_ctor(void *obj, void *shadow_data, void *ctor_data)
177 spinlock_t *lock = shadow_data;