Searched refs:BRANCH_SET_LINK (Results 1 – 10 of 10) sorted by relevance
/linux/arch/powerpc/lib/ |
H A 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() 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()
|
H A D | code-patching.c | 637 return instr_is_relative_branch(instr) && (ppc_inst_val(instr) & BRANCH_SET_LINK); in instr_is_relative_link_branch()
|
H A D | feature-fixups.c | 179 patch_branch(dest + 1, (unsigned long)fallback, BRANCH_SET_LINK); in do_patch_entry_fixups()
|
/linux/arch/powerpc/kernel/trace/ |
H A D | ftrace_64_pg.c | 53 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_call_replace() 456 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { in __ftrace_make_call() 506 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { in __ftrace_make_call_kernel() 603 if (patch_branch((u32 *)ip, addr, BRANCH_SET_LINK)) { in __ftrace_modify_call() 630 if (patch_branch((u32 *)ip, tramp, BRANCH_SET_LINK)) { in __ftrace_modify_call()
|
H A D | ftrace.c | 51 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_create_branch_inst()
|
/linux/arch/powerpc/kernel/ |
H A D | optprobes.c | 217 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 D | security.c | 450 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()
|
/linux/arch/powerpc/platforms/86xx/ |
H A D | mpc86xx_smp.c | 76 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
|
/linux/arch/powerpc/include/asm/ |
H A D | code-patching.h | 22 #define BRANCH_SET_LINK 0x1 macro
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 817 patch_branch(vector, target, BRANCH_SET_LINK); in smp_core99_kick_cpu()
|