Lines Matching refs:vminor

705 	vldc_minor_t *vminor;
711 vminor = vport->minorp;
712 if (vminor == NULL) {
722 mutex_enter(&vminor->lock);
723 vminor->portno = VLDC_INVALID_PORTNO;
724 mutex_exit(&vminor->lock);
730 mutex_enter(&vminor->lock);
731 while (vminor->in_use > 0) {
732 cv_wait(&vminor->cv, &vminor->lock);
744 mutex_exit(&vminor->lock);
799 vldc_minor_t *vminor;
809 vminor = vport->minorp;
828 * cv_timedwait() is used to release vminor->lock and
833 (void) cv_reltimedwait(&vminor->cv, &vminor->lock,
859 if (strcmp(vminor->sname, VLDC_HVCTL_SVCNAME) == 0)
1016 vldc_minor_t *vminor;
1024 vminor = VLDCMINOR(vldcp, minor);
1025 mutex_enter(&vminor->lock);
1026 portno = vminor->portno;
1028 mutex_exit(&vminor->lock);
1037 mutex_exit(&vminor->lock);
1052 mutex_exit(&vminor->lock);
1067 vldc_minor_t *vminor;
1077 vminor = VLDCMINOR(vldcp, minor);
1078 mutex_enter(&vminor->lock);
1079 portno = vminor->portno;
1081 mutex_exit(&vminor->lock);
1089 mutex_exit(&vminor->lock);
1436 vldc_minor_t *vminor;
1445 vminor = VLDCMINOR(vldcp, minor);
1446 mutex_enter(&vminor->lock);
1447 portno = vminor->portno;
1449 mutex_exit(&vminor->lock);
1452 vminor->in_use += 1;
1453 mutex_exit(&vminor->lock);
1490 mutex_enter(&vminor->lock);
1491 vminor->in_use -= 1;
1492 if (vminor->in_use == 0) {
1493 cv_signal(&vminor->cv);
1495 mutex_exit(&vminor->lock);
1514 vldc_minor_t *vminor;
1524 vminor = VLDCMINOR(vldcp, minor);
1525 mutex_enter(&vminor->lock);
1526 portno = vminor->portno;
1528 mutex_exit(&vminor->lock);
1540 mutex_exit(&vminor->lock);
1571 mutex_exit(&vminor->lock);
1589 vldc_minor_t *vminor;
1599 vminor = VLDCMINOR(vldcp, minor);
1600 mutex_enter(&vminor->lock);
1601 portno = vminor->portno;
1603 mutex_exit(&vminor->lock);
1613 mutex_exit(&vminor->lock);
1625 mutex_exit(&vminor->lock);
1645 mutex_exit(&vminor->lock);
1663 vldc_minor_t *vminor;
1673 vminor = VLDCMINOR(vldcp, minor);
1674 mutex_enter(&vminor->lock);
1675 portno = vminor->portno;
1677 mutex_exit(&vminor->lock);
1685 mutex_exit(&vminor->lock);
1714 mutex_exit(&vminor->lock);