Home
last modified time | relevance | path

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

/linux/arch/powerpc/lib/
H A Dcode-patching.c63 static int map_patch_area(void *addr, unsigned long text_poke_addr);
239 static int map_patch_area(void *addr, unsigned long text_poke_addr) in map_patch_area() argument
243 return map_kernel_page(text_poke_addr, (pfn << PAGE_SHIFT), PAGE_KERNEL); in map_patch_area()
285 unsigned long text_poke_addr; in __do_patch_mem_mm() local
293 text_poke_addr = __this_cpu_read(cpu_patching_context.addr); in __do_patch_mem_mm()
294 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_mem_mm()
296 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in __do_patch_mem_mm()
300 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_mem_mm()
315 pte_clear(patching_mm, text_poke_addr, pte); in __do_patch_mem_mm()
320 local_flush_tlb_page_psize(patching_mm, text_poke_addr, mmu_virtual_psize); in __do_patch_mem_mm()
[all …]