Home
last modified time | relevance | path

Searched refs:BRANCH_SET_LINK (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/powerpc/lib/
Dcode-patching.c311 return instr_is_relative_branch(instr) && (instr & BRANCH_SET_LINK); in instr_is_relative_link_branch()
446 instr = create_branch(&instr, addr, BRANCH_SET_LINK); in test_branch_iform()
450 instr = create_branch(&instr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform()
458 instr = create_branch(&instr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
462 instr = create_branch(&instr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform()
466 instr = create_branch(&instr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
470 instr = create_branch(&instr, addr + 3, BRANCH_SET_LINK); in test_branch_iform()
487 patch_instruction(iptr, create_branch(iptr, dest, BRANCH_SET_LINK)); in test_create_function_call()
525 flags = 0x3ff000 | BRANCH_SET_LINK; in test_branch_bform()
604 patch_branch(p, addr, BRANCH_SET_LINK); in test_translate_branch()
[all …]
Dfeature-fixups.c152 BRANCH_SET_LINK); in do_stf_entry_barrier_fixups()
/Linux-v5.4/arch/powerpc/kernel/trace/
Dftrace.c560 if (!create_branch(ip, tramp, BRANCH_SET_LINK)) {
565 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
598 rec->arch.mod->arch.tramp, BRANCH_SET_LINK);
653 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) {
751 if (patch_branch((unsigned int *)ip, addr, BRANCH_SET_LINK)) {
779 if (!create_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) {
784 if (patch_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) {
/Linux-v5.4/arch/powerpc/kernel/
Doptprobes.c256 BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
260 BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
Dsecurity.c390 (u64)&flush_count_cache, BRANCH_SET_LINK); in toggle_count_cache_flush()
/Linux-v5.4/arch/powerpc/platforms/86xx/
Dmpc86xx_smp.c75 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
/Linux-v5.4/arch/powerpc/include/asm/
Dcode-patching.h21 #define BRANCH_SET_LINK 0x1 macro
/Linux-v5.4/arch/powerpc/platforms/powermac/
Dsmp.c818 patch_branch(vector, target, BRANCH_SET_LINK); in smp_core99_kick_cpu()