Home
last modified time | relevance | path

Searched refs:BRANCH_SET_LINK (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/arch/powerpc/lib/
H A 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()
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()
120 create_branch(&instr, iptr, dest, BRANCH_SET_LINK); in test_create_function_call()
162 flags = 0x3ff000 | BRANCH_SET_LINK; in test_branch_bform()
253 create_branch(&instr, p, addr, BRANCH_SET_LINK); in test_translate_branch()
313 create_cond_branch(&instr, p, addr, BRANCH_SET_LINK); in test_translate_branch()
[all...]
H A Dcode-patching.c442 return instr_is_relative_branch(instr) && (ppc_inst_val(instr) & BRANCH_SET_LINK); in instr_is_relative_link_branch()
H A Dfeature-fixups.c172 patch_branch(dest + 1, (unsigned long)fallback, BRANCH_SET_LINK); in do_patch_entry_fixups()
/kernel/linux/linux-5.10/arch/powerpc/lib/
H A Dcode-patching.c325 return instr_is_relative_branch(instr) && (ppc_inst_val(instr) & BRANCH_SET_LINK); in instr_is_relative_link_branch()
464 err = create_branch(&instr, &instr, addr, BRANCH_SET_LINK); in test_branch_iform()
468 err = create_branch(&instr, &instr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform()
476 err = create_branch(&instr, &instr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
480 err = create_branch(&instr, &instr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform()
484 err = create_branch(&instr, &instr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
488 err = create_branch(&instr, &instr, addr + 3, BRANCH_SET_LINK); in test_branch_iform()
506 create_branch(&instr, iptr, dest, BRANCH_SET_LINK); in test_create_function_call()
547 flags = 0x3ff000 | BRANCH_SET_LINK; in test_branch_bform()
630 patch_branch(p, addr, BRANCH_SET_LINK); in test_translate_branch()
[all...]
H A Dfeature-fixups.c158 BRANCH_SET_LINK); in do_stf_entry_barrier_fixups()
339 BRANCH_SET_LINK); in __do_entry_flush_fixups()
357 BRANCH_SET_LINK); in __do_entry_flush_fixups()
/kernel/linux/linux-5.10/arch/powerpc/kernel/trace/
H A Dftrace.c571 if (create_branch(&instr, ip, tramp, BRANCH_SET_LINK)) {
576 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
610 rec->arch.mod->arch.tramp, BRANCH_SET_LINK);
665 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
763 if (patch_branch((struct ppc_inst *)ip, addr, BRANCH_SET_LINK)) {
791 if (create_branch(&op, (struct ppc_inst *)ip, tramp, BRANCH_SET_LINK)) {
796 if (patch_branch((struct ppc_inst *)ip, tramp, BRANCH_SET_LINK)) {
/kernel/linux/linux-6.6/arch/powerpc/kernel/trace/
H A Dftrace_64_pg.c48 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_call_replace()
451 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { in __ftrace_make_call()
501 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { in __ftrace_make_call_kernel()
598 if (patch_branch((u32 *)ip, addr, BRANCH_SET_LINK)) { in __ftrace_modify_call()
625 if (patch_branch((u32 *)ip, tramp, BRANCH_SET_LINK)) { in __ftrace_modify_call()
H A Dftrace.c39 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_create_branch_inst()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Doptprobes.c217 op_callback_addr, BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
220 emulate_step_addr, BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
H A Dsecurity.c450 patch_branch_site(site, (u64)&kvm_flush_link_stack, BRANCH_SET_LINK); in update_branch_cache_flush()
451 patch_branch_site(site2, (u64)&kvm_flush_link_stack, BRANCH_SET_LINK); in update_branch_cache_flush()
479 patch_branch_site(site, (u64)&flush_branch_caches, BRANCH_SET_LINK); in update_branch_cache_flush()
/kernel/linux/linux-5.10/arch/powerpc/platforms/86xx/
H A Dmpc86xx_smp.c76 patch_branch((struct ppc_inst *)vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
/kernel/linux/linux-6.6/arch/powerpc/platforms/86xx/
H A Dmpc86xx_smp.c76 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsecurity.c447 patch_branch_site(site, (u64)&kvm_flush_link_stack, BRANCH_SET_LINK); in update_branch_cache_flush()
475 patch_branch_site(site, (u64)&flush_branch_caches, BRANCH_SET_LINK); in update_branch_cache_flush()
H A Doptprobes.c267 BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
272 BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dcode-patching.h19 * "bl" == create_branch(addr, target, BRANCH_SET_LINK);
20 * "bla" == create_branch(addr, target, BRANCH_ABSOLUTE | BRANCH_SET_LINK);
22 #define BRANCH_SET_LINK 0x1 macro
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dcode-patching.h19 * "bl" == create_branch(addr, target, BRANCH_SET_LINK);
20 * "bla" == create_branch(addr, target, BRANCH_ABSOLUTE | BRANCH_SET_LINK);
22 #define BRANCH_SET_LINK 0x1 macro
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A Dsmp.c813 patch_branch((struct ppc_inst *)vector, target, BRANCH_SET_LINK); in smp_core99_kick_cpu()
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/
H A Dsmp.c815 patch_branch(vector, target, BRANCH_SET_LINK); in smp_core99_kick_cpu()

Completed in 13 milliseconds