Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/lib/
A Dcode-patching.c60 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
285 unsigned long text_poke_addr; in __do_patch_instruction_mm() local
293 text_poke_addr = __this_cpu_read(cpu_patching_context.addr); in __do_patch_instruction_mm()
294 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_instruction_mm()
296 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in __do_patch_instruction_mm()
319 pte_clear(patching_mm, text_poke_addr, pte); in __do_patch_instruction_mm()
335 unsigned long text_poke_addr; in __do_patch_instruction() local
340 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_instruction()
350 pte_clear(&init_mm, text_poke_addr, pte); in __do_patch_instruction()
[all …]
/linux-6.3-rc2/arch/x86/kernel/
A Dalternative.c1816 static __always_inline void *text_poke_addr(struct text_poke_loc *tp) in text_poke_addr() function
1825 if (key < text_poke_addr(tp)) in patch_cmp()
1827 if (key > text_poke_addr(tp)) in patch_cmp()
1872 if (text_poke_addr(tp) != ip) in poke_int3_handler()
1966 tp[i].old = *(u8 *)text_poke_addr(&tp[i]); in text_poke_bp_batch()
1967 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch()
1983 text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
1992 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
2023 perf_event_text_poke(text_poke_addr(&tp[i]), old, len, new, len); in text_poke_bp_batch()
2048 text_poke(text_poke_addr(&tp[i]), &byte, INT3_INSN_SIZE); in text_poke_bp_batch()
[all …]

Completed in 10 milliseconds