Home
last modified time | relevance | path

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

/linux-6.12.1/arch/mips/kernel/
Dftrace.c172 new = core_kernel_text(ip) ? INSN_NOP : INSN_B_1F; in ftrace_make_nop()
192 new = core_kernel_text(ip) ? insn_jal_ftrace_caller : insn_la_mcount[0]; in ftrace_make_call()
197 return ftrace_modify_code_2r(ip, new, core_kernel_text(ip) ? in ftrace_make_call()
263 ip = self_ra - (core_kernel_text(self_ra) ? 16 : 24); in ftrace_get_parent_ra_addr()
362 insns = core_kernel_text(self_ra) ? 2 : MCOUNT_OFFSET_INSNS + 1; in prepare_ftrace_return()
/linux-6.12.1/kernel/
Dextable.c66 int notrace core_kernel_text(unsigned long addr) in core_kernel_text() function
99 if (core_kernel_text(addr)) in kernel_text_address()
167 if (core_kernel_text(addr)) in func_ptr_is_kernel_text()
Dkprobes.c1577 if (!core_kernel_text((unsigned long) p->addr)) { in check_kprobe_address_safe()
/linux-6.12.1/arch/powerpc/kernel/trace/
Dftrace.c123 } else if (core_kernel_text(ip)) { in ftrace_get_call_inst()
153 if (WARN_ON(!IS_ENABLED(CONFIG_MODULES) || core_kernel_text(rec->ip))) in ftrace_make_call()
259 if (!core_kernel_text(ip)) { in ftrace_init_nop()
279 } else if (core_kernel_text(ip) || (IS_ENABLED(CONFIG_MODULES) && mod)) { in ftrace_init_nop()
Dftrace_64_pg.c363 } else if (core_kernel_text(ip)) { in ftrace_make_nop()
529 } else if (core_kernel_text(ip)) { in ftrace_make_call()
660 } else if (core_kernel_text(ip)) { in ftrace_modify_call()
/linux-6.12.1/arch/powerpc/net/
Dbpf_jit_comp.c314 if (WARN_ON_ONCE(core_kernel_text((unsigned long)dst))) in bpf_arch_text_copy()
329 if (WARN_ON_ONCE(core_kernel_text((unsigned long)dst))) in bpf_arch_text_invalidate()
Dbpf_jit_comp64.c245 if (core_kernel_text(func_addr)) { in bpf_jit_emit_func_call_hlp()
/linux-6.12.1/arch/parisc/kernel/
Dpatch.c30 bool module = !core_kernel_text(uintaddr); in patch_map()
/linux-6.12.1/arch/arm/kernel/
Dpatch.c25 bool module = !core_kernel_text(uintaddr); in patch_map()
Dunwind.c178 if (core_kernel_text(addr)) { in unwind_find_idx()
/linux-6.12.1/arch/powerpc/mm/
Dpgtable_32.c111 ktext = core_kernel_text(v); in __mapin_ram_chunk()
/linux-6.12.1/include/linux/
Dkernel.h168 extern int core_kernel_text(unsigned long addr);
/linux-6.12.1/arch/arm64/kernel/
Dpatching.c28 return core_kernel_text(addr) || is_exit_text(addr); in is_image_text()
/linux-6.12.1/arch/riscv/kernel/
Dpatch.c47 if (core_kernel_text(uintaddr) || is_kernel_exittext(uintaddr)) in patch_map()
/linux-6.12.1/arch/x86/kernel/
Dalternative.c1874 if (!core_kernel_text((unsigned long)addr)) { in __text_poke()
2012 if (WARN_ON_ONCE(!core_ok && core_kernel_text(start))) in text_poke_copy_locked()
2061 if (WARN_ON_ONCE(core_kernel_text(start))) in text_poke_set()
/linux-6.12.1/kernel/module/
Dmain.c798 if (core_kernel_text(a)) in symbol_put_addr()