Home
last modified time | relevance | path

Searched refs:mac_lock (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/uts/sun4v/io/
H A Dvsw_hio.c141 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 …]
H A Dvsw_phys.c266 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()
H A Dvsw.c616 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()
H A Dvsw_switching.c361 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()
/titanic_50/usr/src/uts/common/io/chxge/com/
H A Dvsc7326.c60 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()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvsw.h153 kmutex_t mac_lock; /* protect mh */ member
/titanic_50/usr/src/uts/common/io/chxge/
H A Dch.h241 kmutex_t mac_lock; /* lock for MAC structure */ member
H A Dch.c600 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()