Searched refs:shadow_data (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/kernel/livepatch/ |
D | shadow.c | 110 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-6.1.9/samples/livepatch/ |
D | livepatch-shadow-fix1.c | 53 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()
|
D | livepatch-shadow-fix2.c | 59 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-6.1.9/lib/livepatch/ |
D | test_klp_shadow_vars.c | 117 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-6.1.9/include/linux/ |
D | livepatch.h | 215 void *shadow_data, 217 typedef void (*klp_shadow_dtor_t)(void *obj, void *shadow_data);
|
/linux-6.1.9/Documentation/livepatch/ |
D | shadow-vars.rst | 175 int ps_lock_shadow_ctor(void *obj, void *shadow_data, void *ctor_data) 177 spinlock_t *lock = shadow_data;
|