Searched refs:old_code (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/arch/x86/kernel/ |
D | ftrace.c | 79 static int ftrace_verify_code(unsigned long ip, const char *old_code) in ftrace_verify_code() argument 97 if (memcmp(cur_code, old_code, MCOUNT_INSN_SIZE) != 0) { in ftrace_verify_code() 98 ftrace_expected = old_code; in ftrace_verify_code() 112 ftrace_modify_code_direct(unsigned long ip, const char *old_code, in ftrace_modify_code_direct() argument 115 int ret = ftrace_verify_code(ip, old_code); in ftrace_modify_code_direct()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | ftrace.c | 94 ftrace_modify_code(unsigned long ip, unsigned char *old_code, in ftrace_modify_code() argument 115 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code()
|
/Linux-v6.6/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()
|