Lines Matching refs:tuc
145 ucontext_t *volatile tuc = NULL; in sendsig() local
312 tuc = kmem_alloc(sizeof (*tuc), KM_SLEEP); in sendsig()
314 tuc->uc_xsave = (unsigned long)(sp + sizeof (struct sigframe)); in sendsig()
317 ret = savecontext(tuc, &lwp->lwp_sigoldmask, SAVECTXT_F_EXTD | in sendsig()
323 copyout_noerr(tuc, uc, sizeof (*tuc)); in sendsig()
324 kmem_free(tuc, sizeof (*tuc)); in sendsig()
325 tuc = NULL; in sendsig()
387 if (tuc) in sendsig()
388 kmem_free(tuc, sizeof (*tuc)); in sendsig()
433 ucontext32_t *volatile tuc = NULL; in sendsig32() local
549 tuc = kmem_alloc(sizeof (*tuc), KM_SLEEP); in sendsig32()
550 fp -= SA32(sizeof (*tuc)); in sendsig32()
554 tuc->uc_xsave = (int32_t)(uintptr_t)fp; in sendsig32()
556 ret = savecontext32(tuc, &lwp->lwp_sigoldmask, SAVECTXT_F_EXTD | in sendsig32()
562 copyout_noerr(tuc, uc, sizeof (*tuc)); in sendsig32()
563 kmem_free(tuc, sizeof (*tuc)); in sendsig32()
564 tuc = NULL; in sendsig32()
626 if (tuc) in sendsig32()
627 kmem_free(tuc, sizeof (*tuc)); in sendsig32()