Lines Matching refs:new
78 unsigned long new, bool validate) in ftrace_modify_code() argument
96 __patch_text((void *)pc, new); in ftrace_modify_code()
104 unsigned long new; in ftrace_update_ftrace_func() local
108 new = ftrace_call_replace(pc, (unsigned long)func, true); in ftrace_update_ftrace_func()
110 ret = ftrace_modify_code(pc, 0, new, false); in ftrace_update_ftrace_func()
115 new = ftrace_call_replace(pc, (unsigned long)func, true); in ftrace_update_ftrace_func()
117 ret = ftrace_modify_code(pc, 0, new, false); in ftrace_update_ftrace_func()
126 unsigned long new, old; in ftrace_make_call() local
137 new = ftrace_call_replace(ip, aaddr, !mod); in ftrace_make_call()
139 if (!new && mod) { in ftrace_make_call()
141 new = ftrace_call_replace(ip, aaddr, true); in ftrace_make_call()
145 return ftrace_modify_code(rec->ip, old, new, true); in ftrace_make_call()
153 unsigned long new, old; in ftrace_modify_call() local
158 new = ftrace_call_replace(ip, adjust_address(rec, addr), true); in ftrace_modify_call()
160 return ftrace_modify_code(rec->ip, old, new, true); in ftrace_modify_call()
171 unsigned long new; in ftrace_make_nop() local
191 new = ftrace_nop_replace(rec); in ftrace_make_nop()
192 ret = ftrace_modify_code(ip, old, new, true); in ftrace_make_nop()
235 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller() local
237 return ftrace_modify_code(pc, old, new, true); in __ftrace_modify_caller()