Searched refs:patch_addr (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/arch/powerpc/lib/ |
H A D | code-patching.c | 23 static int __patch_instruction(u32 *exec_addr, ppc_inst_t instr, u32 *patch_addr) in __patch_instruction() argument 28 __put_kernel_nofault(patch_addr, &val, u32, failed); in __patch_instruction() 32 __put_kernel_nofault(patch_addr, &val, u64, failed); in __patch_instruction() 35 asm ("dcbst 0, %0; sync; icbi 0,%1; sync; isync" :: "r" (patch_addr), in __patch_instruction() 284 u32 *patch_addr; in __do_patch_instruction_mm() local 294 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_instruction_mm() 310 err = __patch_instruction(addr, instr, patch_addr); in __do_patch_instruction_mm() 334 u32 *patch_addr; in __do_patch_instruction() local 340 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_instruction() 348 err = __patch_instruction(addr, instr, patch_addr); in __do_patch_instruction() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
H A D | code-patching.c | 22 struct ppc_inst *patch_addr) in __patch_instruction() 25 __put_user_asm_goto(ppc_inst_val(instr), patch_addr, failed, "stw"); in __patch_instruction() local 27 __put_user_asm_goto(ppc_inst_as_u64(instr), patch_addr, failed, "std"); in __patch_instruction() local 29 asm ("dcbst 0, %0; sync; icbi 0,%1; sync; isync" :: "r" (patch_addr), in __patch_instruction() 149 struct ppc_inst *patch_addr = NULL; in do_patch_instruction() local 170 patch_addr = (struct ppc_inst *)(text_poke_addr + (kaddr & ~PAGE_MASK)); in do_patch_instruction() 172 __patch_instruction(addr, instr, patch_addr); in do_patch_instruction() 21 __patch_instruction(struct ppc_inst *exec_addr, struct ppc_inst instr, struct ppc_inst *patch_addr) __patch_instruction() argument
|
Completed in 3 milliseconds