Home
last modified time | relevance | path

Searched refs:RELATIVE_ADDR_SIZE (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/
Dkprobes.h44 #define RELATIVE_ADDR_SIZE 4 macro
59 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
89 kprobe_opcode_t copied_insn[RELATIVE_ADDR_SIZE];
/Linux-v4.19/arch/x86/kernel/kprobes/
Dopt.c78 memcpy(buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in __recover_optprobed_insn()
81 memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); in __recover_optprobed_insn()
310 RELATIVE_ADDR_SIZE)) in can_optimize()
444 RELATIVE_ADDR_SIZE); in arch_optimize_kprobes()
463 memcpy(insn_buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in arch_unoptimize_kprobe()