Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kernel/
Dftrace.c755 void *trampoline; in create_trampoline() local
779 trampoline = alloc_tramp(size + RET_SIZE + sizeof(void *)); in create_trampoline()
780 if (!trampoline) in create_trampoline()
787 ret = probe_kernel_read(trampoline, (void *)start_offset, size); in create_trampoline()
791 ip = trampoline + size; in create_trampoline()
807 ptr = (unsigned long *)(trampoline + size + RET_SIZE); in create_trampoline()
811 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
819 offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; in create_trampoline()
824 memcpy(trampoline + op_offset, &op_ptr, OP_REF_SIZE); in create_trampoline()
829 set_vm_flush_reset_perms(trampoline); in create_trampoline()
[all …]
/Linux-v5.4/arch/arm64/kernel/
Dftrace.c76 struct plt_entry trampoline, *dst; in ftrace_make_call() local
110 trampoline = get_plt_entry(addr, dst); in ftrace_make_call()
111 if (memcmp(dst, &trampoline, sizeof(trampoline))) { in ftrace_make_call()
119 *dst = trampoline; in ftrace_make_call()
/Linux-v5.4/arch/powerpc/purgatory/
DMakefile5 targets += trampoline.o purgatory.ro kexec-purgatory.c
9 $(obj)/purgatory.ro: $(obj)/trampoline.o FORCE
/Linux-v5.4/arch/powerpc/include/asm/
Dmodule.h95 int module_trampoline_target(struct module *mod, unsigned long trampoline,
/Linux-v5.4/arch/arm/boot/dts/
Dsocfpga_arria5.dtsi7 /* First 4KB has trampoline code for secondary cores. */
Dsocfpga_cyclone5.dtsi7 /* First 4KB has trampoline code for secondary cores. */
/Linux-v5.4/arch/hexagon/kernel/
DMakefile7 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/Linux-v5.4/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.c645 static struct kprobe trampoline = { variable
652 return register_kprobe(&trampoline); in arch_init_kprobes()
/Linux-v5.4/arch/x86/realmode/rm/
Dtrampoline_64.S119 # Setup trampoline 4 level pagetables
/Linux-v5.4/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.
597 address with the trampoline's address, stack backtraces and calls
598 to __builtin_return_address() will typically yield the trampoline's
/Linux-v5.4/Documentation/x86/
Dpti.rst84 b. A "trampoline" must be used for SYSCALL entry. This
85 trampoline depends on a smaller set of resources than the
170 in the trampoline code or mappings cause these.
/Linux-v5.4/kernel/trace/
Dftrace.c1076 if (op->trampoline && op->trampoline_size) in ftrace_ops_trampoline()
1077 if (addr >= op->trampoline && in ftrace_ops_trampoline()
1078 addr < op->trampoline + op->trampoline_size) { in ftrace_ops_trampoline()
1723 if (ftrace_rec_count(rec) == 1 && ops->trampoline) in __ftrace_hash_rec_update()
2040 (void *)ops->trampoline, in ftrace_bug()
2184 if (!op->trampoline) in ftrace_find_tramp_ops_any()
2202 if (!op->trampoline) in ftrace_find_tramp_ops_next()
2249 if (!op->trampoline) in ftrace_find_tramp_ops_curr()
2314 if (FTRACE_WARN_ON(!ops || !ops->trampoline)) { in ftrace_get_addr_new()
2320 return ops->trampoline; in ftrace_get_addr_new()
[all …]
Dfgraph.c319 .trampoline = FTRACE_GRAPH_TRAMP_ADDR,
/Linux-v5.4/include/linux/
Dftrace.h201 unsigned long trampoline; member
/Linux-v5.4/arch/sh/mm/
DKconfig105 From the kernel side this is used for the signal trampoline.
/Linux-v5.4/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-v5.4/Documentation/admin-guide/pm/
Dsleep-states.rst142 the image contents and jumps into a special trampoline area in the original
/Linux-v5.4/arch/arm64/
DKconfig642 in TTBR1_EL1, this situation only occurs in the entry trampoline and
645 entries for the trampoline before entering the kernel proper.
1079 via a trampoline page in the vector table.
/Linux-v5.4/Documentation/trace/
Dftrace.rst326 If the callback of the function jumps to a trampoline that is
327 specific to a the callback and not the standard trampoline,
329 trampoline calls.
/Linux-v5.4/arch/arm/
DKconfig1441 trampoline, are within range of the branch. For this reason, the