Lines Matching refs:lwp_ustack
145 if (lwp->lwp_ustack == (uintptr_t)NULL || in savecontext()
146 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, in savecontext()
390 if ((uc.uc_flags & UC_STACK) && (lwp->lwp_ustack != 0)) in getsetcontext()
391 (void) copyout(&uc.uc_stack, (stack_t *)lwp->lwp_ustack, in getsetcontext()
396 if (copyout(&lwp->lwp_ustack, arg, sizeof (caddr_t))) in getsetcontext()
403 lwp->lwp_ustack = (uintptr_t)arg; in getsetcontext()
444 if (lwp->lwp_ustack == (uintptr_t)NULL || in savecontext32()
445 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, in savecontext32()
595 if ((uc.uc_flags & UC_STACK) && (lwp->lwp_ustack != 0)) in getsetcontext32()
597 (stack32_t *)lwp->lwp_ustack, sizeof (uc.uc_stack)); in getsetcontext32()
601 ustack32 = (caddr32_t)lwp->lwp_ustack; in getsetcontext32()
609 lwp->lwp_ustack = (uintptr_t)arg; in getsetcontext32()