Home
last modified time | relevance | path

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

12

/Linux-v6.1/tools/testing/selftests/bpf/
DDENYLIST.s390x2 … # attach(add): actual -524 <= expected 0 (trampoline)
7 bpf_mod_race # BPF trampoline
10 … # failed to auto-attach program 'prog_stat': -524 (trampoline)
11 … # test_run unexpected error: -524 (errno 524) (trampoline)
12 … # fentry attach failed: -524 (trampoline)
13 … # fentry_first_attach unexpected error: -524 (trampoline)
14 … # freplace_attach_trace unexpected error: -524 (trampoline)
15 … # fexit_skel_load fexit skeleton failed (trampoline)
16 … # fexit attach failed prog 0 failed: -524 (trampoline)
17 … # fexit_first_attach unexpected error: -524 (trampoline)
[all …]
/Linux-v6.1/arch/s390/kernel/
Dftrace.c103 static struct ftrace_hotpatch_trampoline *trampoline; in ftrace_init_nop() local
127 trampoline = (*next_trampoline)++; in ftrace_init_nop()
135 tmp.brasl_disp = (shared - (const char *)&trampoline->brasl_opc) / 2; in ftrace_init_nop()
138 s390_kernel_write(trampoline, &tmp, sizeof(tmp)); in ftrace_init_nop()
141 disp = ((char *)trampoline - (char *)rec->ip) / 2; in ftrace_init_nop()
150 struct ftrace_hotpatch_trampoline *trampoline; in ftrace_get_trampoline() local
158 trampoline = (void *)(rec->ip + disp); in ftrace_get_trampoline()
159 if (get_kernel_nofault(opc, &trampoline->brasl_opc)) in ftrace_get_trampoline()
163 return trampoline; in ftrace_get_trampoline()
169 struct ftrace_hotpatch_trampoline *trampoline; in ftrace_modify_call() local
[all …]
Duprobes.c144 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-v6.1/arch/x86/kernel/
Dftrace.c319 void *trampoline; in create_trampoline() local
348 trampoline = alloc_tramp(size + RET_SIZE + sizeof(void *)); in create_trampoline()
349 if (!trampoline) in create_trampoline()
356 ret = copy_from_kernel_nofault(trampoline, (void *)start_offset, size); in create_trampoline()
360 ip = trampoline + size; in create_trampoline()
369 ip = trampoline + (jmp_offset - start_offset); in create_trampoline()
385 ptr = (unsigned long *)(trampoline + size + RET_SIZE); in create_trampoline()
389 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
397 offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; in create_trampoline()
402 memcpy(trampoline + op_offset, &op_ptr, OP_REF_SIZE); in create_trampoline()
[all …]
/Linux-v6.1/Documentation/livepatch/
Dreliable-stacktrace.rst163 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.
232 with a JMP instruction which targets the associated optprobe trampoline. When
233 the probe is hit, the CPU will branch to the optprobe trampoline, and the
[all …]
/Linux-v6.1/tools/testing/selftests/arm64/bti/
DMakefile40 trampoline-bti.o
51 trampoline-nobti.o
Dtest.c106 static void __do_test(void (*trampoline)(void (*)(void)), in __do_test()
132 trampoline(fn); in __do_test()
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_cmd_parser.h23 bool trampoline);
Di915_cmd_parser.c1445 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-v6.1/arch/powerpc/include/asm/
Dmodule.h74 int module_trampoline_target(struct module *mod, unsigned long trampoline,
/Linux-v6.1/Documentation/admin-guide/
Dsyscall-user-dispatch.rst66 interface should make sure that at least the signal trampoline code is
68 trampoline code on the vDSO, that trampoline is never intercepted.
/Linux-v6.1/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-v6.1/arch/hexagon/kernel/
DMakefile8 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/Linux-v6.1/kernel/trace/
Dftrace.c1061 if (op->trampoline && op->trampoline_size) in ftrace_ops_trampoline()
1062 if (addr >= op->trampoline && in ftrace_ops_trampoline()
1063 addr < op->trampoline + op->trampoline_size) { in ftrace_ops_trampoline()
1755 if (ftrace_rec_count(rec) == 1 && ops->trampoline) in __ftrace_hash_rec_update()
2118 (void *)ops->trampoline, in ftrace_bug()
2303 if (!op->trampoline) in ftrace_find_tramp_ops_any()
2321 if (op == op_exclude || !op->trampoline) in ftrace_find_tramp_ops_any_other()
2339 if (!op->trampoline) in ftrace_find_tramp_ops_next()
2386 if (!op->trampoline) in ftrace_find_tramp_ops_curr()
2512 .trampoline = FTRACE_REGS_ADDR,
[all …]
Dfgraph.c352 .trampoline = FTRACE_GRAPH_TRAMP_ADDR,
/Linux-v6.1/kernel/bpf/
Dtrampoline.c491 tr->fops->trampoline = 0; in bpf_trampoline_update()
625 if (!shim_link->trampoline) in bpf_shim_tramp_link_release()
628 WARN_ON_ONCE(bpf_trampoline_unlink_prog(&shim_link->link, shim_link->trampoline)); in bpf_shim_tramp_link_release()
629 bpf_trampoline_put(shim_link->trampoline); in bpf_shim_tramp_link_release()
746 shim_link->trampoline = tr; in bpf_trampoline_link_cgroup_shim()
DMakefile15 obj-$(CONFIG_BPF_JIT) += trampoline.o
/Linux-v6.1/Documentation/powerpc/
Dbooting.rst53 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-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c260 struct i915_vma *trampoline; /** trampoline used for chaining */ member
2237 struct i915_vma *shadow, *trampoline, *batch; in eb_parse() local
2289 trampoline = NULL; in eb_parse()
2291 trampoline = shadow; in eb_parse()
2316 shadow, trampoline); in eb_parse()
2324 eb->trampoline = trampoline; in eb_parse()
2375 if (eb->trampoline) { in eb_request_submit()
2379 eb->trampoline->node.start + in eb_request_submit()
3326 eb.trampoline = NULL; in i915_gem_do_execbuffer()
/Linux-v6.1/Documentation/trace/
Dkprobes.rst113 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-v6.1/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-v6.1/arch/x86/realmode/rm/
Dtrampoline_64.S141 # Setup trampoline 4 level pagetables
/Linux-v6.1/tools/testing/selftests/arm64/signal/
DREADME34 they are just fired using some simple included assembly trampoline code.
/Linux-v6.1/Documentation/bpf/
Ddrgn.rst143 .trampoline = (struct bpf_trampoline *)0x0,

12