Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/include/asm/
Dkprobes.h39 #define RELATIVE_ADDR_SIZE 4 macro
55 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
84 kprobe_opcode_t copied_insn[RELATIVE_ADDR_SIZE];
/linux-4.1.27/arch/x86/kernel/kprobes/
Dopt.c70 memcpy(buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in __recover_optprobed_insn()
73 memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); in __recover_optprobed_insn()
275 RELATIVE_ADDR_SIZE)) in can_optimize()
397 RELATIVE_ADDR_SIZE); in arch_optimize_kprobes()
416 memcpy(insn_buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in arch_unoptimize_kprobe()