Searched refs:old_code (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/x86/kernel/ |
D | ftrace.c | 80 static int ftrace_verify_code(unsigned long ip, const char *old_code) in ftrace_verify_code() argument 98 if (memcmp(cur_code, old_code, MCOUNT_INSN_SIZE) != 0) { in ftrace_verify_code() 99 ftrace_expected = old_code; in ftrace_verify_code() 113 ftrace_modify_code_direct(unsigned long ip, const char *old_code, in ftrace_modify_code_direct() argument 116 int ret = ftrace_verify_code(ip, old_code); in ftrace_modify_code_direct()
|
/linux-6.12.1/arch/sh/kernel/ |
D | ftrace.c | 192 static int ftrace_modify_code(unsigned long ip, unsigned char *old_code, in ftrace_modify_code() argument 210 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
|