Lines Matching full:new
26 static int ftrace_modify_code(unsigned long ip, u32 old, u32 new) in ftrace_modify_code() argument
32 "1: cas [%[ip]], %[old], %[new]\n" in ftrace_modify_code()
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
62 new = ftrace_nop; 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
72 new = ftrace_call_replace(ip, addr); 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
82 new = ftrace_call_replace(ip, (unsigned long)func); in ftrace_update_ftrace_func()
83 return ftrace_modify_code(ip, old, new); in ftrace_update_ftrace_func()
100 u32 old, new; in ftrace_enable_ftrace_graph_caller() local
103 new = ftrace_call_replace(ip, (unsigned long) &ftrace_graph_caller); in ftrace_enable_ftrace_graph_caller()
104 return ftrace_modify_code(ip, old, new); in ftrace_enable_ftrace_graph_caller()
110 u32 old, new; in ftrace_disable_ftrace_graph_caller() local
113 new = ftrace_call_replace(ip, (unsigned long) &ftrace_stub); in ftrace_disable_ftrace_graph_caller()
115 return ftrace_modify_code(ip, old, new); in ftrace_disable_ftrace_graph_caller()