Lines Matching refs:old
26 static int ftrace_modify_code(unsigned long ip, u32 old, u32 new) in ftrace_modify_code() argument
47 : [new] "0" (new), [old] "r" (old), [ip] "r" (ip) in ftrace_modify_code()
50 if (replaced != old && replaced != new) in ftrace_modify_code()
59 u32 old, new; in ftrace_make_nop() local
61 old = ftrace_call_replace(ip, addr); in ftrace_make_nop()
63 return ftrace_modify_code(ip, old, new); in ftrace_make_nop()
69 u32 old, new; in ftrace_make_call() local
71 old = ftrace_nop; in ftrace_make_call()
73 return ftrace_modify_code(ip, old, new); in ftrace_make_call()
79 u32 old, new; in ftrace_update_ftrace_func() local
81 old = *(u32 *) &ftrace_call; in ftrace_update_ftrace_func()
83 return ftrace_modify_code(ip, old, new); in ftrace_update_ftrace_func()
95 u32 old, new; in ftrace_enable_ftrace_graph_caller() local
97 old = *(u32 *) &ftrace_graph_call; in ftrace_enable_ftrace_graph_caller()
99 return ftrace_modify_code(ip, old, new); in ftrace_enable_ftrace_graph_caller()
105 u32 old, new; in ftrace_disable_ftrace_graph_caller() local
107 old = *(u32 *) &ftrace_graph_call; in ftrace_disable_ftrace_graph_caller()
110 return ftrace_modify_code(ip, old, new); in ftrace_disable_ftrace_graph_caller()