Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/kprobes/
Dopt.c54 for (i = 0; i < RELATIVEJUMP_SIZE; i++) { in __recover_optprobed_insn()
191 while (len < RELATIVEJUMP_SIZE) { in copy_optimized_instructions()
283 if (size - offset < RELATIVEJUMP_SIZE) in can_optimize()
386 rel = (long)slot - (long)op->kp.addr + RELATIVEJUMP_SIZE; in arch_prepare_optimized_kprobe()
413 len += RELATIVEJUMP_SIZE; in arch_prepare_optimized_kprobe()
434 u8 insn_buf[RELATIVEJUMP_SIZE]; in arch_optimize_kprobes()
438 ((long)op->kp.addr + RELATIVEJUMP_SIZE)); in arch_optimize_kprobes()
449 text_poke_bp(op->kp.addr, insn_buf, RELATIVEJUMP_SIZE, in arch_optimize_kprobes()
459 u8 insn_buf[RELATIVEJUMP_SIZE]; in arch_unoptimize_kprobe()
464 text_poke_bp(op->kp.addr, insn_buf, RELATIVEJUMP_SIZE, in arch_unoptimize_kprobe()
Dcore.c412 MAX_INSN_SIZE - len >= RELATIVEJUMP_SIZE) { in prepare_boost()
419 len += RELATIVEJUMP_SIZE; in prepare_boost()
/Linux-v4.19/arch/arm/include/asm/
Dkprobes.h69 #define RELATIVEJUMP_SIZE 4 macro
76 #define MAX_COPIED_INSN DIV_ROUND_UP(RELATIVEJUMP_SIZE, sizeof(kprobe_opcode_t))
/Linux-v4.19/arch/x86/include/asm/
Dkprobes.h42 #define RELATIVEJUMP_SIZE 5 macro
63 MAX_OPTIMIZED_LENGTH + RELATIVEJUMP_SIZE)
/Linux-v4.19/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()
/Linux-v4.19/arch/powerpc/include/asm/
Dkprobes.h62 #define RELATIVEJUMP_SIZE sizeof(kprobe_opcode_t) /* 4 bytes */ macro
/Linux-v4.19/arch/powerpc/kernel/
Doptprobes.c321 RELATIVEJUMP_SIZE); in arch_optimize_kprobes()
350 (unsigned long)op->kp.addr + RELATIVEJUMP_SIZE > addr); in arch_within_optimized_kprobe()