Lines Matching refs:ser_lock
112 kmutex_t ser_lock; /* Protects state and the list */ member
152 ASSERT(MUTEX_NOT_HELD(&s->ser_lock)); in serializer_exec()
170 ASSERT(MUTEX_HELD(&s->ser_lock)); in serializer_enqueue()
192 ASSERT(MUTEX_HELD(&s->ser_lock)); in serializer_drain()
208 mutex_exit(&s->ser_lock); in serializer_drain()
216 mutex_enter(&s->ser_lock); in serializer_drain()
226 mutex_enter(&s->ser_lock); in serializer_drain_completely()
242 mutex_exit(&s->ser_lock); in serializer_drain_completely()
259 ASSERT(MUTEX_NOT_HELD(&s->ser_lock)); in serializer_enter()
261 mutex_enter(&s->ser_lock); in serializer_enter()
281 mutex_exit(&s->ser_lock); in serializer_enter()
292 mutex_enter(&s->ser_lock); in serializer_enter()
329 mutex_exit(&s->ser_lock); in serializer_enter()
339 mutex_enter(&s->ser_lock); in serializer_wait()
344 cv_wait(&s->ser_cv, &s->ser_lock); in serializer_wait()
350 mutex_exit(&s->ser_lock); in serializer_wait()
385 mutex_init(&s->ser_lock, NULL, MUTEX_DEFAULT, NULL); in serializer_constructor()
403 mutex_destroy(&s->ser_lock); in serializer_destructor()