Lines Matching refs:pt
1641 proc_t pt;
1669 pt = proc_find(pid);
1670 if (pt == PROC_NULL)
1678 retflags = pt->p_csflags;
1684 proc_lock(pt);
1685 if ((pt->p_csflags & CS_VALID) == CS_VALID) { /* is currently valid */
1686 pt->p_csflags &= ~CS_VALID; /* set invalid */
1687 if ((pt->p_csflags & CS_KILL) == CS_KILL) {
1688 proc_unlock(pt);
1689 psignal(pt, SIGKILL);
1691 proc_unlock(pt);
1693 proc_unlock(pt);
1698 proc_lock(pt);
1699 pt->p_csflags |= CS_HARD;
1700 if ((pt->p_csflags & CS_VALID) == 0) {
1702 proc_unlock(pt);
1706 proc_unlock(pt);
1710 proc_lock(pt);
1711 pt->p_csflags |= CS_KILL;
1712 if ((pt->p_csflags & CS_VALID) == 0) {
1713 proc_unlock(pt);
1714 psignal(pt, SIGKILL);
1716 proc_unlock(pt);
1720 tvp = pt->p_textvp;
1723 proc_rele(pt);
1745 proc_rele(pt);
1749 /* pt already holds a reference on its p_textvp */
1750 tvp = pt->p_textvp;
1751 toff = pt->p_textoff;
1754 proc_rele(pt);
1767 proc_rele(pt);