/linux/arch/x86/kernel/ |
A D | ftrace.c | 321 void *trampoline; in create_trampoline() local 350 if (!trampoline) in create_trampoline() 361 ip = trampoline + size; in create_trampoline() 410 memcpy(trampoline + call_offset, in create_trampoline() 412 trampoline + call_offset, in create_trampoline() 426 tramp_free(trampoline); in create_trampoline() 480 if (!ops->trampoline) { in arch_ftrace_update_trampoline() 482 if (!ops->trampoline) in arch_ftrace_update_trampoline() 496 ip = ops->trampoline + offset; in arch_ftrace_update_trampoline() 538 if (ops && ops->trampoline) { in static_tramp_func() [all …]
|
/linux/arch/s390/kernel/ |
A D | ftrace.c | 117 static struct ftrace_hotpatch_trampoline *trampoline; in ftrace_init_nop() local 141 trampoline = (*next_trampoline)++; in ftrace_init_nop() 149 tmp.brasl_disp = (shared - (const char *)&trampoline->brasl_opc) / 2; in ftrace_init_nop() 152 s390_kernel_write(trampoline, &tmp, sizeof(tmp)); in ftrace_init_nop() 155 disp = ((char *)trampoline - (char *)rec->ip) / 2; in ftrace_init_nop()
|
A D | kprobes.c | 557 static struct kprobe trampoline = { variable 564 return register_kprobe(&trampoline); in arch_init_kprobes()
|
A D | uprobes.c | 144 unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline, in arch_uretprobe_hijack_return_addr() argument 150 regs->gprs[14] = trampoline; in arch_uretprobe_hijack_return_addr()
|
/linux/Documentation/livepatch/ |
A D | reliable-stacktrace.rst | 163 to intercept when that function returns with a return trampoline, e.g. 165 * An ftrace trampoline may modify the return address so that function graph 168 * A kprobes (or optprobes) trampoline may modify the return address so that 174 is altered by the trampoline, the unwinder may report the original return 175 address in place of the trampoline and report this as reliable. Otherwise, an 180 trampoline or return trampoline. For example, considering the x86_64 181 'return_to_handler' return trampoline: 213 trampoline moves this into rdi before jumping to it. 233 the probe is hit, the CPU will branch to the optprobe trampoline, and the 242 BL <trampoline> [all …]
|
/linux/tools/testing/selftests/arm64/bti/ |
A D | Makefile | 40 trampoline-bti.o 51 trampoline-nobti.o
|
A D | test.c | 106 static void __do_test(void (*trampoline)(void (*)(void)), in __do_test() 132 trampoline(fn); in __do_test()
|
/linux/Documentation/admin-guide/ |
A D | syscall-user-dispatch.rst | 66 interface should make sure that at least the signal trampoline code is 68 trampoline code on the vDSO, that trampoline is never intercepted.
|
/linux/kernel/trace/ |
A D | ftrace.c | 2056 (void *)ops->trampoline, in ftrace_bug() 2241 if (!op->trampoline) in ftrace_find_tramp_ops_any() 2277 if (!op->trampoline) in ftrace_find_tramp_ops_next() 2324 if (!op->trampoline) in ftrace_find_tramp_ops_curr() 2487 return ops->trampoline; in ftrace_get_addr_new() 2528 return ops->trampoline; in ftrace_get_addr_curr() 2855 ops->trampoline) { in ftrace_trampoline_free() 5548 ops->trampoline = 0; in unregister_ftrace_direct_multi() 6525 *value = op->trampoline; in ftrace_get_trampoline_kallsym() 7122 unsigned long trampoline = ops->trampoline; in ftrace_update_trampoline() local [all …]
|
/linux/kernel/bpf/ |
A D | built-in.a | 4 trampoline.o/
|
A D | .built-in.a.cmd | 1 …linux-gnu-ar cDPrST kernel/bpf/built-in.a kernel/bpf/core.o kernel/bpf/trampoline.o kernel/bpf/dis…
|
A D | Makefile | 15 obj-$(CONFIG_BPF_JIT) += trampoline.o
|
A D | .trampoline.o.cmd | 1 …trampoline.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/b… 3 source_kernel/bpf/trampoline.o := kernel/bpf/trampoline.c 5 deps_kernel/bpf/trampoline.o := \ 1425 kernel/bpf/trampoline.o: $(deps_kernel/bpf/trampoline.o) 1427 $(deps_kernel/bpf/trampoline.o):
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_execbuffer.c | 2144 trampoline = NULL; in eb_parse() 2146 trampoline = shadow; in eb_parse() 2153 shadow = trampoline; in eb_parse() 2175 shadow, trampoline); in eb_parse() 2183 eb->trampoline = trampoline; in eb_parse() 2201 if (trampoline) in eb_parse() 2202 i915_vma_unpin(trampoline); in eb_parse() 2245 if (eb->trampoline) { in eb_request_submit() 3185 eb.trampoline = NULL; in i915_gem_do_execbuffer() 3323 if (eb.trampoline) in i915_gem_do_execbuffer() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | module.h | 76 int module_trampoline_target(struct module *mod, unsigned long trampoline,
|
/linux/arch/arm/boot/dts/ |
A D | socfpga_arria5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
A D | socfpga_cyclone5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
/linux/arch/hexagon/kernel/ |
A D | Makefile | 7 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
|
/linux/Documentation/powerpc/ |
A D | booting.rst | 53 trampoline located in arch/powerpc/kernel/prom_init.c to 57 the second method. This trampoline code runs in the 62 point is called by a) after the OF trampoline and can also be
|
/linux/Documentation/trace/ |
A D | kprobes.rst | 113 the return address with the address of a "trampoline." The trampoline 115 At boot time, Kprobes registers a kprobe at the trampoline. 118 passes to the trampoline and that probe is hit. Kprobes' trampoline 217 - a call to the trampoline code which calls user's probe handlers. 584 address with the trampoline's address, stack backtraces and calls 585 to __builtin_return_address() will typically yield the trampoline's
|
/linux/arch/x86/realmode/rm/ |
A D | trampoline_64.S | 141 # Setup trampoline 4 level pagetables
|
/linux/Documentation/x86/ |
A D | pti.rst | 84 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/tools/testing/selftests/arm64/signal/ |
A D | README | 34 they are just fired using some simple included assembly trampoline code.
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_cmd_parser.c | 1433 bool trampoline) in intel_engine_cmd_parser() argument 1458 if (!trampoline) in intel_engine_cmd_parser() 1522 if (trampoline) { in intel_engine_cmd_parser()
|
/linux/kernel/ |
A D | built-in.a | 181 bpf/trampoline.o/
|