Searched full:ppc_inst (Results 1 – 7 of 7) sorted by relevance
| /linux/arch/powerpc/kernel/trace/ |
| H A D | ftrace.c | 356 old = ppc_inst(PPC_RAW_NOP()); in ftrace_make_call() 372 ret = ftrace_modify_code(rec->ip, ppc_inst(PPC_RAW_NOP()), in ftrace_make_call() 373 ppc_inst(PPC_RAW_BRANCH((long)ftrace_get_ool_stub(rec) - (long)rec->ip))); in ftrace_make_call() 391 ppc_inst_t nop_inst = ppc_inst(PPC_RAW_NOP()); in ftrace_replace_code() 446 call_inst = ppc_inst(PPC_RAW_BRANCH((long)ftrace_get_ool_stub(rec) - in ftrace_replace_code() 448 nop_inst = ppc_inst(PPC_RAW_NOP()); in ftrace_replace_code() 480 ret = ftrace_validate_inst(ip - 4, ppc_inst(PPC_RAW_NOP())); in ftrace_init_nop() 482 ret = ftrace_validate_inst(ip, ppc_inst(PPC_RAW_NOP())); in ftrace_init_nop() 485 ret = ftrace_validate_inst(ip - 8, ppc_inst(PPC_RAW_MFLR(_R0))); in ftrace_init_nop() 488 ret = ftrace_modify_code(ip - 4, ppc_inst(PPC_RAW_STW(_R0, _R1, 4)), in ftrace_init_nop() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 640 ppc_inst(ppc64_stub_insns[i]))) in create_stub() 672 ppc_inst(entry->jump[0] | PPC_HA(reladdr)))) in create_stub() 676 ppc_inst(entry->jump[1] | PPC_LO(reladdr)))) in create_stub() 771 if (!instr_is_relative_link_branch(ppc_inst(*prev_insn))) in restore_r2() 790 return patch_instruction(instruction, ppc_inst(PPC_INST_LD_TOC)); in restore_r2() 938 if (patch_instruction((u32 *)location, ppc_inst(value))) in apply_relocate_add()
|
| H A D | hw_breakpoint_constraints.c | 100 if (unlikely(ppc_inst_equal(instr, ppc_inst(0)))) { in wp_check_constraints()
|
| H A D | hw_breakpoint.c | 386 ppc_inst_t instr = ppc_inst(0); in hw_breakpoint_handler() 417 ppc_inst_equal(instr, ppc_inst(0))) { in hw_breakpoint_handler()
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 1326 old_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1330 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1354 old_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1363 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1397 old_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1400 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kvm_ppc.h | 340 *inst = ppc_inst(KVM_INST_FETCH_FAILED); in kvmppc_get_last_inst() 361 *inst = ppc_inst(fetched_inst); in kvmppc_get_last_inst()
|
| /linux/arch/powerpc/lib/ |
| H A D | code-patching.c | 624 *instr = ppc_inst(0x40000000 | (flags & 0x3FF0003) | (offset & 0xFFFC)); in create_cond_branch()
|