Lines Matching refs:MCOUNT_INSN_SIZE
27 static unsigned char ftrace_replaced_code[MCOUNT_INSN_SIZE];
50 __raw_writel(ip + MCOUNT_INSN_SIZE, ftrace_nop); in ftrace_nop_replace()
123 MCOUNT_INSN_SIZE); in ftrace_mod_code()
195 unsigned char replaced[MCOUNT_INSN_SIZE]; in ftrace_modify_code()
206 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
210 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
217 flush_icache_range(ip, ip + MCOUNT_INSN_SIZE); in ftrace_modify_code()
225 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func()
227 memcpy(old, (unsigned char *)ip, MCOUNT_INSN_SIZE); in ftrace_update_ftrace_func()
269 unsigned char code[MCOUNT_INSN_SIZE]; in ftrace_mod()
271 if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_mod()