| /linux-6.15/arch/s390/kernel/ |
| H A D | ftrace.c | 105 trampoline = (*next_trampoline)++; in ftrace_init_nop() 130 struct ftrace_hotpatch_trampoline *trampoline; in ftrace_get_trampoline() local 138 trampoline = (void *)(rec->ip + disp); in ftrace_get_trampoline() 143 return trampoline; in ftrace_get_trampoline() 176 struct ftrace_hotpatch_trampoline *trampoline; in ftrace_modify_trampoline_call() local 179 trampoline = ftrace_get_trampoline(rec); in ftrace_modify_trampoline_call() 180 if (IS_ERR(trampoline)) in ftrace_modify_trampoline_call() 181 return PTR_ERR(trampoline); in ftrace_modify_trampoline_call() 228 trampoline = ftrace_get_trampoline(rec); in ftrace_make_trampoline_call() 229 if (IS_ERR(trampoline)) in ftrace_make_trampoline_call() [all …]
|
| H A D | uprobes.c | 143 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()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | ftrace.c | 315 void *trampoline; in create_trampoline() local 345 if (!trampoline) in create_trampoline() 356 ip = trampoline + size; in create_trampoline() 408 memcpy(trampoline + call_offset, in create_trampoline() 417 return (unsigned long)trampoline; in create_trampoline() 419 tramp_free(trampoline); in create_trampoline() 473 if (!ops->trampoline) { in arch_ftrace_update_trampoline() 475 if (!ops->trampoline) in arch_ftrace_update_trampoline() 489 ip = ops->trampoline + offset; in arch_ftrace_update_trampoline() 528 if (ops && ops->trampoline) { in static_tramp_func() [all …]
|
| /linux-6.15/Documentation/livepatch/ |
| H 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-6.15/tools/testing/selftests/arm64/bti/ |
| H A D | Makefile | 38 $(OUTPUT)/trampoline-bti.o 49 $(OUTPUT)/trampoline-nobti.o
|
| H A D | test.c | 107 static void __do_test(void (*trampoline)(void (*)(void)), in __do_test() 125 trampoline(fn); in __do_test()
|
| /linux-6.15/arch/x86/boot/compressed/ |
| H A D | pgtable.h | 13 extern void trampoline_32bit_src(void *trampoline, bool enable_5lvl);
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_cmd_parser.h | 23 bool trampoline);
|
| H A D | i915_cmd_parser.c | 1445 bool trampoline) in intel_engine_cmd_parser() argument 1470 if (!trampoline) in intel_engine_cmd_parser() 1534 if (trampoline) { in intel_engine_cmd_parser()
|
| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | module.h | 80 int module_trampoline_target(struct module *mod, unsigned long trampoline,
|
| /linux-6.15/arch/arm/boot/dts/intel/socfpga/ |
| H A D | socfpga_cyclone5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
| H A D | socfpga_arria5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
| /linux-6.15/arch/hexagon/kernel/ |
| H A D | Makefile | 8 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
|
| /linux-6.15/Documentation/admin-guide/ |
| H 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-6.15/kernel/trace/ |
| H A D | ftrace.c | 2201 (void *)ops->trampoline, in ftrace_bug() 2420 if (!op->trampoline) in ftrace_find_tramp_ops_any() 2456 if (!op->trampoline) in ftrace_find_tramp_ops_next() 2503 if (!op->trampoline) in ftrace_find_tramp_ops_curr() 2634 return ops->trampoline; in ftrace_get_addr_new() 2675 return ops->trampoline; in ftrace_get_addr_curr() 3007 ops->trampoline) { in ftrace_trampoline_free() 6055 ops->trampoline = 0; in unregister_ftrace_direct() 7258 *value = op->trampoline; in ftrace_get_trampoline_kallsym() 7900 unsigned long trampoline = ops->trampoline; in ftrace_update_trampoline() local [all …]
|
| /linux-6.15/include/linux/ |
| H A D | lsm_hooks.h | 53 void *trampoline; member
|
| /linux-6.15/Documentation/arch/powerpc/ |
| H 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-6.15/kernel/bpf/ |
| H A D | trampoline.c | 484 tr->fops->trampoline = 0; in bpf_trampoline_update() 655 if (!shim_link->trampoline) in bpf_shim_tramp_link_release() 658 WARN_ON_ONCE(bpf_trampoline_unlink_prog(&shim_link->link, shim_link->trampoline, NULL)); in bpf_shim_tramp_link_release() 659 bpf_trampoline_put(shim_link->trampoline); in bpf_shim_tramp_link_release() 776 shim_link->trampoline = tr; in bpf_trampoline_link_cgroup_shim()
|
| H A D | Makefile | 16 obj-$(CONFIG_BPF_JIT) += trampoline.o
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_execbuffer.c | 262 struct i915_vma *trampoline; /** trampoline used for chaining */ member 2281 struct i915_vma *shadow, *trampoline, *batch; in eb_parse() local 2333 trampoline = NULL; in eb_parse() 2335 trampoline = shadow; in eb_parse() 2360 shadow, trampoline); in eb_parse() 2368 eb->trampoline = trampoline; in eb_parse() 2419 if (eb->trampoline) { in eb_request_submit() 2423 i915_vma_offset(eb->trampoline) + in eb_request_submit() 3385 eb.trampoline = NULL; in i915_gem_do_execbuffer()
|
| /linux-6.15/Documentation/trace/ |
| H 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 216 - 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-6.15/tools/testing/selftests/bpf/ |
| H A D | README.rst | 31 trampoline support on IBM's s390x architecture. For cases like this, an in-tree 43 available, summarizes the underlying problem. A value of ``trampoline``, for 44 example, indicates that lack of trampoline support is causing the test to fail.
|
| /linux-6.15/arch/x86/realmode/rm/ |
| H A D | trampoline_64.S | 159 # Setup trampoline 4 level pagetables
|
| /linux-6.15/tools/testing/selftests/arm64/signal/ |
| H A D | README | 34 they are just fired using some simple included assembly trampoline code.
|
| /linux-6.15/arch/loongarch/kernel/ |
| H A D | unwind_orc.c | 134 offset = ip - ops->trampoline; in orc_ftrace_find()
|