Lines Matching refs:call_inst
141 static int ftrace_get_call_inst(struct dyn_ftrace *rec, unsigned long addr, ppc_inst_t *call_inst) in ftrace_get_call_inst() argument
176 *call_inst = ftrace_create_branch_inst(ip, stub, 1); in ftrace_get_call_inst()
372 ppc_inst_t old, new, call_inst, new_call_inst; in ftrace_replace_code() local
403 ret |= ftrace_get_call_inst(rec, addr, &call_inst); in ftrace_replace_code()
405 old = call_inst; in ftrace_replace_code()
409 ret = ftrace_get_call_inst(rec, addr, &call_inst); in ftrace_replace_code()
411 old = call_inst; in ftrace_replace_code()
415 ret = ftrace_get_call_inst(rec, new_addr, &call_inst); in ftrace_replace_code()
418 new = call_inst; in ftrace_replace_code()
428 call_inst = ppc_inst(PPC_RAW_BRANCH((long)ftrace_get_ool_stub(rec) - in ftrace_replace_code()
434 ret = ftrace_modify_code(ip, call_inst, nop_inst); in ftrace_replace_code()
436 ret = ftrace_modify_code(ip, nop_inst, call_inst); in ftrace_replace_code()