Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/lib/
Dcode-patching.c205 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch()
213 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch_site()
268 unsigned int create_branch(const unsigned int *addr, in create_branch() function
393 return create_branch(dest, target, *src); in translate_branch()
468 instr = create_branch(&instr, addr, BRANCH_SET_LINK); in test_branch_iform()
472 instr = create_branch(&instr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform()
476 instr = create_branch(&instr, addr + 0x100, 0); in test_branch_iform()
480 instr = create_branch(&instr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
484 instr = create_branch(&instr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform()
488 instr = create_branch(&instr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
[all …]
/Linux-v4.19/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()
405 if (!create_branch(ip, tramp, BRANCH_SET_LINK)) {
442 op = create_branch((unsigned int *)ip,
576 if (!create_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) {
/Linux-v4.19/arch/powerpc/kernel/
Doptprobes.c258 branch_op_callback = create_branch((unsigned int *)buff + TMPL_CALL_HDLR_IDX, in arch_prepare_optimized_kprobe()
262 branch_emulate_step = create_branch((unsigned int *)buff + TMPL_EMULATE_IDX, in arch_prepare_optimized_kprobe()
323 create_branch((unsigned int *)op->kp.addr, in arch_optimize_kprobes()
/Linux-v4.19/arch/powerpc/include/asm/
Dcode-patching.h29 unsigned int create_branch(const unsigned int *addr,