Home
last modified time | relevance | path

Searched refs:livepatch_func (Results 1 – 22 of 22) sorted by relevance

/xen/xen/test/livepatch/
A Dxen_action_hooks_noapply.c28 const struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
48 const struct livepatch_func *func = &payload->funcs[i]; in apply_hook()
67 const struct livepatch_func *func = &payload->funcs[i]; in post_apply_hook()
86 const struct livepatch_func *func = &payload->funcs[i]; in pre_revert_hook()
106 const struct livepatch_func *func = &payload->funcs[i]; in post_revert_hook()
123 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_prepost_hooks.c33 const struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
52 const struct livepatch_func *func = &payload->funcs[i]; in post_apply_hook()
69 const struct livepatch_func *func = &payload->funcs[i]; in pre_revert_hook()
89 const struct livepatch_func *func = &payload->funcs[i]; in post_revert_hook()
105 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_action_hooks_marker.c26 const struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
46 const struct livepatch_func *func = &payload->funcs[i]; in post_apply_hook()
64 const struct livepatch_func *func = &payload->funcs[i]; in pre_revert_hook()
84 const struct livepatch_func *func = &payload->funcs[i]; in post_revert_hook()
99 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_action_hooks_norevert.c28 const struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
48 const struct livepatch_func *func = &payload->funcs[i]; in post_apply_hook()
66 const struct livepatch_func *func = &payload->funcs[i]; in pre_revert_hook()
86 const struct livepatch_func *func = &payload->funcs[i]; in revert_hook()
118 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_action_hooks.c29 const struct livepatch_func *func = &payload->funcs[i]; in apply_hook()
51 const struct livepatch_func *func = &payload->funcs[i]; in revert_hook()
73 const struct livepatch_func *func = &payload->funcs[i]; in post_revert_hook()
87 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_action_hooks_nofunc.c26 const struct livepatch_func *func = &payload->funcs[i]; in apply_hook()
45 const struct livepatch_func *func = &payload->funcs[i]; in revert_hook()
64 const struct livepatch_func *func = &payload->funcs[i]; in post_revert_hook()
A Dxen_prepost_hooks_fail.c27 const struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
58 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_replace_world.c16 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_nop.c17 const struct livepatch_func __section(".livepatch.funcs") livepatch_nop = {
A Dxen_bye_world.c17 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_expectations.c18 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_expectations_fail.c19 const struct livepatch_func __section(".livepatch.funcs")
A Dxen_hello_world.c50 const struct livepatch_func __section(".livepatch.funcs")
/xen/xen/include/xen/
A Dlivepatch.h98 int arch_livepatch_verify_func(const struct livepatch_func *func);
101 unsigned int livepatch_insn_len(const struct livepatch_func *func, in livepatch_insn_len()
110 static inline int livepatch_verify_distance(const struct livepatch_func *func) in livepatch_verify_distance()
132 void arch_livepatch_apply(const struct livepatch_func *func,
134 void arch_livepatch_revert(const struct livepatch_func *func,
A Dlivepatch_payload.h55 const struct livepatch_func *funcs; /* The array of functions to patch. */
/xen/xen/arch/arm/
A Dlivepatch.c69 int arch_livepatch_verify_func(const struct livepatch_func *func) in arch_livepatch_verify_func()
82 void arch_livepatch_revert(const struct livepatch_func *func, in arch_livepatch_revert()
/xen/xen/arch/x86/
A Dlivepatch.c92 int arch_livepatch_verify_func(const struct livepatch_func *func) in arch_livepatch_verify_func()
126 void noinline arch_livepatch_apply(const struct livepatch_func *func, in arch_livepatch_apply()
175 void noinline arch_livepatch_revert(const struct livepatch_func *func, in arch_livepatch_revert()
/xen/xen/common/
A Dlivepatch.c202 static int resolve_old_address(struct livepatch_func *f, in resolve_old_address()
566 static inline int livepatch_verify_expectation_fn(const struct livepatch_func *func) in livepatch_verify_expectation_fn()
607 const struct livepatch_func *func = &(payload->funcs[i]); in livepatch_check_expectations()
655 struct livepatch_func *funcs; in prepare_payload()
656 struct livepatch_func *f; in prepare_payload()
1375 const struct livepatch_func *func = &data->funcs[i]; in apply_payload()
1421 const struct livepatch_func *func = &data->funcs[i]; in revert_payload()
1473 const struct livepatch_func *f = &(data->funcs[i]); in was_action_consistent()
2201 const struct livepatch_func *f = &(data->funcs[i]); in livepatch_printall()
/xen/xen/arch/arm/arm32/
A Dlivepatch.c14 void arch_livepatch_apply(const struct livepatch_func *func, in arch_livepatch_apply()
/xen/xen/include/public/
A Dsysctl.h987 struct livepatch_func { struct
997 typedef struct livepatch_func livepatch_func_t; argument
/xen/xen/arch/arm/arm64/
A Dlivepatch.c18 void arch_livepatch_apply(const struct livepatch_func *func, in arch_livepatch_apply()
/xen/docs/misc/
A Dlivepatch.pandoc275 * `.livepatch.funcs` - which is an array of livepatch_func structures.
289 The `.livepatch.funcs` contains an array of livepatch_func structures
292 struct livepatch_func {
348 struct livepatch_func. This is the
360 `opaque` buffer of `struct livepatch_func` (max number of bytes to be
363 The size of the `livepatch_func` array is determined from the ELF section
366 When applying the patch the hypervisor iterates over each `livepatch_func`
370 When reverting a patch, the hypervisor iterates over each `livepatch_func`
406 struct livepatch_func {
428 struct livepatch_func livepatch_hello_world = {

Completed in 626 milliseconds