Searched refs:mac_lock (Results 1 – 8 of 8) sorted by relevance
141 ASSERT(MUTEX_HELD(&vswp->mac_lock)); in vsw_hio_init()380 mutex_enter(&vswp->mac_lock); in vsw_hio_free_all_shares()440 mutex_exit(&vswp->mac_lock); in vsw_hio_free_all_shares()442 mutex_enter(&vswp->mac_lock); in vsw_hio_free_all_shares()457 mutex_exit(&vswp->mac_lock); in vsw_hio_free_all_shares()485 mutex_enter(&vswp->mac_lock); in vsw_hio_start_ports()490 mutex_exit(&vswp->mac_lock); in vsw_hio_start_ports()511 mutex_enter(&vswp->mac_lock); in vsw_hio_start()513 mutex_exit(&vswp->mac_lock); in vsw_hio_start()521 mutex_exit(&vswp->mac_lock); in vsw_hio_start()[all …]
266 ASSERT(MUTEX_HELD(&vswp->mac_lock)); in vsw_mac_open()314 ASSERT(MUTEX_HELD(&vswp->mac_lock)); in vsw_mac_close()481 mutex_enter(&vswp->mac_lock); in vsw_mac_client_init()486 mutex_exit(&vswp->mac_lock); in vsw_mac_client_init()525 ASSERT(MUTEX_HELD(&vswp->mac_lock)); in vsw_maccl_open()998 mutex_enter(&vswp->mac_lock); in vsw_port_mac_reconfig()1035 mutex_exit(&vswp->mac_lock); in vsw_port_mac_reconfig()1058 mutex_enter(&vswp->mac_lock); in vsw_if_mac_reconfig()1095 mutex_exit(&vswp->mac_lock); in vsw_if_mac_reconfig()
616 mutex_init(&vswp->mac_lock, NULL, MUTEX_DRIVER, NULL); in vsw_attach()852 mutex_enter(&vswp->mac_lock); in vsw_unattach()854 mutex_exit(&vswp->mac_lock); in vsw_unattach()910 mutex_destroy(&vswp->mac_lock); in vsw_unattach()1157 mutex_enter(&vswp->mac_lock); in vsw_m_stat()1159 mutex_exit(&vswp->mac_lock); in vsw_m_stat()1166 mutex_exit(&vswp->mac_lock); in vsw_m_stat()2331 mutex_enter(&vswp->mac_lock); in vsw_update_md_prop()2333 mutex_exit(&vswp->mac_lock); in vsw_update_md_prop()
361 mutex_enter(&vswp->mac_lock); in vsw_setup_layer2()369 mutex_exit(&vswp->mac_lock); in vsw_setup_layer2()386 mutex_exit(&vswp->mac_lock); in vsw_setup_layer2()391 mutex_exit(&vswp->mac_lock); in vsw_setup_layer2()
60 MAC_LOCK(adapter->mac_lock); in vsc_read()80 MAC_UNLOCK(adapter->mac_lock); in vsc_read()85 MAC_LOCK(adapter->mac_lock); in vsc_write()91 MAC_UNLOCK(adapter->mac_lock); in vsc_write()
153 kmutex_t mac_lock; /* protect mh */ member
241 kmutex_t mac_lock; /* lock for MAC structure */ member
600 mutex_init(&chp->mac_lock, NULL, MUTEX_DRIVER, NULL); in ch_attach()617 mutex_destroy(&chp->mac_lock); in ch_attach()679 mutex_destroy(&chp->mac_lock); in ch_attach()835 mutex_destroy(&chp->mac_lock); in ch_detach()