Searched refs:pt_state (Results 1 – 7 of 7) sorted by relevance
338 DDBG("ptsopen: state = %x\n", ptsp->pt_state); in ptsopen()343 if ((ptsp->pt_state & PTLOCK) || !(ptsp->pt_state & PTMOPEN)) { in ptsopen()352 if (ptsp->pt_state & PTSOPEN) { in ptsopen()382 ptsp->pt_state |= PTSOPEN; in ptsopen()627 if (ptsp->pt_state & PTSTTY) { in ptswput()633 ptsp->pt_state |= PTSTTY; in ptswput()
390 pt->pt_state = (PTMOPEN | PTLOCK); in pt_ttys_alloc()529 pt->pt_state &= ~flags_to_clear; in ptms_close()530 flags = pt->pt_state; in ptms_close()614 pt->pt_state = 0; in ptms_constructor()629 ASSERT(pt->pt_state == 0); in ptms_destructor()
493 !(ptmp->pt_state & PTLOCK)) { in ptmwput()506 if ((ptmp->pt_state & PTLOCK) || in ptmwput()517 ptmp->pt_state &= ~PTLOCK; in ptmwput()589 if ((ptmp->pt_state & PTLOCK) || (ptmp->pts_rdq == NULL)) { in ptmwput()656 if ((ptmp->pt_state & PTLOCK) || (ptmp->pts_rdq == NULL)) { in ptmwsrv()
129 if (mask != 0 && !(pt.pt_state & mask)) in ptms()132 if (not_mask != 0 && (pt.pt_state & not_mask)) in ptms()153 addr, pt.pt_minor, pt.pt_state, pt.ptm_rdq, pt.pts_rdq, in ptms()160 if (!(pt.pt_state & (1 << i))) in ptms()
1176 if (ptask->pt_state == PTS_ACTIVE) { in pppt_sess_close_locked()1208 ptask->pt_state = PTS_INIT; in pppt_task_alloc()1245 ASSERT(ptask->pt_state == PTS_INIT); in pppt_task_start()1272 switch (ptask->pt_state) { in pppt_task_done()1380 switch (ptask->pt_state) { in pppt_task_try_abort()1420 if (ptask->pt_state == PTS_ACTIVE) { in pppt_task_hold()1448 ptask->pt_state, new_state); in pppt_task_update_state()1451 ptask->pt_state = new_state; in pppt_task_update_state()
174 pppt_task_state_t pt_state; member
49 ushort_t pt_state; /* state of master/slave pair */ member