Lines Matching refs:ser_lock
114 kmutex_t ser_lock; /* Protects state and the list */ member
154 ASSERT(MUTEX_NOT_HELD(&s->ser_lock)); in serializer_exec()
172 ASSERT(MUTEX_HELD(&s->ser_lock)); in serializer_enqueue()
194 ASSERT(MUTEX_HELD(&s->ser_lock)); in serializer_drain()
210 mutex_exit(&s->ser_lock); in serializer_drain()
218 mutex_enter(&s->ser_lock); in serializer_drain()
228 mutex_enter(&s->ser_lock); in serializer_drain_completely()
244 mutex_exit(&s->ser_lock); in serializer_drain_completely()
261 ASSERT(MUTEX_NOT_HELD(&s->ser_lock)); in serializer_enter()
263 mutex_enter(&s->ser_lock); in serializer_enter()
283 mutex_exit(&s->ser_lock); in serializer_enter()
294 mutex_enter(&s->ser_lock); in serializer_enter()
331 mutex_exit(&s->ser_lock); in serializer_enter()
341 mutex_enter(&s->ser_lock); in serializer_wait()
346 cv_wait(&s->ser_cv, &s->ser_lock); in serializer_wait()
352 mutex_exit(&s->ser_lock); in serializer_wait()
387 mutex_init(&s->ser_lock, NULL, MUTEX_DEFAULT, NULL); in serializer_constructor()
405 mutex_destroy(&s->ser_lock); in serializer_destructor()