Home
last modified time | relevance | path

Searched refs:msg_thr_lock (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/sun4v/io/
H A Dvsw_txdring.c709 CALLB_CPR_INIT(&cprinfo, &ldcp->msg_thr_lock, callb_generic_cpr, in vsw_ldc_msg_worker()
711 mutex_enter(&ldcp->msg_thr_lock); in vsw_ldc_msg_worker()
721 cv_wait(&ldcp->msg_thr_cv, &ldcp->msg_thr_lock); in vsw_ldc_msg_worker()
723 CALLB_CPR_SAFE_END(&cprinfo, &ldcp->msg_thr_lock) in vsw_ldc_msg_worker()
734 mutex_exit(&ldcp->msg_thr_lock); in vsw_ldc_msg_worker()
740 mutex_enter(&ldcp->msg_thr_lock); in vsw_ldc_msg_worker()
766 mutex_enter(&ldcp->msg_thr_lock); in vsw_stop_msg_thread()
772 mutex_exit(&ldcp->msg_thr_lock); in vsw_stop_msg_thread()
H A Dvnet_txdring.c1771 CALLB_CPR_INIT(&cprinfo, &ldcp->msg_thr_lock, callb_generic_cpr, in vgen_ldc_msg_worker()
1773 mutex_enter(&ldcp->msg_thr_lock); in vgen_ldc_msg_worker()
1783 cv_wait(&ldcp->msg_thr_cv, &ldcp->msg_thr_lock); in vgen_ldc_msg_worker()
1785 CALLB_CPR_SAFE_END(&cprinfo, &ldcp->msg_thr_lock) in vgen_ldc_msg_worker()
1796 mutex_exit(&ldcp->msg_thr_lock); in vgen_ldc_msg_worker()
1799 mutex_enter(&ldcp->msg_thr_lock); in vgen_ldc_msg_worker()
1837 mutex_enter(&ldcp->msg_thr_lock); in vgen_stop_msg_thread()
1843 mutex_exit(&ldcp->msg_thr_lock); in vgen_stop_msg_thread()
H A Dvsw_ldc.c591 mutex_init(&ldcp->msg_thr_lock, NULL, MUTEX_DRIVER, NULL); in vsw_ldc_attach()
700 mutex_destroy(&ldcp->msg_thr_lock); in vsw_ldc_attach()
779 mutex_destroy(&ldcp->msg_thr_lock); in vsw_ldc_detach()
2050 mutex_enter(&ldcp->msg_thr_lock); in vsw_process_evt_read()
2055 mutex_exit(&ldcp->msg_thr_lock); in vsw_process_evt_read()
H A Dvnet_gen.c2486 mutex_init(&ldcp->msg_thr_lock, NULL, MUTEX_DRIVER, NULL); in vgen_ldc_attach()
2596 mutex_destroy(&ldcp->msg_thr_lock); in vgen_ldc_detach()
3088 mutex_enter(&ldcp->msg_thr_lock); in vgen_ldc_cb()
3093 mutex_exit(&ldcp->msg_thr_lock); in vgen_ldc_cb()
/titanic_41/usr/src/uts/sun4v/sys/
H A Dvsw_ldc.h363 kmutex_t msg_thr_lock; /* lock for message thread */ member
H A Dvnet_gen.h362 kmutex_t msg_thr_lock; /* lock for message thread */ member