Home
last modified time | relevance | path

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

/linux-6.15/arch/powerpc/lib/
H A Dcode-patching.c285 unsigned long text_poke_addr; in __do_patch_mem_mm() local
296 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in __do_patch_mem_mm()
315 pte_clear(patching_mm, text_poke_addr, pte); in __do_patch_mem_mm()
331 unsigned long text_poke_addr; in __do_patch_mem() local
346 pte_clear(&init_mm, text_poke_addr, pte); in __do_patch_mem()
347 flush_tlb_kernel_range(text_poke_addr, text_poke_addr + PAGE_SIZE); in __do_patch_mem()
472 unsigned long text_poke_addr; in __do_patch_instructions_mm() local
503 pte_clear(patching_mm, text_poke_addr, pte); in __do_patch_instructions_mm()
522 unsigned long text_poke_addr; in __do_patch_instructions() local
538 pte_clear(&init_mm, text_poke_addr, pte); in __do_patch_instructions()
[all …]
/linux-6.15/arch/x86/kernel/
H A Dalternative.c2803 static __always_inline void *text_poke_addr(struct text_poke_loc *tp) in text_poke_addr() function
2812 if (key < text_poke_addr(tp)) in patch_cmp()
2814 if (key > text_poke_addr(tp)) in patch_cmp()
2859 if (text_poke_addr(tp) != ip) in poke_int3_handler()
2963 tp[i].old = *(u8 *)text_poke_addr(&tp[i]); in text_poke_bp_batch()
2964 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch()
2980 text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
2989 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
3020 perf_event_text_poke(text_poke_addr(&tp[i]), old, len, new, len); in text_poke_bp_batch()
3045 text_poke(text_poke_addr(&tp[i]), &byte, INT3_INSN_SIZE); in text_poke_bp_batch()
[all …]