Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/
Dkprobes.h31 #define RELATIVE_ADDR_SIZE 4 macro
46 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
76 kprobe_opcode_t copied_insn[RELATIVE_ADDR_SIZE];
/Linux-v5.4/arch/x86/kernel/kprobes/
Dopt.c65 memcpy(buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in __recover_optprobed_insn()
68 memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); in __recover_optprobed_insn()
301 RELATIVE_ADDR_SIZE)) in can_optimize()
435 RELATIVE_ADDR_SIZE); in arch_optimize_kprobes()
454 memcpy(insn_buff + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in arch_unoptimize_kprobe()