Lines Matching refs:sd_lock
651 mutex_init(&stp->sd_lock, NULL, MUTEX_DEFAULT, NULL); in stream_head_constructor()
670 mutex_destroy(&stp->sd_lock); in stream_head_destructor()
938 mutex_enter(&stp->sd_lock); in str_sendsig()
941 mutex_exit(&stp->sd_lock); in str_sendsig()
1234 mutex_enter(&STREAM(qp)->sd_lock); in qreopen()
1236 mutex_exit(&STREAM(qp)->sd_lock); in qreopen()
1845 mutex_enter(&stpdown->sd_lock); in mlink_file()
1847 mutex_exit(&stpdown->sd_lock); in mlink_file()
1854 mutex_enter(&stpdown->sd_lock); in mlink_file()
1856 mutex_exit(&stpdown->sd_lock); in mlink_file()
1914 mutex_enter(&stpdown->sd_lock); in mlink_file()
1916 mutex_exit(&stpdown->sd_lock); in mlink_file()
1920 mutex_enter(&stpdown->sd_lock); in mlink_file()
1924 mutex_exit(&stpdown->sd_lock); in mlink_file()
1955 mutex_enter(&stp->sd_lock); in mlink_file()
1957 mutex_exit(&stp->sd_lock); in mlink_file()
1964 mutex_enter(&stpdown->sd_lock); in mlink_file()
1970 mutex_exit(&stpdown->sd_lock); in mlink_file()
2027 mutex_enter(&stpdown->sd_lock); in munlink()
2029 mutex_exit(&stpdown->sd_lock); in munlink()
2059 mutex_enter(&stpdown->sd_lock); in munlink()
2062 mutex_exit(&stpdown->sd_lock); in munlink()
2222 mutex_enter(&stpdown->sd_lock); in munlink()
2224 mutex_exit(&stpdown->sd_lock); in munlink()
2242 mutex_enter(&stpdown->sd_lock); in munlink()
2245 mutex_exit(&stpdown->sd_lock); in munlink()
3009 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strwaitq()
3050 mutex_exit(&stp->sd_lock); in strwaitq()
3053 mutex_enter(&stp->sd_lock); in strwaitq()
3068 mutex_enter(&stp->sd_lock); in strwaitq()
3094 rval = str_cv_wait(sleepon, &stp->sd_lock, timout, flag & STR_NOSIG); in strwaitq()
3156 ASSERT(mutex_owned(&stp->sd_lock)); in straccess()
3207 mutex_exit(&stp->sd_lock); in straccess()
3209 mutex_enter(&stp->sd_lock); in straccess()
3222 mutex_exit(&stp->sd_lock); in straccess()
3224 mutex_enter(&stp->sd_lock); in straccess()
3239 mutex_exit(&stp->sd_lock); in straccess()
3242 mutex_enter(&stp->sd_lock); in straccess()
3246 mutex_enter(&stp->sd_lock); in straccess()
3319 ASSERT(MUTEX_NOT_HELD(&stp->sd_lock)); in shfree()
4161 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strsignal_nolock()
4180 mutex_enter(&stp->sd_lock); in strsignal()
4193 mutex_exit(&stp->sd_lock); in strsignal()
4199 ASSERT(mutex_owned(&stp->sd_lock)); in strhup()
4279 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strgeterr()
4354 mutex_exit(&stp->sd_lock); in strstartplumb()
4356 &stmatep->sd_lock)) { in strstartplumb()
4357 mutex_exit(&stmatep->sd_lock); in strstartplumb()
4360 mutex_exit(&stmatep->sd_lock); in strstartplumb()
4370 mutex_exit(&stmatep->sd_lock); in strstartplumb()
4372 &stp->sd_lock)) { in strstartplumb()
4373 mutex_exit(&stp->sd_lock); in strstartplumb()
4376 mutex_exit(&stp->sd_lock); in strstartplumb()
4391 mutex_enter(&stp->sd_lock); in strstartplumb()
4395 mutex_exit(&stp->sd_lock); in strstartplumb()
4398 if (!cv_wait_sig(&stp->sd_monitor, &stp->sd_lock)) { in strstartplumb()
4399 mutex_exit(&stp->sd_lock); in strstartplumb()
4406 mutex_exit(&stp->sd_lock); in strstartplumb()
4412 mutex_exit(&stp->sd_lock); in strstartplumb()
4423 ASSERT(MUTEX_HELD(&stp->sd_lock)); in strendplumb()
4579 if (&(stp->sd_lock) > &((stp->sd_mate)->sd_lock)) { in strlock()
4604 mutex_enter(&stp->sd_lock); in strlock()
4607 mutex_exit(&stp->sd_lock); in strlock()
4609 if (mutex_tryenter(&stp->sd_lock) == 0) { in strlock()
4611 mutex_enter(&stp->sd_lock); in strlock()
4642 mutex_exit(&stp->sd_lock); in strlock()
4694 mutex_exit(&stp->sd_lock); in strunlock()
7952 mutex_enter(&stp->sd_lock); in strwaitmark()
7958 if (str_cv_wait(&rq->q_wait, &stp->sd_lock, 100, 1) == -1) { in strwaitmark()
7959 mutex_exit(&stp->sd_lock); in strwaitmark()
7970 mutex_exit(&stp->sd_lock); in strwaitmark()
7984 mutex_enter(&stp->sd_lock); in strsetrerror()
8001 mutex_exit(&stp->sd_lock); in strsetrerror()
8003 mutex_enter(&stp->sd_lock); in strsetrerror()
8008 mutex_exit(&stp->sd_lock); in strsetrerror()
8020 mutex_enter(&stp->sd_lock); in strsetwerror()
8037 mutex_exit(&stp->sd_lock); in strsetwerror()
8039 mutex_enter(&stp->sd_lock); in strsetwerror()
8044 mutex_exit(&stp->sd_lock); in strsetwerror()
8056 mutex_enter(&stp->sd_lock); in strseteof()
8059 mutex_exit(&stp->sd_lock); in strseteof()
8068 mutex_exit(&stp->sd_lock); in strseteof()
8070 mutex_enter(&stp->sd_lock); in strseteof()
8074 mutex_exit(&stp->sd_lock); in strseteof()
8082 mutex_enter(&stp->sd_lock); in strflushrq()
8084 mutex_exit(&stp->sd_lock); in strflushrq()
8093 mutex_enter(&stp->sd_lock); in strsetrputhooks()
8120 mutex_exit(&stp->sd_lock); in strsetrputhooks()
8128 mutex_enter(&stp->sd_lock); in strsetwputhooks()
8140 mutex_exit(&stp->sd_lock); in strsetwputhooks()
8148 mutex_enter(&stp->sd_lock); in strsetrwputdatahooks()
8153 mutex_exit(&stp->sd_lock); in strsetrwputdatahooks()