Home
last modified time | relevance | path

Searched refs:TMPL_END_IDX (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/arch/x86/kernel/kprobes/
Dopt.c171 #define TMPL_END_IDX \ macro
389 int len = TMPL_END_IDX + op->optinsn.size + JMP32_INSN_SIZE; in __arch_remove_optimized_kprobe()
442 memcpy(buf, optprobe_template_entry, TMPL_END_IDX); in arch_prepare_optimized_kprobe()
445 ret = copy_optimized_instructions(buf + TMPL_END_IDX, op->kp.addr, in arch_prepare_optimized_kprobe()
446 slot + TMPL_END_IDX); in arch_prepare_optimized_kprobe()
450 len = TMPL_END_IDX + op->optinsn.size; in arch_prepare_optimized_kprobe()
568 regs->ip = (unsigned long)op->optinsn.insn + TMPL_END_IDX; in setup_detour_execution()
/linux-5.19.10/arch/arm/probes/kprobes/
Dopt-arm.c91 #define TMPL_END_IDX \ macro
238 TMPL_END_IDX * sizeof(kprobe_opcode_t)); in NOKPROBE_SYMBOL()
284 (unsigned long)(&code[TMPL_END_IDX])); in NOKPROBE_SYMBOL()
/linux-5.19.10/arch/powerpc/kernel/
Doptprobes.c26 #define TMPL_END_IDX (optprobe_template_end - optprobe_template_entry) macro
192 size = (TMPL_END_IDX * sizeof(kprobe_opcode_t)) / sizeof(int); in arch_prepare_optimized_kprobe()
239 flush_icache_range((unsigned long)buff, (unsigned long)(&buff[TMPL_END_IDX])); in arch_prepare_optimized_kprobe()