Home
last modified time | relevance | path

Searched refs:old_addr (Results 1 – 20 of 20) sorted by relevance

/xen/xen/test/livepatch/
A Dxen_nop.c22 .old_addr = (void *)MINOR_VERSION_ADDR,
28 .old_addr = (void *)MINOR_VERSION_ADDR,
A Dxen_replace_world.c19 .old_addr = 0, /* Forces the hypervisor to lookup .name */
A Dxen_bye_world.c21 .old_addr = xen_extra_version,
A Dxen_expectations.c22 .old_addr = xen_extra_version,
A Dxen_expectations_fail.c23 .old_addr = xen_extra_version,
A Dxen_hello_world.c54 .old_addr = xen_extra_version,
A Dxen_prepost_hooks_fail.c62 .old_addr = xen_extra_version,
A Dxen_action_hooks.c89 .old_addr = xen_extra_version,
A Dxen_action_hooks_marker.c99 .old_addr = xen_extra_version,
A Dxen_prepost_hooks.c109 .old_addr = xen_extra_version,
A Dxen_action_hooks_noapply.c123 .old_addr = xen_extra_version,
A Dxen_action_hooks_norevert.c130 .old_addr = xen_extra_version,
/xen/xen/include/xen/
A Dlivepatch.h106 offset = func->old_addr - func->new_addr; in livepatch_verify_distance()
144 if ( !func->old_addr || func->applied == LIVEPATCH_FUNC_NOT_APPLIED ) in common_livepatch_revert()
/xen/xen/arch/x86/
A Dlivepatch.c132 old_ptr = func->old_addr; in arch_livepatch_apply()
145 val = func->new_addr - func->old_addr - ARCH_PATCH_INSN_SIZE; in arch_livepatch_apply()
161 memcpy(func->old_addr, func->opaque, livepatch_insn_len(func)); in arch_livepatch_revert()
/xen/xen/arch/arm/arm32/
A Dlivepatch.c30 memcpy(func->opaque, func->old_addr, len); in arch_livepatch_apply()
43 delta = (s32)func->new_addr - (s32)(func->old_addr + 8); in arch_livepatch_apply()
59 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_apply()
/xen/xen/arch/arm/arm64/
A Dlivepatch.c34 memcpy(func->opaque, func->old_addr, len); in arch_livepatch_apply()
37 insn = aarch64_insn_gen_branch_imm((unsigned long)func->old_addr, in arch_livepatch_apply()
46 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_apply()
/xen/xen/arch/arm/
A Dlivepatch.c86 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_revert()
/xen/xen/common/
A Dlivepatch.c213 if ( f->old_addr ) in resolve_old_address()
216 f->old_addr = (void *)symbols_lookup_by_name(f->name); in resolve_old_address()
217 if ( !f->old_addr ) in resolve_old_address()
219 f->old_addr = (void *)livepatch_symbols_lookup_by_name(f->name); in resolve_old_address()
220 if ( !f->old_addr ) in resolve_old_address()
228 elf->name, f->name, f->old_addr); in resolve_old_address()
574 if ( !func->old_addr ) in livepatch_verify_expectation_fn()
587 if ( memcmp(func->old_addr, exp->data, exp->len) ) in livepatch_verify_expectation_fn()
590 func->name, exp->len, exp->data, exp->len, func->old_addr); in livepatch_verify_expectation_fn()
2101 f->name, f->old_addr, f->old_size, f->new_addr, f->new_size); in livepatch_printall()
/xen/docs/misc/
A Dlivepatch.pandoc295 void *old_addr;
310 * `name` is the symbol name of the old function. Only used if `old_addr` is
313 * `old_addr` is the address of the function to be patched and is filled in at
322 * If the value is zero, then we NOPing out at the `old_addr` location
324 * `old_size` contains the sizes of the respective `old_addr` function in
328 the new function (which will replace the one at `old_addr`) in bytes.
367 structure and the core code inserts a trampoline at `old_addr` to `new_addr`.
372 to `old_addr`.
409 void *old_addr;
432 .old_addr = (void *)0xffff82d08013963c, /* Extracted from xen-syms. */
/xen/xen/include/public/
A Dsysctl.h866 void *old_addr; member

Completed in 23 milliseconds