Lines Matching refs:sd_lock

222 	mutex_enter(&stp->sd_lock);  in push_mod()
227 mutex_exit(&stp->sd_lock); in push_mod()
276 mutex_exit(&strmatep->sd_lock); in stropen()
279 mutex_exit(&stp->sd_lock); in stropen()
281 &strmatep->sd_lock)) { in stropen()
283 mutex_exit(&strmatep->sd_lock); in stropen()
284 mutex_enter(&stp->sd_lock); in stropen()
287 mutex_exit(&strmatep->sd_lock); in stropen()
293 mutex_exit(&strmatep->sd_lock); in stropen()
296 mutex_exit(&strmatep->sd_lock); in stropen()
298 &stp->sd_lock)) { in stropen()
302 mutex_exit(&stp->sd_lock); in stropen()
308 mutex_exit(&strmatep->sd_lock); in stropen()
315 mutex_enter(&stp->sd_lock); in stropen()
322 &stp->sd_lock)) { in stropen()
326 mutex_exit(&stp->sd_lock); in stropen()
336 mutex_exit(&stp->sd_lock); in stropen()
353 mutex_enter(&stp->sd_lock); in stropen()
359 mutex_exit(&stp->sd_lock); in stropen()
421 mutex_enter(&stp->sd_lock); in stropen()
446 mutex_enter(&stp->sd_lock); in stropen()
448 mutex_exit(&stp->sd_lock); in stropen()
553 mutex_enter(&stp->sd_lock); in stropen()
555 mutex_exit(&stp->sd_lock); in stropen()
561 mutex_enter(&stp->sd_lock); in stropen()
589 mutex_exit(&stp->sd_lock); in stropen()
631 mutex_enter(&stp->sd_lock); in strclose()
633 mutex_exit(&stp->sd_lock); in strclose()
655 mutex_exit(&strmatep->sd_lock); in strclose()
656 cv_wait(&stp->sd_monitor, &stp->sd_lock); in strclose()
657 mutex_exit(&stp->sd_lock); in strclose()
663 mutex_exit(&stp->sd_lock); in strclose()
665 &strmatep->sd_lock); in strclose()
666 mutex_exit(&strmatep->sd_lock); in strclose()
674 mutex_enter(&stp->sd_lock); in strclose()
676 mutex_exit(&stp->sd_lock); in strclose()
700 mutex_enter(&stp->sd_lock); in strclose()
718 if (str_cv_wait(&qp->q_wait, &stp->sd_lock, in strclose()
725 mutex_exit(&stp->sd_lock); in strclose()
807 mutex_enter(&stp->sd_lock); in strclose()
812 mutex_exit(&stp->sd_lock); in strclose()
903 mutex_enter(&stp->sd_lock); in strclean()
928 mutex_exit(&stp->sd_lock); in strclean()
944 mutex_enter(&stp->sd_lock); in strcleanall()
956 mutex_exit(&stp->sd_lock); in strcleanall()
975 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strget()
1000 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strget()
1006 ASSERT(MUTEX_NOT_HELD(&stp->sd_lock)); in strget()
1007 mutex_enter(&stp->sd_lock); in strget()
1021 mutex_exit(&stp->sd_lock); in strget()
1023 mutex_enter(&stp->sd_lock); in strget()
1026 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strget()
1030 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strget()
1049 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strget()
1058 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strget()
1168 mutex_enter(&stp->sd_lock); in strread()
1171 mutex_exit(&stp->sd_lock); in strread()
1178 mutex_exit(&stp->sd_lock); in strread()
1190 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strread()
1198 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strread()
1242 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strread()
1270 mutex_exit(&stp->sd_lock); in strread()
1292 mutex_enter(&stp->sd_lock); in strread()
1294 mutex_exit(&stp->sd_lock); in strread()
1308 mutex_enter(&stp->sd_lock); in strread()
1377 mutex_exit(&stp->sd_lock); in strread()
1381 mutex_enter(&stp->sd_lock); in strread()
1394 mutex_enter(&stp->sd_lock); in strread()
1420 mutex_enter(&stp->sd_lock); in strread()
1422 mutex_exit(&stp->sd_lock); in strread()
1441 mutex_enter(&stp->sd_lock); in strread()
1443 mutex_exit(&stp->sd_lock); in strread()
1459 mutex_enter(&stp->sd_lock); in strread()
1461 mutex_exit(&stp->sd_lock); in strread()
1475 mutex_enter(&stp->sd_lock); in strread()
1478 mutex_exit(&stp->sd_lock); in strread()
1595 mutex_enter(&stp->sd_lock); in strrput()
1626 mutex_exit(&stp->sd_lock); in strrput()
1643 mutex_enter(&stp->sd_lock); in strrput()
1714 mutex_enter(&stp->sd_lock); in strrput()
1732 mutex_enter(&stp->sd_lock); in strrput()
1745 mutex_enter(&stp->sd_lock); in strrput()
1748 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strrput()
1775 mutex_exit(&stp->sd_lock); in strrput()
1814 mutex_exit(&stp->sd_lock); in strrput()
1816 mutex_enter(&stp->sd_lock); in strrput()
1820 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strrput()
1848 mutex_exit(&stp->sd_lock); in strrput()
1850 mutex_enter(&stp->sd_lock); in strrput()
1860 mutex_exit(&stp->sd_lock); in strrput()
1875 mutex_enter(&stp->sd_lock); in strrput()
1958 mutex_enter(&stp->sd_lock); in strrput_nondata()
1990 mutex_exit(&stp->sd_lock); in strrput_nondata()
1992 mutex_enter(&stp->sd_lock); in strrput_nondata()
1998 mutex_exit(&stp->sd_lock); in strrput_nondata()
2023 mutex_exit(&stp->sd_lock); in strrput_nondata()
2027 mutex_enter(&stp->sd_lock); in strrput_nondata()
2038 mutex_exit(&stp->sd_lock); in strrput_nondata()
2040 mutex_enter(&stp->sd_lock); in strrput_nondata()
2046 mutex_exit(&stp->sd_lock); in strrput_nondata()
2074 mutex_enter(&stp->sd_lock); in strrput_nondata()
2097 mutex_exit(&stp->sd_lock); in strrput_nondata()
2102 mutex_enter(&stp->sd_lock); in strrput_nondata()
2105 mutex_exit(&stp->sd_lock); in strrput_nondata()
2120 mutex_enter(&stp->sd_lock); in strrput_nondata()
2124 mutex_exit(&stp->sd_lock); in strrput_nondata()
2127 mutex_exit(&stp->sd_lock); in strrput_nondata()
2144 mutex_enter(&stp->sd_lock); in strrput_nondata()
2149 mutex_exit(&stp->sd_lock); in strrput_nondata()
2151 mutex_exit(&stp->sd_lock); in strrput_nondata()
2169 mutex_enter(&stp->sd_lock); in strrput_nondata()
2182 mutex_exit(&stp->sd_lock); in strrput_nondata()
2209 mutex_enter(&stp->sd_lock); in strrput_nondata()
2225 mutex_exit(&stp->sd_lock); in strrput_nondata()
2234 mutex_exit(&stp->sd_lock); in strrput_nondata()
2247 mutex_enter(&stp->sd_lock); in strrput_nondata()
2258 mutex_exit(&stp->sd_lock); in strrput_nondata()
2268 mutex_exit(&stp->sd_lock); in strrput_nondata()
2280 mutex_enter(&stp->sd_lock); in strrput_nondata()
2414 mutex_exit(&stp->sd_lock); in strrput_nondata()
2445 mutex_enter(&stp->sd_lock); in strrput_nondata()
2460 mutex_exit(&stp->sd_lock); in strrput_nondata()
2463 mutex_exit(&stp->sd_lock); in strrput_nondata()
2500 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strwriteable()
2551 ASSERT(MUTEX_NOT_HELD(&stp->sd_lock)); in strput()
2740 mutex_enter(&stp->sd_lock); in strwrite_common()
2743 mutex_exit(&stp->sd_lock); in strwrite_common()
2750 mutex_exit(&stp->sd_lock); in strwrite_common()
2755 mutex_exit(&stp->sd_lock); in strwrite_common()
2833 mutex_enter(&stp->sd_lock); in strwrite_common()
2841 mutex_exit(&stp->sd_lock); in strwrite_common()
2848 mutex_exit(&stp->sd_lock); in strwrite_common()
2858 mutex_exit(&stp->sd_lock); in strwrite_common()
2861 mutex_exit(&stp->sd_lock); in strwrite_common()
2870 mutex_enter(&stp->sd_lock); in strwrite_common()
2872 mutex_exit(&stp->sd_lock); in strwrite_common()
2915 mutex_enter(&stp->sd_lock); in strwsrv()
2922 mutex_exit(&stp->sd_lock); in strwsrv()
2951 mutex_enter(&stp->sd_lock); in strwsrv()
2954 mutex_exit(&stp->sd_lock); in strwsrv()
2988 mutex_enter(&stp->sd_lock); in strwsrv()
2992 mutex_exit(&stp->sd_lock); in strwsrv()
3238 mutex_enter(&stp->sd_lock); in strioctl()
3240 mutex_exit(&stp->sd_lock); in strioctl()
3243 mutex_exit(&stp->sd_lock); in strioctl()
3265 mutex_enter(&stp->sd_lock); in strioctl()
3280 mutex_exit(&stp->sd_lock); in strioctl()
3290 mutex_exit(&stp->sd_lock); in strioctl()
3296 mutex_exit(&stp->sd_lock); in strioctl()
3385 mutex_enter(&stp->sd_lock); in strioctl()
3390 mutex_exit(&stp->sd_lock); in strioctl()
3394 mutex_exit(&stp->sd_lock); in strioctl()
3528 mutex_enter(&stp->sd_lock); in strioctl()
3531 mutex_exit(&stp->sd_lock); in strioctl()
3534 mutex_exit(&stp->sd_lock); in strioctl()
3582 mutex_enter(&stp->sd_lock); in strioctl()
3584 mutex_exit(&stp->sd_lock); in strioctl()
3588 mutex_exit(&stp->sd_lock); in strioctl()
3796 mutex_enter(&stp->sd_lock); in strioctl()
3800 mutex_exit(&stp->sd_lock); in strioctl()
3803 mutex_exit(&stp->sd_lock); in strioctl()
3822 mutex_enter(&stp->sd_lock); in strioctl()
3851 mutex_exit(&stp->sd_lock); in strioctl()
3876 mutex_enter(&stp->sd_lock); in strioctl()
3885 mutex_exit(&stp->sd_lock); in strioctl()
3891 mutex_exit(&stp->sd_lock); in strioctl()
3903 mutex_enter(&stp->sd_lock); in strioctl()
3937 mutex_exit(&stp->sd_lock); in strioctl()
4075 mutex_enter(&stp->sd_lock); in strioctl()
4080 mutex_exit(&stp->sd_lock); in strioctl()
4094 mutex_exit(&stp->sd_lock); in strioctl()
4099 mutex_exit(&stp->sd_lock); in strioctl()
4117 mutex_enter(&stp->sd_lock); in strioctl()
4119 mutex_exit(&stp->sd_lock); in strioctl()
4123 mutex_enter(&stp->sd_lock); in strioctl()
4162 mutex_exit(&stp->sd_lock); in strioctl()
4231 mutex_enter(&stp->sd_lock); in strioctl()
4233 mutex_exit(&stp->sd_lock); in strioctl()
4245 mutex_enter(&stp->sd_lock); in strioctl()
4247 mutex_exit(&stp->sd_lock); in strioctl()
4256 mutex_enter(&stp->sd_lock); in strioctl()
4303 mutex_exit(&stp->sd_lock); in strioctl()
4314 mutex_enter(&stp->sd_lock); in strioctl()
4317 mutex_exit(&stp->sd_lock); in strioctl()
4323 mutex_exit(&stp->sd_lock); in strioctl()
4328 mutex_exit(&stp->sd_lock); in strioctl()
4500 mutex_enter(&stp->sd_lock); in strioctl()
4530 mutex_exit(&stp->sd_lock); in strioctl()
4562 mutex_enter(&stp->sd_lock); in strioctl()
4579 mutex_exit(&stp->sd_lock); in strioctl()
4614 mutex_enter(&stp->sd_lock); in strioctl()
4622 mutex_exit(&stp->sd_lock); in strioctl()
4626 mutex_exit(&stp->sd_lock); in strioctl()
4666 mutex_exit(&stp->sd_lock); in strioctl()
4677 mutex_exit(&stp->sd_lock); in strioctl()
4691 mutex_enter(&stp->sd_lock); in strioctl()
4696 mutex_exit(&stp->sd_lock); in strioctl()
4699 mutex_exit(&stp->sd_lock); in strioctl()
4762 mutex_enter(&stp->sd_lock); in strioctl()
4771 mutex_exit(&stp->sd_lock); in strioctl()
4779 mutex_exit(&stp->sd_lock); in strioctl()
4822 mutex_exit(&stp->sd_lock); in strioctl()
4836 mutex_exit(&stp->sd_lock); in strioctl()
4880 mutex_enter(&stp->sd_lock); in strioctl()
4887 mutex_exit(&stp->sd_lock); in strioctl()
4893 mutex_exit(&stp->sd_lock); in strioctl()
5142 mutex_enter(&resstp->sd_lock); in strioctl()
5147 mutex_exit(&resstp->sd_lock); in strioctl()
5152 mutex_exit(&resstp->sd_lock); in strioctl()
5220 mutex_enter(&stp->sd_lock); in strioctl()
5225 mutex_exit(&stp->sd_lock); in strioctl()
5230 mutex_exit(&stp->sd_lock); in strioctl()
5236 mutex_exit(&stp->sd_lock); in strioctl()
5303 mutex_enter(&stp->sd_lock); in strioctl()
5306 mutex_exit(&stp->sd_lock); in strioctl()
5311 mutex_exit(&stp->sd_lock); in strioctl()
5315 mutex_exit(&stp->sd_lock); in strioctl()
5321 mutex_exit(&stp->sd_lock); in strioctl()
5324 mutex_exit(&stp->sd_lock); in strioctl()
5328 mutex_enter(&stp->sd_lock); in strioctl()
5330 mutex_exit(&stp->sd_lock); in strioctl()
5340 mutex_enter(&stp->sd_lock); in strioctl()
5342 mutex_exit(&stp->sd_lock); in strioctl()
5374 mutex_enter(&stp->sd_lock); in strioctl()
5376 mutex_exit(&stp->sd_lock); in strioctl()
5409 mutex_enter(&stp->sd_lock); in strioctl()
5415 mutex_exit(&stp->sd_lock); in strioctl()
5538 mutex_enter(&stp->sd_lock); in strioctl()
5555 mutex_exit(&stp->sd_lock); in strioctl()
5598 mutex_enter(&stp->sd_lock); in strioctl()
5600 mutex_exit(&stp->sd_lock); in strioctl()
5604 mutex_exit(&stp->sd_lock); in strioctl()
5618 mutex_enter(&stp->sd_lock); in strioctl()
5622 mutex_exit(&stp->sd_lock); in strioctl()
5627 mutex_exit(&stp->sd_lock); in strioctl()
5632 mutex_exit(&stp->sd_lock); in strioctl()
5638 mutex_exit(&stp->sd_lock); in strioctl()
5650 mutex_exit(&stp->sd_lock); in strioctl()
5658 mutex_enter(&stp->sd_lock); in strioctl()
5660 mutex_exit(&stp->sd_lock); in strioctl()
5664 mutex_exit(&stp->sd_lock); in strioctl()
5945 mutex_enter(&stp->sd_lock); in strdoioctl()
5947 mutex_exit(&stp->sd_lock); in strdoioctl()
5969 mutex_enter(&stp->sd_lock); in strdoioctl()
5977 cv_rval = str_cv_wait(&stp->sd_iocmonitor, &stp->sd_lock, in strdoioctl()
6013 mutex_exit(&stp->sd_lock); in strdoioctl()
6045 mutex_exit(&stp->sd_lock); in strdoioctl()
6063 mutex_enter(&stp->sd_lock); in strdoioctl()
6079 mutex_exit(&stp->sd_lock); in strdoioctl()
6090 cv_rval = str_cv_wait(&stp->sd_monitor, &stp->sd_lock, in strdoioctl()
6131 mutex_exit(&stp->sd_lock); in strdoioctl()
6145 mutex_enter(&stp->sd_lock); in strdoioctl()
6152 mutex_exit(&stp->sd_lock); in strdoioctl()
6172 mutex_exit(&stp->sd_lock); in strdoioctl()
6179 mutex_exit(&stp->sd_lock); in strdoioctl()
6271 mutex_enter(&stp->sd_lock); in strdoioctl()
6274 mutex_exit(&stp->sd_lock); in strdoioctl()
6315 mutex_enter(&stp->sd_lock); in strdoioctl()
6318 mutex_exit(&stp->sd_lock); in strdoioctl()
6326 mutex_enter(&stp->sd_lock); in strdoioctl()
6329 mutex_exit(&stp->sd_lock); in strdoioctl()
6399 mutex_enter(&stp->sd_lock); in strdocmd()
6401 mutex_exit(&stp->sd_lock); in strdocmd()
6407 mutex_exit(&stp->sd_lock); in strdocmd()
6417 mutex_enter(&stp->sd_lock); in strdocmd()
6424 rval = str_cv_wait(&stp->sd_monitor, &stp->sd_lock, timeout, 0); in strdocmd()
6442 mutex_exit(&stp->sd_lock); in strdocmd()
6469 mutex_exit(&stp->sd_lock); in strdocmd()
6535 mutex_enter(&stp->sd_lock); in strgetmsg()
6538 mutex_exit(&stp->sd_lock); in strgetmsg()
6545 mutex_exit(&stp->sd_lock); in strgetmsg()
6549 mutex_exit(&stp->sd_lock); in strgetmsg()
6579 mutex_enter(&stp->sd_lock); in strgetmsg()
6612 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strgetmsg()
6668 mutex_exit(&stp->sd_lock); in strgetmsg()
6679 mutex_exit(&stp->sd_lock); in strgetmsg()
6685 mutex_exit(&stp->sd_lock); in strgetmsg()
6718 mutex_exit(&stp->sd_lock); in strgetmsg()
6729 mutex_exit(&stp->sd_lock); in strgetmsg()
6755 mutex_enter(&stp->sd_lock); in strgetmsg()
6809 mutex_enter(&stp->sd_lock); in strgetmsg()
6839 mutex_enter(&stp->sd_lock); in strgetmsg()
6955 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strgetmsg()
6966 mutex_exit(&stp->sd_lock); in strgetmsg()
6970 mutex_enter(&stp->sd_lock); in strgetmsg()
7027 mutex_exit(&stp->sd_lock); in strgetmsg()
7029 mutex_enter(&stp->sd_lock); in strgetmsg()
7036 mutex_exit(&stp->sd_lock); in strgetmsg()
7098 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7101 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7112 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7117 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7135 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7152 ASSERT(MUTEX_HELD(&stp->sd_lock)); in kstrgetmsg()
7205 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7224 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7253 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7259 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7286 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7306 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7333 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7358 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7373 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7375 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7471 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7498 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7628 ASSERT(MUTEX_HELD(&stp->sd_lock)); in kstrgetmsg()
7639 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7643 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7700 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7702 mutex_enter(&stp->sd_lock); in kstrgetmsg()
7709 mutex_exit(&stp->sd_lock); in kstrgetmsg()
7756 mutex_enter(&stp->sd_lock); in strputmsg()
7759 mutex_exit(&stp->sd_lock); in strputmsg()
7766 mutex_exit(&stp->sd_lock); in strputmsg()
7771 mutex_exit(&stp->sd_lock); in strputmsg()
7869 mutex_enter(&stp->sd_lock); in strputmsg()
7877 mutex_exit(&stp->sd_lock); in strputmsg()
7884 mutex_exit(&stp->sd_lock); in strputmsg()
7893 mutex_exit(&stp->sd_lock); in strputmsg()
7896 mutex_exit(&stp->sd_lock); in strputmsg()
7947 mutex_enter(&stp->sd_lock); in kstrputmsg()
7950 mutex_exit(&stp->sd_lock); in kstrputmsg()
7959 mutex_exit(&stp->sd_lock); in kstrputmsg()
7966 mutex_exit(&stp->sd_lock); in kstrputmsg()
8104 mutex_enter(&stp->sd_lock); in kstrputmsg()
8112 mutex_exit(&stp->sd_lock); in kstrputmsg()
8127 mutex_exit(&stp->sd_lock); in kstrputmsg()
8137 mutex_exit(&stp->sd_lock); in kstrputmsg()
8141 mutex_exit(&stp->sd_lock); in kstrputmsg()
8275 polllock(&stp->sd_pollist, &stp->sd_lock); in strpoll()
8316 mutex_exit(&stp->sd_lock); in strpoll()
8328 polllock(&stp->sd_pollist, &stp->sd_lock); in strpoll()
8334 mutex_exit(&stp->sd_lock); in strpoll()
8352 ASSERT(MUTEX_HELD(&stp->sd_lock)); in putback()
8471 mutex_exit(&stp->sd_lock); in putback()
8473 mutex_enter(&stp->sd_lock); in putback()
8569 mutex_enter(&stp->sd_lock); in str_cn_clean()
8600 mutex_exit(&stp->sd_lock); in str_cn_clean()