Lines Matching refs:tramp
10 JMP = 2, /* tramp / site tail-call */
11 RET = 3, /* tramp / site cond-tail-call */
114 static void __static_call_validate(u8 *insn, bool tail, bool tramp)
118 if (tramp && memcmp(insn+5, tramp_ud, 3)) {
157 void arch_static_call_transform(void *site, void *tramp, void *func, bool tail)
161 if (tramp) {
162 __static_call_validate(tramp, true, true);
163 __static_call_transform(tramp, __sc_insn(!func, true), func, false);
187 bool __static_call_fixup(void *tramp, u8 op, void *dest)
189 unsigned long addr = (unsigned long)tramp;
202 if (memcmp(tramp+5, tramp_ud, 3)) {
209 __static_call_transform(tramp, RET, NULL, true);