Lines Matching refs:ftrace_modify_code
72 static int ftrace_modify_code(unsigned long addr, unsigned int value) in ftrace_modify_code() function
144 ret = ftrace_modify_code(rec->ip, MICROBLAZE_NOP); in ftrace_make_nop()
145 ret += ftrace_modify_code(rec->ip + 4, MICROBLAZE_NOP); in ftrace_make_nop()
147 ret = ftrace_modify_code(rec->ip, MICROBLAZE_BRI); in ftrace_make_nop()
158 ret = ftrace_modify_code(rec->ip, imm); in ftrace_make_call()
161 ret += ftrace_modify_code(rec->ip + 4, bralid); in ftrace_make_call()
181 ret = ftrace_modify_code(ip, upper); in ftrace_update_ftrace_func()
182 ret += ftrace_modify_code(ip + 4, lower); in ftrace_update_ftrace_func()
185 ret += ftrace_modify_code((unsigned long)&ftrace_caller, in ftrace_update_ftrace_func()
200 ret = ftrace_modify_code(ip, MICROBLAZE_NOP); in ftrace_enable_ftrace_graph_caller()
211 ret = ftrace_modify_code(ip, old_jump); in ftrace_disable_ftrace_graph_caller()