Lines Matching refs:lwp

144 	klwp_t *lwp = ttolwp(curthread);  in sendsig()  local
160 rp = lwptoregs(lwp); in sendsig()
190 xsave_size = SA(fpu_signal_size(lwp)); in sendsig()
205 !(lwp->lwp_sigaltstack.ss_flags & (SS_ONSTACK|SS_DISABLE)); in sendsig()
208 fp = (caddr_t)(SA((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + in sendsig()
209 SA(lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN); in sendsig()
293 (ulong_t)lwp->lwp_arg[i]); in sendsig()
317 ret = savecontext(tuc, &lwp->lwp_sigoldmask, SAVECTXT_F_EXTD | in sendsig()
327 lwp->lwp_oldcontext = (uintptr_t)uc; in sendsig()
330 lwp->lwp_sigaltstack.ss_flags |= SS_ONSTACK; in sendsig()
331 if (lwp->lwp_ustack) in sendsig()
332 copyout_noerr(&lwp->lwp_sigaltstack, in sendsig()
333 (stack_t *)lwp->lwp_ustack, sizeof (stack_t)); in sendsig()
432 klwp_t *lwp = ttolwp(curthread); in sendsig32() local
438 rp = lwptoregs(lwp); in sendsig32()
446 xsave_size = SA32(fpu_signal_size(lwp)); in sendsig32()
460 !(lwp->lwp_sigaltstack.ss_flags & (SS_ONSTACK|SS_DISABLE)); in sendsig32()
463 fp = (caddr_t)(SA32((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + in sendsig32()
464 SA32(lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN32); in sendsig32()
539 (uint32_t)lwp->lwp_arg[i]); in sendsig32()
556 ret = savecontext32(tuc, &lwp->lwp_sigoldmask, SAVECTXT_F_EXTD | in sendsig32()
566 lwp->lwp_oldcontext = (uintptr_t)uc; in sendsig32()
569 lwp->lwp_sigaltstack.ss_flags |= SS_ONSTACK; in sendsig32()
570 if (lwp->lwp_ustack) { in sendsig32()
574 lwp->lwp_sigaltstack.ss_sp; in sendsig32()
576 lwp->lwp_sigaltstack.ss_size; in sendsig32()
578 lwp->lwp_sigaltstack.ss_flags; in sendsig32()
580 (stack32_t *)lwp->lwp_ustack, sizeof (stk32)); in sendsig32()