Lines Matching +full:- +full:n
1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <asm/asm-offsets.h>
14 trace_printk("my direct func1\n");
19 trace_printk("my direct func2\n");
31 " .pushsection .text, \"ax\", @progbits\n"
32 " .type my_tramp1, @function\n"
33 " .globl my_tramp1\n"
34 " my_tramp1:\n"
35 " addi sp,sp,-2*"SZREG"\n"
36 " "REG_S" t0,0*"SZREG"(sp)\n"
37 " "REG_S" ra,1*"SZREG"(sp)\n"
38 " call my_direct_func1\n"
39 " "REG_L" t0,0*"SZREG"(sp)\n"
40 " "REG_L" ra,1*"SZREG"(sp)\n"
41 " addi sp,sp,2*"SZREG"\n"
42 " jr t0\n"
43 " .size my_tramp1, .-my_tramp1\n"
44 " .type my_tramp2, @function\n"
45 " .globl my_tramp2\n"
47 " my_tramp2:\n"
48 " addi sp,sp,-2*"SZREG"\n"
49 " "REG_S" t0,0*"SZREG"(sp)\n"
50 " "REG_S" ra,1*"SZREG"(sp)\n"
51 " call my_direct_func2\n"
52 " "REG_L" t0,0*"SZREG"(sp)\n"
53 " "REG_L" ra,1*"SZREG"(sp)\n"
54 " addi sp,sp,2*"SZREG"\n"
55 " jr t0\n"
56 " .size my_tramp2, .-my_tramp2\n"
57 " .popsection\n"
65 #include <asm/nospec-branch.h>
68 " .pushsection .text, \"ax\", @progbits\n"
69 " .type my_tramp1, @function\n"
70 " .globl my_tramp1\n"
73 " pushq %rbp\n"
74 " movq %rsp, %rbp\n"
76 " call my_direct_func1\n"
77 " leave\n"
78 " .size my_tramp1, .-my_tramp1\n"
81 " .type my_tramp2, @function\n"
82 " .globl my_tramp2\n"
85 " pushq %rbp\n"
86 " movq %rsp, %rbp\n"
88 " call my_direct_func2\n"
89 " leave\n"
91 " .size my_tramp2, .-my_tramp2\n"
92 " .popsection\n"
100 " .pushsection .text, \"ax\", @progbits\n"
101 " .type my_tramp1, @function\n"
102 " .globl my_tramp1\n"
104 " lgr %r1,%r15\n"
105 " stmg %r0,%r5,"__stringify(__SF_GPRS)"(%r15)\n"
106 " stg %r14,"__stringify(__SF_GPRS+8*8)"(%r15)\n"
107 " aghi %r15,"__stringify(-STACK_FRAME_OVERHEAD)"\n"
108 " stg %r1,"__stringify(__SF_BACKCHAIN)"(%r15)\n"
109 " brasl %r14,my_direct_func1\n"
110 " aghi %r15,"__stringify(STACK_FRAME_OVERHEAD)"\n"
111 " lmg %r0,%r5,"__stringify(__SF_GPRS)"(%r15)\n"
112 " lg %r14,"__stringify(__SF_GPRS+8*8)"(%r15)\n"
113 " lgr %r1,%r0\n"
114 " br %r1\n"
115 " .size my_tramp1, .-my_tramp1\n"
116 " .type my_tramp2, @function\n"
117 " .globl my_tramp2\n"
119 " lgr %r1,%r15\n"
120 " stmg %r0,%r5,"__stringify(__SF_GPRS)"(%r15)\n"
121 " stg %r14,"__stringify(__SF_GPRS+8*8)"(%r15)\n"
122 " aghi %r15,"__stringify(-STACK_FRAME_OVERHEAD)"\n"
123 " stg %r1,"__stringify(__SF_BACKCHAIN)"(%r15)\n"
124 " brasl %r14,my_direct_func2\n"
125 " aghi %r15,"__stringify(STACK_FRAME_OVERHEAD)"\n"
126 " lmg %r0,%r5,"__stringify(__SF_GPRS)"(%r15)\n"
127 " lg %r14,"__stringify(__SF_GPRS+8*8)"(%r15)\n"
128 " lgr %r1,%r0\n"
129 " br %r1\n"
130 " .size my_tramp2, .-my_tramp2\n"
131 " .popsection\n"
139 " .pushsection .text, \"ax\", @progbits\n"
140 " .type my_tramp1, @function\n"
141 " .globl my_tramp1\n"
143 " hint 34\n" // bti c
144 " sub sp, sp, #16\n"
145 " stp x9, x30, [sp]\n"
146 " bl my_direct_func1\n"
147 " ldp x30, x9, [sp]\n"
148 " add sp, sp, #16\n"
149 " ret x9\n"
150 " .size my_tramp1, .-my_tramp1\n"
152 " .type my_tramp2, @function\n"
153 " .globl my_tramp2\n"
155 " hint 34\n" // bti c
156 " sub sp, sp, #16\n"
157 " stp x9, x30, [sp]\n"
158 " bl my_direct_func2\n"
159 " ldp x30, x9, [sp]\n"
160 " add sp, sp, #16\n"
161 " ret x9\n"
162 " .size my_tramp2, .-my_tramp2\n"
163 " .popsection\n"
171 " .pushsection .text, \"ax\", @progbits\n"
172 " .type my_tramp1, @function\n"
173 " .globl my_tramp1\n"
174 " my_tramp1:\n"
175 " addi.d $sp, $sp, -16\n"
176 " st.d $t0, $sp, 0\n"
177 " st.d $ra, $sp, 8\n"
178 " bl my_direct_func1\n"
179 " ld.d $t0, $sp, 0\n"
180 " ld.d $ra, $sp, 8\n"
181 " addi.d $sp, $sp, 16\n"
182 " jr $t0\n"
183 " .size my_tramp1, .-my_tramp1\n"
185 " .type my_tramp2, @function\n"
186 " .globl my_tramp2\n"
187 " my_tramp2:\n"
188 " addi.d $sp, $sp, -16\n"
189 " st.d $t0, $sp, 0\n"
190 " st.d $ra, $sp, 8\n"
191 " bl my_direct_func2\n"
192 " ld.d $t0, $sp, 0\n"
193 " ld.d $ra, $sp, 8\n"
194 " addi.d $sp, $sp, 16\n"
195 " jr $t0\n"
196 " .size my_tramp2, .-my_tramp2\n"
197 " .popsection\n"
213 " std 2, 24(1)\n" \
214 " bcl 20, 31, 1f\n" \
215 " 1: mflr 12\n" \
216 " ld 2, (99f - 1b)(12)\n"
218 " ld 2, 24(1)\n"
220 " 99: .quad .TOC.@tocbase\n"
229 PPC_LL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n" \
230 " mtlr 0\n"
232 " blr\n"
235 PPC_LL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n" \
236 " mtctr 0\n"
238 " mtlr 0\n" \
239 " bctr\n"
243 " .pushsection .text, \"ax\", @progbits\n"
244 " .type my_tramp1, @function\n"
245 " .globl my_tramp1\n"
246 " my_tramp1:\n"
247 PPC_STL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n"
248 PPC_STLU" 1, -"__stringify(STACK_FRAME_MIN_SIZE)"(1)\n"
249 " mflr 0\n"
250 PPC_STL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n"
251 PPC_STLU" 1, -"__stringify(STACK_FRAME_SIZE)"(1)\n"
253 " bl my_direct_func1\n"
255 " addi 1, 1, "__stringify(STACK_FRAME_SIZE)"\n"
257 " addi 1, 1, "__stringify(STACK_FRAME_MIN_SIZE)"\n"
258 PPC_LL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n"
260 " .size my_tramp1, .-my_tramp1\n"
262 " .type my_tramp2, @function\n"
263 " .globl my_tramp2\n"
264 " my_tramp2:\n"
265 PPC_STL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n"
266 PPC_STLU" 1, -"__stringify(STACK_FRAME_MIN_SIZE)"(1)\n"
267 " mflr 0\n"
268 PPC_STL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n"
269 PPC_STLU" 1, -"__stringify(STACK_FRAME_SIZE)"(1)\n"
271 " bl my_direct_func2\n"
273 " addi 1, 1, "__stringify(STACK_FRAME_SIZE)"\n"
275 " addi 1, 1, "__stringify(STACK_FRAME_MIN_SIZE)"\n"
276 PPC_LL" 0, "__stringify(PPC_LR_STKOFF)"(1)\n"
279 " .size my_tramp2, .-my_tramp2\n"
280 " .popsection\n"
324 simple_tsk = kthread_run(simple_thread, NULL, "event-sample-fn");