Lines Matching refs:mutex
22 kmutex_t mutex; member
169 mutex_enter(&sp->mutex); in gg_close()
171 mutex_exit(&sp->mutex); in gg_close()
175 mutex_exit(&sp->mutex); in gg_close()
194 mutex_enter(&sp->mutex); in gg_open()
196 mutex_exit(&sp->mutex); in gg_open()
200 mutex_exit(&sp->mutex); in gg_open()
238 mutex_enter(&sp->mutex); in gg_detach()
240 mutex_exit(&sp->mutex); in gg_detach()
243 mutex_exit(&sp->mutex); in gg_detach()
245 mutex_destroy(&sp->mutex); in gg_detach()
281 mutex_init(&sp->mutex, NULL, MUTEX_DRIVER, NULL); in gg_attach()
305 mutex_enter(&sp->mutex); in gg_getinfo()
307 mutex_exit(&sp->mutex); in gg_getinfo()