Lines Matching refs:MCOUNT_INSN_SIZE
67 char code[MCOUNT_INSN_SIZE];
84 calc.offset = ftrace_calc_offset(ip + MCOUNT_INSN_SIZE, addr); in ftrace_call_replace()
164 MCOUNT_INSN_SIZE); in ftrace_mod_code()
272 unsigned char replaced[MCOUNT_INSN_SIZE]; in ftrace_modify_code()
285 if (probe_kernel_read(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
289 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
327 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func()
330 memcpy(old, &ftrace_call, MCOUNT_INSN_SIZE); in ftrace_update_ftrace_func()
354 unsigned char code[MCOUNT_INSN_SIZE]; in ftrace_mod_jmp()
356 if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_mod_jmp()
375 old_offset = (unsigned long)(&ftrace_stub) - (ip + MCOUNT_INSN_SIZE); in ftrace_enable_ftrace_graph_caller()
376 new_offset = (unsigned long)(&ftrace_graph_caller) - (ip + MCOUNT_INSN_SIZE); in ftrace_enable_ftrace_graph_caller()
386 old_offset = (unsigned long)(&ftrace_graph_caller) - (ip + MCOUNT_INSN_SIZE); in ftrace_disable_ftrace_graph_caller()
387 new_offset = (unsigned long)(&ftrace_stub) - (ip + MCOUNT_INSN_SIZE); in ftrace_disable_ftrace_graph_caller()