Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Dftrace.c747 void *trampoline; in create_trampoline() local
770 trampoline = alloc_tramp(size + MCOUNT_INSN_SIZE + sizeof(void *)); in create_trampoline()
771 if (!trampoline) in create_trampoline()
777 ret = probe_kernel_read(trampoline, (void *)start_offset, size); in create_trampoline()
779 tramp_free(trampoline, *tramp_size); in create_trampoline()
783 ip = (unsigned long)trampoline + size; in create_trampoline()
787 memcpy(trampoline + size, jmp, MCOUNT_INSN_SIZE); in create_trampoline()
797 ptr = (unsigned long *)(trampoline + size + MCOUNT_INSN_SIZE); in create_trampoline()
801 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
805 tramp_free(trampoline, *tramp_size); in create_trampoline()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dftrace.c79 struct plt_entry trampoline; in ftrace_make_call() local
107 trampoline = get_plt_entry(addr); in ftrace_make_call()
109 &trampoline)) { in ftrace_make_call()
118 *mod->arch.ftrace_trampoline = trampoline; in ftrace_make_call()
/Linux-v4.19/arch/powerpc/purgatory/
DMakefile2 targets += trampoline.o purgatory.ro kexec-purgatory.c
6 $(obj)/purgatory.ro: $(obj)/trampoline.o FORCE
/Linux-v4.19/arch/powerpc/include/asm/
Dmodule.h98 int module_trampoline_target(struct module *mod, unsigned long trampoline,
/Linux-v4.19/arch/hexagon/kernel/
DMakefile7 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/Linux-v4.19/arch/arm/boot/dts/
Dsocfpga_arria5.dtsi18 /* First 4KB has trampoline code for secondary cores. */
Dsocfpga_cyclone5.dtsi19 /* First 4KB has trampoline code for secondary cores. */
/Linux-v4.19/arch/s390/kernel/
Duprobes.c143 unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline, in arch_uretprobe_hijack_return_addr() argument
149 regs->gprs[14] = trampoline; in arch_uretprobe_hijack_return_addr()
Dkprobes.c644 static struct kprobe trampoline = { variable
651 return register_kprobe(&trampoline); in arch_init_kprobes()
/Linux-v4.19/Documentation/
Dkprobes.txt112 the return address with the address of a "trampoline." The trampoline
114 At boot time, Kprobes registers a kprobe at the trampoline.
117 passes to the trampoline and that probe is hit. Kprobes' trampoline
216 - a call to the trampoline code which calls user's probe handlers.
596 address with the trampoline's address, stack backtraces and calls
597 to __builtin_return_address() will typically yield the trampoline's
/Linux-v4.19/Documentation/x86/
Dpti.txt76 b. A "trampoline" must be used for SYSCALL entry. This
77 trampoline depends on a smaller set of resources than the
161 in the trampoline code or mappings cause these.
/Linux-v4.19/kernel/trace/
Dftrace.c1099 if (op->trampoline && op->trampoline_size) in ftrace_ops_trampoline()
1100 if (addr >= op->trampoline && in ftrace_ops_trampoline()
1101 addr < op->trampoline + op->trampoline_size) { in ftrace_ops_trampoline()
1741 if (ftrace_rec_count(rec) == 1 && ops->trampoline) in __ftrace_hash_rec_update()
2061 (void *)ops->trampoline, in ftrace_bug()
2205 if (!op->trampoline) in ftrace_find_tramp_ops_any()
2223 if (!op->trampoline) in ftrace_find_tramp_ops_next()
2270 if (!op->trampoline) in ftrace_find_tramp_ops_curr()
2335 if (FTRACE_WARN_ON(!ops || !ops->trampoline)) { in ftrace_get_addr_new()
2341 return ops->trampoline; in ftrace_get_addr_new()
[all …]
/Linux-v4.19/include/linux/
Dftrace.h201 unsigned long trampoline; member
/Linux-v4.19/arch/sh/mm/
DKconfig108 From the kernel side this is used for the signal trampoline.
/Linux-v4.19/Documentation/devicetree/
Dbooting-without-of.txt214 trampoline located in arch/powerpc/kernel/prom_init.c to
218 the second method. This trampoline code runs in the
223 point is called by a) after the OF trampoline and can also be
580 "phandle" value for every node that the "prom_init()" trampoline code
707 by the trampoline code in the kernel's prom_init() file. For example,
992 the prom_init() trampoline when booting with an OF client interface,
/Linux-v4.19/arch/arm64/
DKconfig546 in TTBR1_EL1, this situation only occurs in the entry trampoline and
549 entries for the trampoline before entering the kernel proper.
900 via a trampoline page in the vector table.
/Linux-v4.19/Documentation/admin-guide/pm/
Dsleep-states.rst138 the image contents and jumps into a special trampoline area in the original
/Linux-v4.19/Documentation/trace/
Dftrace.rst318 If the callback of the function jumps to a trampoline that is
319 specific to a the callback and not the standard trampoline,
321 trampoline calls.
/Linux-v4.19/arch/arm/
DKconfig1548 trampoline, are within range of the branch. For this reason, the