Lines Matching refs:tvs_lock

170 	ASSERT(MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock));  in tem_add()
178 ASSERT(MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock)); in tem_rm()
193 mutex_enter(&tem->tvs_lock); in tem_write()
196 mutex_exit(&tem->tvs_lock); in tem_write()
204 mutex_exit(&tem->tvs_lock); in tem_write()
219 ASSERT(MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&ptem->tvs_lock)); in tem_internal_init()
263 mutex_enter(&ptem->tvs_lock); in tem_initialized()
265 mutex_exit(&ptem->tvs_lock); in tem_initialized()
276 mutex_init(&ptem->tvs_lock, (char *)NULL, MUTEX_DRIVER, NULL); in tem_init()
279 mutex_enter(&ptem->tvs_lock); in tem_init()
296 mutex_exit(&ptem->tvs_lock); in tem_init()
303 mutex_exit(&ptem->tvs_lock); in tem_init()
316 ASSERT(MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock)); in tem_reinit()
327 ASSERT(tem != NULL && MUTEX_HELD(&tem->tvs_lock)); in tem_free_buf()
347 mutex_enter(&tem->tvs_lock); in tem_destroy()
358 mutex_exit(&tem->tvs_lock); in tem_destroy()
487 mutex_enter(&p->tvs_lock); in tem_info_init()
491 mutex_exit(&p->tvs_lock); in tem_info_init()
643 mutex_enter(&active->tvs_lock); in tems_modechange_callback()
646 mutex_exit(&active->tvs_lock); in tems_modechange_callback()
657 mutex_enter(&p->tvs_lock); in tems_modechange_callback()
659 mutex_exit(&p->tvs_lock); in tems_modechange_callback()
937 mutex_enter(&tem->tvs_lock); in tem_get_fbmode()
939 mutex_exit(&tem->tvs_lock); in tem_get_fbmode()
950 mutex_enter(&tem->tvs_lock); in tem_set_fbmode()
953 mutex_exit(&tem->tvs_lock); in tem_set_fbmode()
966 mutex_exit(&tem->tvs_lock); in tem_set_fbmode()
978 mutex_enter(&tem->tvs_lock); in tem_activate()
986 mutex_exit(&tem->tvs_lock); in tem_activate()
997 mutex_enter(&tobe->tvs_lock); in tem_switch()
998 mutex_enter(&cur->tvs_lock); in tem_switch()
1004 mutex_exit(&cur->tvs_lock); in tem_switch()
1012 mutex_exit(&tobe->tvs_lock); in tem_switch()