Searched refs:sd_reflock (Results 1 – 3 of 3) sorted by relevance
506 mutex_enter(sdlock = &stp->sd_reflock); in canputnext()522 if (sdlock != &stp->sd_reflock) { in canputnext()524 mutex_enter(&stp->sd_reflock); in canputnext()530 mutex_exit(&stp->sd_reflock); in canputnext()
656 mutex_init(&stp->sd_reflock, NULL, MUTEX_DEFAULT, NULL); in stream_head_constructor()675 mutex_destroy(&stp->sd_reflock); in stream_head_destructor()4611 mutex_enter(&stp1->sd_reflock); in strlock()4614 cv_wait(&stp1->sd_refmonitor, &stp1->sd_reflock); in strlock()4615 mutex_exit(&stp1->sd_reflock); in strlock()4618 mutex_enter(&stp2->sd_reflock); in strlock()4621 mutex_exit(&stp1->sd_reflock); in strlock()4622 cv_wait(&stp2->sd_refmonitor, &stp2->sd_reflock); in strlock()4623 mutex_exit(&stp2->sd_reflock); in strlock()4630 mutex_enter(&stp->sd_reflock); in strlock()[all …]
212 kmutex_t sd_reflock; /* Protects sd_refcnt */ member