Home
last modified time | relevance | path

Searched refs:ch_reflock (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.c84 mutex_init(&ch->ch_reflock, NULL, MUTEX_DRIVER, NULL); in srpt_ch_alloc()
194 mutex_destroy(&ch->ch_reflock); in srpt_ch_alloc()
207 mutex_enter(&ch->ch_reflock); in srpt_ch_add_ref()
212 mutex_exit(&ch->ch_reflock); in srpt_ch_add_ref()
224 mutex_enter(&ch->ch_reflock); in srpt_ch_release_ref()
237 cv_wait(&ch->ch_cv_complete, &ch->ch_reflock); in srpt_ch_release_ref()
241 mutex_exit(&ch->ch_reflock); in srpt_ch_release_ref()
252 mutex_exit(&ch->ch_reflock); in srpt_ch_release_ref()
288 mutex_exit(&ch->ch_reflock); in srpt_ch_release_ref()
289 mutex_destroy(&ch->ch_reflock); in srpt_ch_release_ref()
H A Dsrpt_impl.h172 kmutex_t ch_reflock; member