Lines Matching refs:old
102 int old = atomic_read(&nmi_running); in clear_mod_flag() local
105 int new = old & ~MOD_CODE_WRITE_FLAG; in clear_mod_flag()
107 if (old == new) in clear_mod_flag()
110 old = atomic_cmpxchg(&nmi_running, old, new); in clear_mod_flag()
225 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func() local
227 memcpy(old, (unsigned char *)ip, MCOUNT_INSN_SIZE); in ftrace_update_ftrace_func()
230 return ftrace_modify_code(ip, old, new); in ftrace_update_ftrace_func()
236 unsigned char *new, *old; in ftrace_make_nop() local
239 old = ftrace_call_replace(ip, addr); in ftrace_make_nop()
242 return ftrace_modify_code(rec->ip, old, new); in ftrace_make_nop()
247 unsigned char *new, *old; in ftrace_make_call() local
250 old = ftrace_nop_replace(ip); in ftrace_make_call()
253 return ftrace_modify_code(rec->ip, old, new); in ftrace_make_call()
318 unsigned long old; in prepare_ftrace_return() local
352 : "=&r" (old), "=r" (faulted) in prepare_ftrace_return()
362 if (function_graph_enter(old, self_addr, 0, NULL)) in prepare_ftrace_return()
363 __raw_writel(old, parent); in prepare_ftrace_return()