Home
last modified time | relevance | path

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

/openbmc/linux/kernel/livepatch/
H A 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()
/openbmc/linux/samples/livepatch/
H A 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()
H A 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()
/openbmc/linux/lib/livepatch/
H A 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()
/openbmc/linux/include/linux/
H A Dlivepatch.h216 void *shadow_data,
218 typedef void (*klp_shadow_dtor_t)(void *obj, void *shadow_data);
/openbmc/qemu/include/hw/virtio/
H A Dvhost-vdpa.h55 bool shadow_data; member
/openbmc/linux/Documentation/livepatch/
H A Dshadow-vars.rst175 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 Dvhost-vdpa.c361 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 Dvhost-vdpa.c386 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()