Searched refs:create_branch (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/arch/powerpc/lib/ |
D | test-code-patching.c | 73 err = create_branch(&instr, iptr, addr, BRANCH_SET_LINK); in test_branch_iform() 78 err = create_branch(&instr, iptr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform() 83 err = create_branch(&instr, iptr, addr + 0x100, 0); in test_branch_iform() 88 err = create_branch(&instr, iptr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform() 93 err = create_branch(&instr, iptr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform() 97 err = create_branch(&instr, iptr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform() 101 err = create_branch(&instr, iptr, addr + 3, BRANCH_SET_LINK); in test_branch_iform() 105 err = create_branch(&instr, iptr, addr, 0xFFFFFFFC); in test_branch_iform() 120 create_branch(&instr, iptr, dest, BRANCH_SET_LINK); in test_create_function_call() 218 create_branch(&instr, p, addr, 0); in test_translate_branch() [all …]
|
D | code-patching.c | 219 if (create_branch(&instr, addr, target, flags)) in patch_branch() 327 return create_branch(instr, dest, target, in translate_branch()
|
/linux-6.1.9/arch/powerpc/kernel/ |
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() 278 create_branch(&instr, op->kp.addr, (unsigned long)op->optinsn.insn, 0); in arch_optimize_kprobes()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | code-patching.h | 54 static inline int create_branch(ppc_inst_t *instr, const u32 *addr, in create_branch() function
|
/linux-6.1.9/arch/powerpc/kernel/trace/ |
D | ftrace.c | 48 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_call_replace()
|