Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/lib/
Dcode-patching.c23 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()