Searched refs:RELATIVEJUMP_SIZE (Results 1 – 7 of 7) sorted by relevance
54 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()
412 MAX_INSN_SIZE - len >= RELATIVEJUMP_SIZE) { in prepare_boost()419 len += RELATIVEJUMP_SIZE; in prepare_boost()
69 #define RELATIVEJUMP_SIZE 4 macro76 #define MAX_COPIED_INSN DIV_ROUND_UP(RELATIVEJUMP_SIZE, sizeof(kprobe_opcode_t))
42 #define RELATIVEJUMP_SIZE 5 macro63 MAX_OPTIMIZED_LENGTH + RELATIVEJUMP_SIZE)
317 RELATIVEJUMP_SIZE); in arch_optimize_kprobes()366 (unsigned long)op->kp.addr + RELATIVEJUMP_SIZE > addr); in arch_within_optimized_kprobe()
62 #define RELATIVEJUMP_SIZE sizeof(kprobe_opcode_t) /* 4 bytes */ macro
321 RELATIVEJUMP_SIZE); in arch_optimize_kprobes()350 (unsigned long)op->kp.addr + RELATIVEJUMP_SIZE > addr); in arch_within_optimized_kprobe()