Home
last modified time | relevance | path

Searched refs:patch_instruction (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/lib/
Dcode-patching.c26 int patch_instruction(unsigned int *addr, unsigned int instr) in patch_instruction() function
45 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch()
53 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch_site()
61 return patch_instruction(addr, instr); in patch_instruction_site()
300 patch_instruction(iptr, create_branch(iptr, dest, BRANCH_SET_LINK)); in test_create_function_call()
391 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
399 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
409 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
419 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
428 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
[all …]
Dfeature-fixups.c64 patch_instruction(dest, instr); in patch_alt_instruction()
93 patch_instruction(dest, PPC_INST_NOP); in patch_feature_section()
150 patch_instruction(dest, instrs[0]); in do_stf_entry_barrier_fixups()
156 patch_instruction(dest + 1, instrs[1]); in do_stf_entry_barrier_fixups()
158 patch_instruction(dest + 2, instrs[2]); in do_stf_entry_barrier_fixups()
211 patch_instruction(dest, instrs[0]); in do_stf_exit_barrier_fixups()
212 patch_instruction(dest + 1, instrs[1]); in do_stf_exit_barrier_fixups()
213 patch_instruction(dest + 2, instrs[2]); in do_stf_exit_barrier_fixups()
214 patch_instruction(dest + 3, instrs[3]); in do_stf_exit_barrier_fixups()
215 patch_instruction(dest + 4, instrs[4]); in do_stf_exit_barrier_fixups()
[all …]
/arch/powerpc/kernel/
Depapr_paravirt.c52 patch_instruction(epapr_hypercall_start + i, inst); in early_init_dt_scan_epapr()
54 patch_instruction(epapr_ev_idle_start + i, inst); in early_init_dt_scan_epapr()
Djump_label.c23 patch_instruction(addr, PPC_INST_NOP); in arch_jump_label_transform()
Dftrace.c68 if (patch_instruction((unsigned int *)ip, new)) in ftrace_modify_code()
163 if (patch_instruction((unsigned int *)ip, op)) in __ftrace_make_nop()
233 if (patch_instruction((unsigned int *)ip, op)) in __ftrace_make_nop()
366 if (patch_instruction((unsigned int *)ip, op)) in __ftrace_make_call()
Dsetup_32.c122 patch_instruction((unsigned int *)&memcpy, PPC_INST_NOP); in machine_init()
123 patch_instruction(&memset_nocache_branch, PPC_INST_NOP); in machine_init()
Dcrash_dump.c49 patch_instruction(p, PPC_INST_NOP); in create_trampoline()
/arch/powerpc/platforms/powernv/
Didle.c195 err = patch_instruction( in store_fastsleep_workaround_applyonce()
214 err = patch_instruction( in store_fastsleep_workaround_applyonce()
271 patch_instruction( in pnv_init_idle_states()
274 patch_instruction( in pnv_init_idle_states()
/arch/powerpc/include/asm/
Dcode-patching.h30 int patch_instruction(unsigned int *addr, unsigned int instr);
/arch/powerpc/mm/
Dslb.c272 patch_instruction(insn_addr, insn); in patch_slb_encoding()