Home
last modified time | relevance | path

Searched refs:patch_branch (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/lib/
Dcode-patching.c203 int patch_branch(struct ppc_inst *addr, unsigned long target, int flags) in patch_branch() function
407 patch_branch((struct ppc_inst *)(ibase + (exc / 4) + 1), addr, 0); in __patch_exception()
598 patch_branch(p, addr, 0); in test_translate_branch()
608 patch_branch(p, addr, 0); in test_translate_branch()
619 patch_branch(p, addr, 0); in test_translate_branch()
630 patch_branch(p, addr, BRANCH_SET_LINK); in test_translate_branch()
640 patch_branch(p, addr, 0); in test_translate_branch()
Dfeature-fixups.c156 patch_branch((struct ppc_inst *)(dest + 1), in do_stf_entry_barrier_fixups()
338 patch_branch((struct ppc_inst *)(dest + 1), (unsigned long)&entry_flush_fallback, in __do_entry_flush_fixups()
356 patch_branch((struct ppc_inst *)(dest + 1), (unsigned long)&scv_entry_flush_fallback, in __do_entry_flush_fixups()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcode-patching.h31 int patch_branch(struct ppc_inst *addr, unsigned long target, int flags);
47 return patch_branch((struct ppc_inst *)patch_site_addr(site), target, flags); in patch_branch_site()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Djump_label.c17 patch_branch(addr, entry->target, 0); in arch_jump_label_transform()
Dcrash_dump.c49 patch_branch((void *)p + 4, addr + PHYSICAL_START, 0); in create_trampoline()
Doptprobes.c291 patch_branch((struct ppc_inst *)(buff + TMPL_RET_IDX), (unsigned long)nip, 0); in arch_prepare_optimized_kprobe()
/kernel/linux/linux-5.10/arch/powerpc/kernel/trace/
Dftrace.c383 if (patch_branch((struct ppc_inst *)tramp, ptr, 0)) { in setup_mcount_compiler_tramp()
578 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
667 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
765 if (patch_branch((struct ppc_inst *)ip, addr, BRANCH_SET_LINK)) {
798 if (patch_branch((struct ppc_inst *)ip, tramp, BRANCH_SET_LINK)) {
/kernel/linux/linux-5.10/arch/powerpc/platforms/86xx/
Dmpc86xx_smp.c76 patch_branch((struct ppc_inst *)vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dsmp.c813 patch_branch((struct ppc_inst *)vector, target, BRANCH_SET_LINK); in smp_core99_kick_cpu()