Home
last modified time | relevance | path

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

/linux/arch/powerpc/lib/
H A Dcode-patching.c237 unsigned long text_poke_addr;
245 text_poke_addr = __this_cpu_read(cpu_patching_context.addr);
246 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in unmap_patch_area()
248 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in unmap_patch_area()
252 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in unmap_patch_area()
267 pte_clear(patching_mm, text_poke_addr, pte); in unmap_patch_area()
272 local_flush_tlb_page_psize(patching_mm, text_poke_addr, mmu_virtual_psize); in unmap_patch_area()
283 unsigned long text_poke_addr; in __do_patch_mem_mm()
287 text_poke_addr = (unsigned long)__this_cpu_read(cpu_patching_context.addr) & PAGE_MASK; in __do_patch_mem_mm()
288 patch_addr = (u32 *)(text_poke_addr in __do_patch_mem_mm()
239 map_patch_area(void * addr,unsigned long text_poke_addr) map_patch_area() argument
285 unsigned long text_poke_addr; __do_patch_mem_mm() local
331 unsigned long text_poke_addr; __do_patch_mem() local
472 unsigned long text_poke_addr; __do_patch_instructions_mm() local
522 unsigned long text_poke_addr; __do_patch_instructions() local
[all...]
/linux/arch/x86/kernel/
H A Dalternative.c2824 static __always_inline void *text_poke_addr(const struct smp_text_poke_loc *tpl) in text_poke_addr() function
2831 if (tpl_a < text_poke_addr(tpl_b)) in patch_cmp()
2833 if (tpl_a > text_poke_addr(tpl_b)) in patch_cmp()
2876 if (text_poke_addr(tpl) != ip) in smp_text_poke_int3_handler()
2979 text_poke_array.vec[i].old = *(u8 *)text_poke_addr(&text_poke_array.vec[i]); in smp_text_poke_batch_finish()
2980 text_poke(text_poke_addr(&text_poke_array.vec[i]), &int3, INT3_INSN_SIZE); in smp_text_poke_batch_finish()
2996 text_poke_addr(&text_poke_array.vec[i]) + INT3_INSN_SIZE, in smp_text_poke_batch_finish()
3005 text_poke(text_poke_addr(&text_poke_array.vec[i]) + INT3_INSN_SIZE, in smp_text_poke_batch_finish()
3036 perf_event_text_poke(text_poke_addr(&text_poke_array.vec[i]), old, len, new, len); in smp_text_poke_batch_finish()
3061 text_poke(text_poke_addr(&text_poke_array.vec[i]), &byte, INT3_INSN_SIZE); in smp_text_poke_batch_finish()
[all …]