Home
last modified time | relevance | path

Searched refs:old_code (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/x86/kernel/
Dftrace.c75 static int ftrace_verify_code(unsigned long ip, const char *old_code) in ftrace_verify_code() argument
93 if (memcmp(cur_code, old_code, MCOUNT_INSN_SIZE) != 0) { in ftrace_verify_code()
94 ftrace_expected = old_code; in ftrace_verify_code()
108 ftrace_modify_code_direct(unsigned long ip, const char *old_code, in ftrace_modify_code_direct() argument
111 int ret = ftrace_verify_code(ip, old_code); in ftrace_modify_code_direct()
/linux-6.1.9/arch/ia64/kernel/
Dftrace.c94 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-6.1.9/arch/sh/kernel/
Dftrace.c192 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()