Home
last modified time | relevance | path

Searched refs:RELATIVEJUMP_SIZE (Results 1 – 5 of 5) sorted by relevance

/arch/x86/kernel/kprobes/
Dopt.c50 for (i = 0; i < RELATIVEJUMP_SIZE; i++) { in __recover_optprobed_insn()
179 while (len < RELATIVEJUMP_SIZE) { in copy_optimized_instructions()
269 if (size - offset < RELATIVEJUMP_SIZE) in can_optimize()
366 rel = (long)op->optinsn.insn - (long)op->kp.addr + RELATIVEJUMP_SIZE; in arch_prepare_optimized_kprobe()
400 op->optinsn.size + RELATIVEJUMP_SIZE); in arch_prepare_optimized_kprobe()
411 u8 insn_buf[RELATIVEJUMP_SIZE]; in arch_optimize_kprobes()
415 ((long)op->kp.addr + RELATIVEJUMP_SIZE)); in arch_optimize_kprobes()
426 text_poke_bp(op->kp.addr, insn_buf, RELATIVEJUMP_SIZE, in arch_optimize_kprobes()
436 u8 insn_buf[RELATIVEJUMP_SIZE]; in arch_unoptimize_kprobe()
441 text_poke_bp(op->kp.addr, insn_buf, RELATIVEJUMP_SIZE, in arch_unoptimize_kprobe()
Dcore.c422 MAX_INSN_SIZE - length >= RELATIVEJUMP_SIZE) { in prepare_boost()
/arch/arm/include/asm/
Dkprobes.h68 #define RELATIVEJUMP_SIZE 4 macro
75 #define MAX_COPIED_INSN DIV_ROUND_UP(RELATIVEJUMP_SIZE, sizeof(kprobe_opcode_t))
/arch/x86/include/asm/
Dkprobes.h37 #define RELATIVEJUMP_SIZE 5 macro
59 MAX_OPTIMIZED_LENGTH + RELATIVEJUMP_SIZE)
/arch/arm/probes/kprobes/
Dopt-arm.c317 RELATIVEJUMP_SIZE); in arch_optimize_kprobes()
366 (unsigned long)op->kp.addr + RELATIVEJUMP_SIZE > addr); in arch_within_optimized_kprobe()