Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/lib/
Dtest-code-patching.c73 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 …]
Dcode-patching.c385 if (create_branch(&instr, addr, target, flags)) in patch_branch()
493 return create_branch(instr, dest, target, in translate_branch()
/linux-6.6.21/arch/powerpc/kernel/
Doptprobes.c216 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.6.21/arch/powerpc/include/asm/
Dcode-patching.h52 static inline int create_branch(ppc_inst_t *instr, const u32 *addr, in create_branch() function
/linux-6.6.21/arch/powerpc/kernel/trace/
Dftrace.c39 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_create_branch_inst()
Dftrace_64_pg.c48 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_call_replace()