Lines Matching refs:lock
204 mutex_enter(&ldcp->lock);
211 mutex_exit(&ldcp->lock);
218 /* initialize the lock */
219 mutex_init(&mhdl->lock, NULL, MUTEX_DRIVER, NULL);
239 mutex_exit(&ldcp->lock);
263 mutex_enter(&mhdl->lock);
271 mutex_exit(&mhdl->lock);
274 mutex_exit(&mhdl->lock);
283 mutex_destroy(&mhdl->lock);
294 mutex_destroy(&mhdl->lock);
373 mutex_enter(&mhdl->lock);
379 mutex_exit(&mhdl->lock);
387 mutex_exit(&mhdl->lock);
391 mutex_enter(&ldcp->lock);
425 /* initialize the lock */
426 mutex_init(&mtbl->lock, NULL, MUTEX_DRIVER, NULL);
439 mutex_destroy(&mtbl->lock);
441 mutex_exit(&ldcp->lock);
442 mutex_exit(&mhdl->lock);
453 mutex_exit(&ldcp->lock);
476 /* lock the memory table - exclusive access to channel */
477 mutex_enter(&mtbl->lock);
482 mutex_exit(&mtbl->lock);
483 mutex_exit(&mhdl->lock);
561 mutex_exit(&mtbl->lock);
562 mutex_exit(&mhdl->lock);
638 mutex_exit(&mtbl->lock);
663 mutex_exit(&mhdl->lock);
684 mutex_enter(&mhdl->lock);
693 mutex_exit(&mhdl->lock);
709 mutex_exit(&mhdl->lock);
717 mutex_exit(&mhdl->lock);
744 mutex_enter(&mhdl->lock);
750 mutex_exit(&mhdl->lock);
759 /* lock the memory table - exclusive access to channel */
760 mutex_enter(&mtbl->lock);
802 mutex_exit(&mtbl->lock);
817 mutex_exit(&mhdl->lock);
841 mutex_enter(&mhdl->lock);
850 mutex_exit(&mhdl->lock);
1006 * a channel reset. we need to grab the lock
1009 mutex_enter(&ldcp->lock);
1021 mutex_exit(&ldcp->lock);
1108 mutex_enter(&ldcp->lock);
1115 mutex_exit(&ldcp->lock);
1123 mutex_exit(&ldcp->lock);
1190 mutex_exit(&ldcp->lock);
1225 mutex_exit(&ldcp->lock);
1278 mutex_enter(&mhdl->lock);
1284 mutex_exit(&mhdl->lock);
1290 mutex_enter(&ldcp->lock);
1296 mutex_exit(&ldcp->lock);
1297 mutex_exit(&mhdl->lock);
1303 mutex_exit(&ldcp->lock);
1304 mutex_exit(&mhdl->lock);
1356 mutex_exit(&ldcp->lock);
1357 mutex_exit(&mhdl->lock);
1509 mutex_exit(&ldcp->lock);
1510 mutex_exit(&mhdl->lock);
1532 mutex_enter(&mhdl->lock);
1574 mutex_exit(&mhdl->lock);
1603 mutex_enter(&mhdl->lock);
1608 mutex_exit(&mhdl->lock);
1614 mutex_exit(&mhdl->lock);
1621 mutex_exit(&mhdl->lock);
1629 mutex_exit(&mhdl->lock);
1649 mutex_exit(&mhdl->lock);
1654 mutex_exit(&mhdl->lock);
1729 /* initialize the desc ring lock */
1730 mutex_init(&dringp->lock, NULL, MUTEX_DRIVER, NULL);
1733 mutex_enter(&ldcssp->lock);
1736 mutex_exit(&ldcssp->lock);
1770 mutex_enter(&dringp->lock);
1771 mutex_enter(&ldcssp->lock);
1791 mutex_exit(&ldcssp->lock);
1792 mutex_exit(&dringp->lock);
1797 mutex_exit(&ldcssp->lock);
1802 mutex_exit(&dringp->lock);
1804 /* destroy dring lock */
1805 mutex_destroy(&dringp->lock);
1861 mutex_enter(&dringp->lock);
1867 mutex_exit(&dringp->lock);
1874 mutex_exit(&dringp->lock);
1880 mutex_exit(&dringp->lock);
1892 mutex_exit(&dringp->lock);
1904 mutex_exit(&dringp->lock);
1920 mutex_exit(&dringp->lock);
1932 mutex_exit(&dringp->lock);
1953 mutex_enter(&dringp->lock);
1959 mutex_exit(&dringp->lock);
1969 mutex_exit(&dringp->lock);
1974 mutex_exit(&dringp->lock);
1996 mutex_enter(&dringp->lock);
2002 mutex_exit(&dringp->lock);
2027 mutex_exit(&dringp->lock);
2041 mutex_exit(&dringp->lock);
2062 /* lock the memory table - exclusive access to channel */
2063 mutex_enter(&mtbl->lock);
2065 /* lock the exported dring list */
2113 mutex_exit(&mtbl->lock);
2134 mutex_enter(&dringp->lock);
2141 mutex_exit(&dringp->lock);
2150 mutex_exit(&dringp->lock);
2259 /* initialize the desc ring lock */
2260 mutex_init(&dringp->lock, NULL, MUTEX_DRIVER, NULL);
2298 mutex_enter(&dringp->lock);
2323 mutex_exit(&dringp->lock);
2337 mutex_exit(&dringp->lock);
2339 /* destroy dring lock */
2340 mutex_destroy(&dringp->lock);
2372 mutex_enter(&dringp->lock);
2377 mutex_exit(&dringp->lock);
2384 mutex_exit(&dringp->lock);
2392 mutex_exit(&dringp->lock);
2400 mutex_exit(&dringp->lock);
2421 mutex_exit(&dringp->lock);
2438 mutex_exit(&dringp->lock);
2443 mutex_exit(&dringp->lock);