Lines Matching refs:MCOUNT_INSN_SIZE
26 static unsigned char ftrace_replaced_code[MCOUNT_INSN_SIZE];
49 __raw_writel(ip + MCOUNT_INSN_SIZE, ftrace_nop); in ftrace_nop_replace()
135 MCOUNT_INSN_SIZE); in ftrace_mod_code()
212 unsigned char replaced[MCOUNT_INSN_SIZE]; in ftrace_modify_code()
225 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
229 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
236 flush_icache_range(ip, ip + MCOUNT_INSN_SIZE); in ftrace_modify_code()
244 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func()
246 memcpy(old, (unsigned char *)ip, MCOUNT_INSN_SIZE); in ftrace_update_ftrace_func()
291 unsigned char code[MCOUNT_INSN_SIZE]; in ftrace_mod()
293 if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_mod()