Lines Matching refs:text_poke_addr
60 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)
243 return map_kernel_page(text_poke_addr, (pfn << PAGE_SHIFT), PAGE_KERNEL);
285 unsigned long text_poke_addr;
293 text_poke_addr = __this_cpu_read(cpu_patching_context.addr);
294 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr));
296 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl);
300 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0);
319 pte_clear(patching_mm, text_poke_addr, pte);
324 local_flush_tlb_page_psize(patching_mm, text_poke_addr, mmu_virtual_psize);
335 unsigned long text_poke_addr;
339 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK;
340 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr));
343 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0);
350 pte_clear(&init_mm, text_poke_addr, pte);
351 flush_tlb_kernel_range(text_poke_addr, text_poke_addr + PAGE_SIZE);