Searched refs:PTLOCK (Results 1 – 4 of 4) sorted by relevance
445 ptms_close(ptmp, PTMOPEN | PTLOCK); in ptmclose()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()
390 pt->pt_state = (PTMOPEN | PTLOCK); in pt_ttys_alloc()
343 if ((ptsp->pt_state & PTLOCK) || !(ptsp->pt_state & PTMOPEN)) { in ptsopen()
60 #define PTLOCK 0x01 /* master/slave pair is locked */ macro