/Linux-v5.15/arch/x86/kernel/ |
D | ftrace.c | 326 void *trampoline; in create_trampoline() local 354 trampoline = alloc_tramp(size + RET_SIZE + sizeof(void *)); in create_trampoline() 355 if (!trampoline) in create_trampoline() 362 ret = copy_from_kernel_nofault(trampoline, (void *)start_offset, size); in create_trampoline() 366 ip = trampoline + size; in create_trampoline() 377 ip = trampoline + (jmp_offset - start_offset); in create_trampoline() 393 ptr = (unsigned long *)(trampoline + size + RET_SIZE); in create_trampoline() 397 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline() 405 offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; in create_trampoline() 410 memcpy(trampoline + op_offset, &op_ptr, OP_REF_SIZE); in create_trampoline() [all …]
|
/Linux-v5.15/arch/s390/kernel/ |
D | ftrace.c | 127 static struct ftrace_hotpatch_trampoline *trampoline; in ftrace_init_nop() local 151 trampoline = (*next_trampoline)++; in ftrace_init_nop() 159 tmp.brasl_disp = (shared - (const char *)&trampoline->brasl_opc) / 2; in ftrace_init_nop() 162 s390_kernel_write(trampoline, &tmp, sizeof(tmp)); in ftrace_init_nop() 165 disp = ((char *)trampoline - (char *)rec->ip) / 2; in ftrace_init_nop()
|
D | kprobes.c | 509 static struct kprobe trampoline = { variable 516 return register_kprobe(&trampoline); in arch_init_kprobes()
|
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-v5.15/Documentation/livepatch/ |
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. 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-v5.15/tools/testing/selftests/arm64/bti/ |
D | Makefile | 40 trampoline-bti.o 51 trampoline-nobti.o
|
D | test.c | 106 static void __do_test(void (*trampoline)(void (*)(void)), in __do_test() 132 trampoline(fn); in __do_test()
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | module.h | 76 int module_trampoline_target(struct module *mod, unsigned long trampoline,
|
/Linux-v5.15/Documentation/admin-guide/ |
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-v5.15/arch/arm/boot/dts/ |
D | socfpga_cyclone5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
D | socfpga_arria5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
/Linux-v5.15/arch/hexagon/kernel/ |
D | Makefile | 7 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
|
/Linux-v5.15/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 253 struct i915_vma *trampoline; /** trampoline used for chaining */ member 2042 struct i915_vma *shadow, *trampoline, *batch; in eb_parse() local 2092 trampoline = NULL; in eb_parse() 2094 trampoline = shadow; in eb_parse() 2101 shadow = trampoline; in eb_parse() 2123 shadow, trampoline); in eb_parse() 2131 eb->trampoline = trampoline; in eb_parse() 2146 if (trampoline) in eb_parse() 2147 i915_vma_unpin(trampoline); in eb_parse() 2191 if (eb->trampoline) { in eb_submit() [all …]
|
/Linux-v5.15/kernel/trace/ |
D | ftrace.c | 1066 if (op->trampoline && op->trampoline_size) in ftrace_ops_trampoline() 1067 if (addr >= op->trampoline && in ftrace_ops_trampoline() 1068 addr < op->trampoline + op->trampoline_size) { in ftrace_ops_trampoline() 1730 if (ftrace_rec_count(rec) == 1 && ops->trampoline) in __ftrace_hash_rec_update() 2060 (void *)ops->trampoline, in ftrace_bug() 2245 if (!op->trampoline) in ftrace_find_tramp_ops_any() 2263 if (op == op_exclude || !op->trampoline) in ftrace_find_tramp_ops_any_other() 2281 if (!op->trampoline) in ftrace_find_tramp_ops_next() 2328 if (!op->trampoline) in ftrace_find_tramp_ops_curr() 2422 .trampoline = FTRACE_REGS_ADDR, [all …]
|
D | fgraph.c | 341 .trampoline = FTRACE_GRAPH_TRAMP_ADDR,
|
/Linux-v5.15/Documentation/powerpc/ |
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-v5.15/kernel/bpf/ |
D | Makefile | 15 obj-$(CONFIG_BPF_JIT) += trampoline.o
|
/Linux-v5.15/arch/x86/realmode/rm/ |
D | trampoline_64.S | 141 # Setup trampoline 4 level pagetables
|
/Linux-v5.15/Documentation/trace/ |
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
|
D | ftrace-uses.rst | 142 (as explained below), then a helper trampoline will be used to test 158 (as explained below), then a helper trampoline will be used to test
|
/Linux-v5.15/Documentation/x86/ |
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-v5.15/tools/testing/selftests/arm64/signal/ |
D | README | 34 they are just fired using some simple included assembly trampoline code.
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
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-v5.15/Documentation/bpf/ |
D | drgn.rst | 143 .trampoline = (struct bpf_trampoline *)0x0,
|
/Linux-v5.15/include/linux/ |
D | ftrace.h | 235 unsigned long trampoline; member
|