Home
last modified time | relevance | path

Searched refs:create_branch (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/lib/
Dcode-patching.c206 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch()
214 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch_site()
269 unsigned int create_branch(const unsigned int *addr, in create_branch() function
394 return create_branch(dest, target, *src); in translate_branch()
469 instr = create_branch(&instr, addr, BRANCH_SET_LINK); in test_branch_iform()
473 instr = create_branch(&instr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform()
477 instr = create_branch(&instr, addr + 0x100, 0); in test_branch_iform()
481 instr = create_branch(&instr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
485 instr = create_branch(&instr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform()
489 instr = create_branch(&instr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
[all …]
/arch/powerpc/kernel/trace/
Dftrace.c41 op = create_branch((unsigned int *)ip, addr, link ? 1 : 0); in ftrace_call_replace()
85 return create_branch((unsigned int *)ip, addr, 0); in test_24bit_addr()
378 if (!create_branch(ip, rec->arch.mod->arch.tramp, BRANCH_SET_LINK)) { in __ftrace_make_call()
423 op = create_branch((unsigned int *)ip, in __ftrace_make_call()
/arch/powerpc/kernel/
Doptprobes.c268 branch_op_callback = create_branch((unsigned int *)buff + TMPL_CALL_HDLR_IDX, in arch_prepare_optimized_kprobe()
272 branch_emulate_step = create_branch((unsigned int *)buff + TMPL_EMULATE_IDX, in arch_prepare_optimized_kprobe()
333 create_branch((unsigned int *)op->kp.addr, in arch_optimize_kprobes()
/arch/powerpc/include/asm/
Dcode-patching.h28 unsigned int create_branch(const unsigned int *addr,