Searched refs:create_branch (Results 1 – 4 of 4) sorted by relevance
/linux/arch/powerpc/lib/ |
A D | code-patching.c | 205 create_branch(&instr, addr, target, flags); in patch_branch() 258 int create_branch(struct ppc_inst *instr, const u32 *addr, in create_branch() function 373 return create_branch(instr, dest, target, in translate_branch() 460 err = create_branch(&instr, iptr, addr, BRANCH_SET_LINK); in test_branch_iform() 465 err = create_branch(&instr, iptr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform() 470 err = create_branch(&instr, iptr, addr + 0x100, 0); in test_branch_iform() 475 err = create_branch(&instr, iptr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform() 480 err = create_branch(&instr, iptr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform() 488 err = create_branch(&instr, iptr, addr + 3, BRANCH_SET_LINK); in test_branch_iform() 492 err = create_branch(&instr, iptr, addr, 0xFFFFFFFC); in test_branch_iform() [all …]
|
/linux/arch/powerpc/kernel/trace/ |
A D | ftrace.c | 52 create_branch(&op, (u32 *)ip, addr, link ? 1 : 0); in ftrace_call_replace() 97 return create_branch(&op, (u32 *)ip, addr, 0) == 0; in test_24bit_addr() 303 else if (create_branch(&instr, (void *)ip, in find_ftrace_tramp() 377 if (create_branch(&instr, (void *)tramp, ptr, 0)) { in setup_mcount_compiler_tramp() 573 if (create_branch(&instr, ip, tramp, BRANCH_SET_LINK)) { 611 err = create_branch(&op, ip, rec->arch.mod->arch.tramp, BRANCH_SET_LINK); 792 if (create_branch(&op, (u32 *)ip, tramp, BRANCH_SET_LINK)) {
|
/linux/arch/powerpc/kernel/ |
A D | optprobes.c | 216 rc = create_branch(&branch_op_callback, buff + TMPL_CALL_HDLR_IDX, in arch_prepare_optimized_kprobe() 219 rc |= create_branch(&branch_emulate_step, buff + TMPL_EMULATE_IDX, in arch_prepare_optimized_kprobe() 282 create_branch(&instr, op->kp.addr, (unsigned long)op->optinsn.insn, 0); in arch_optimize_kprobes()
|
/linux/arch/powerpc/include/asm/ |
A D | code-patching.h | 27 int create_branch(struct ppc_inst *instr, const u32 *addr,
|
Completed in 8 milliseconds