Searched refs:old_addr (Results 1 – 20 of 20) sorted by relevance
/xen/xen/test/livepatch/ |
A D | xen_nop.c | 22 .old_addr = (void *)MINOR_VERSION_ADDR, 28 .old_addr = (void *)MINOR_VERSION_ADDR,
|
A D | xen_replace_world.c | 19 .old_addr = 0, /* Forces the hypervisor to lookup .name */
|
A D | xen_bye_world.c | 21 .old_addr = xen_extra_version,
|
A D | xen_expectations.c | 22 .old_addr = xen_extra_version,
|
A D | xen_expectations_fail.c | 23 .old_addr = xen_extra_version,
|
A D | xen_hello_world.c | 54 .old_addr = xen_extra_version,
|
A D | xen_prepost_hooks_fail.c | 62 .old_addr = xen_extra_version,
|
A D | xen_action_hooks.c | 89 .old_addr = xen_extra_version,
|
A D | xen_action_hooks_marker.c | 99 .old_addr = xen_extra_version,
|
A D | xen_prepost_hooks.c | 109 .old_addr = xen_extra_version,
|
A D | xen_action_hooks_noapply.c | 123 .old_addr = xen_extra_version,
|
A D | xen_action_hooks_norevert.c | 130 .old_addr = xen_extra_version,
|
/xen/xen/include/xen/ |
A D | livepatch.h | 106 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 D | livepatch.c | 132 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 D | livepatch.c | 30 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 D | livepatch.c | 34 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 D | livepatch.c | 86 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_revert()
|
/xen/xen/common/ |
A D | livepatch.c | 213 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 D | livepatch.pandoc | 295 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 D | sysctl.h | 866 void *old_addr; member
|
Completed in 23 milliseconds