Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/lib/
Dcode-patching.c288 struct mm_struct *patching_mm; in __do_patch_mem_mm() local
292 patching_mm = __this_cpu_read(cpu_patching_context.mm); 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()
308 orig_mm = start_using_temp_mm(patching_mm); in __do_patch_mem_mm()
313 stop_using_temp_mm(patching_mm, orig_mm); 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()
470 struct mm_struct *patching_mm, *orig_mm; in __do_patch_instructions_mm() local
478 patching_mm = __this_cpu_read(cpu_patching_context.mm); in __do_patch_instructions_mm()
[all …]