Home
last modified time | relevance | path

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

/linux/arch/powerpc/lib/
H A Dcode-patching.c23 static int __patch_mem(void *exec_addr, unsigned long val, void *patch_addr, bool is_dword) in __patch_mem() argument
29 __put_kernel_nofault(patch_addr, &val32, u32, failed); in __patch_mem()
31 __put_kernel_nofault(patch_addr, &val, u64, failed); in __patch_mem()
34 asm ("dcbst 0, %0; sync; icbi 0,%1; sync; isync" :: "r" (patch_addr), in __patch_mem()
284 u32 *patch_addr; in __do_patch_mem_mm() local
294 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_mem_mm()
310 err = __patch_mem(addr, val, patch_addr, is_dword); in __do_patch_mem_mm()
330 u32 *patch_addr; in __do_patch_mem() local
336 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_mem()
344 err = __patch_mem(addr, val, patch_addr, is_dword); in __do_patch_mem()
[all …]