Home
last modified time | relevance | path

Searched refs:sd_reflock (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dddi.c506 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()
H A Dstrsubr.c652 mutex_init(&stp->sd_reflock, NULL, MUTEX_DEFAULT, NULL); in stream_head_constructor()
671 mutex_destroy(&stp->sd_reflock); in stream_head_destructor()
4586 mutex_enter(&stp1->sd_reflock); in strlock()
4589 cv_wait(&stp1->sd_refmonitor, &stp1->sd_reflock); in strlock()
4590 mutex_exit(&stp1->sd_reflock); in strlock()
4593 mutex_enter(&stp2->sd_reflock); in strlock()
4596 mutex_exit(&stp1->sd_reflock); in strlock()
4597 cv_wait(&stp2->sd_refmonitor, &stp2->sd_reflock); in strlock()
4598 mutex_exit(&stp2->sd_reflock); in strlock()
4605 mutex_enter(&stp->sd_reflock); in strlock()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dstrsubr.h205 kmutex_t sd_reflock; /* Protects sd_refcnt */ member