Lines Matching refs:r15
170 movq %gs:CPU_RTMP_RSP, %r15 /* grab the intr. stack pointer */ ;\
171 pushq (%r15) /* push the return address */
175 movq %r15, %gs:CPU_RTMP_R15 /* save %r15 */ ;\
176 movq %gs:CPU_THREAD, %r15 /* load the thread pointer */ ;\
177 movq T_STACK(%r15), %rsp /* switch to the kernel stack */ ;\
183 movq T_LWP(%r15), %r15 /* load the lwp pointer */ ;\
184 pushq %r15 /* push the lwp pointer */ ;\
185 movq LWP_PROCP(%r15), %r15 /* load the proc pointer */ ;\
186 movq P_BRAND(%r15), %r15 /* load the brand pointer */ ;\
187 movq B_MACHOPS(%r15), %r15 /* load the machops pointer */ ;\
188 movq _CONST(_MUL(callback_id, CPTRSIZE))(%r15), %r15 ;\
189 cmpq $0, %r15 ;\
191 movq %r15, 16(%rsp) /* save the callback pointer */ ;\
193 movq 24(%rsp), %r15 /* load callback pointer */ ;\
194 INDIRECT_CALL_REG(r15) /* call callback */ ;\
195 1: movq %gs:CPU_RTMP_R15, %r15 /* restore %r15 */ ;\
434 movq %r15, %gs:CPU_RTMP_R15
437 movq %gs:CPU_THREAD, %r15
438 movq T_STACK(%r15), %rsp /* switch from user to kernel stack */
517 movq T_LWP(%r15), %r14
532 movw %ax, T_SYSNUM(%r15)
533 movzbl T_PRE_SYS(%r15), %ebx
581 CHECK_POSTSYS_NE(%r15, %r14, %ebx)
610 SIMPLE_SYSCALL_POSTSYS(%r15, %r14, %bx)
642 movq REGOFF_R15(%rsp), %r15
715 movzwl T_SYSNUM(%r15), %eax
752 movq %gs:CPU_THREAD, %r15
753 movq T_STACK(%r15), %rsp
816 movq T_LWP(%r15), %r14
838 movq %r15, %rdi
899 CHECK_POSTSYS_NE(%r15, %r14, %ebx)
901 SIMPLE_SYSCALL_POSTSYS(%r15, %r14, %bx)
949 movq %r15, %rdi
1014 movq %gs:CPU_THREAD, %r15
1088 movq T_LWP(%r15), %r14
1130 movq %r15, %rdi
1180 CHECK_POSTSYS_NE(%r15, %r14, %ebx)
1182 SIMPLE_SYSCALL_POSTSYS(%r15, %r14, %bx)
1242 movq %gs:CPU_THREAD, %r15
1243 movq T_STACK(%r15), %rsp
1250 movb $1, T_POST_SYS(%r15)