Searched refs:shadow_data (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/kernel/livepatch/ |
H A 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()
|
/openbmc/linux/samples/livepatch/ |
H A 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()
|
H A 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()
|
/openbmc/linux/lib/livepatch/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A D | livepatch.h | 216 void *shadow_data, 218 typedef void (*klp_shadow_dtor_t)(void *obj, void *shadow_data);
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost-vdpa.h | 55 bool shadow_data; member
|
/openbmc/linux/Documentation/livepatch/ |
H A D | shadow-vars.rst | 175 int ps_lock_shadow_ctor(void *obj, void *shadow_data, void *ctor_data) 177 spinlock_t *lock = shadow_data;
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-vdpa.c | 361 if (s->shadow_data) { in vhost_vdpa_listener_region_add() 388 if (s->shadow_data) { in vhost_vdpa_listener_region_add() 441 if (s->shadow_data) { in vhost_vdpa_listener_region_del()
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 386 v->shared->shadow_data = v->shadow_vqs_enabled; in vhost_vdpa_net_data_start() 555 if (v->shared->shadow_data) { in vhost_vdpa_net_cvq_start() 1718 s->vhost_vdpa.shared->shadow_data = svq; in net_vhost_vdpa_init()
|