Searched refs:maccl_rwlock (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_phys.c | 141 (type == VSW_LOCALDEV) ? rw_enter(&vswp->maccl_rwlock, RW_WRITER) :\ 142 rw_enter(&port->maccl_rwlock, RW_WRITER) 145 (type == VSW_LOCALDEV) ? rw_enter(&vswp->maccl_rwlock, RW_READER) :\ 146 rw_enter(&port->maccl_rwlock, RW_READER) 149 (type == VSW_LOCALDEV) ? rw_exit(&vswp->maccl_rwlock) : \ 150 rw_exit(&port->maccl_rwlock) 393 ASSERT(RW_WRITE_HELD(&vswp->maccl_rwlock)); in vsw_mac_multicast_add_all() 398 ASSERT(RW_WRITE_HELD(&portp->maccl_rwlock)); in vsw_mac_multicast_add_all() 435 ASSERT(RW_WRITE_HELD(&vswp->maccl_rwlock)); in vsw_mac_multicast_remove_all() 440 ASSERT(RW_WRITE_HELD(&portp->maccl_rwlock)); in vsw_mac_multicast_remove_all() [all …]
|
H A D | vsw_hio.c | 205 WRITE_ENTER(&portp->maccl_rwlock); in vsw_hio_alloc_share() 207 RW_EXIT(&portp->maccl_rwlock); in vsw_hio_alloc_share() 311 WRITE_ENTER(&portp->maccl_rwlock); in vsw_hio_free_share() 313 RW_EXIT(&portp->maccl_rwlock); in vsw_hio_free_share()
|
H A D | vsw.c | 620 rw_init(&vswp->maccl_rwlock, NULL, RW_DRIVER, NULL); in vsw_attach() 906 rw_destroy(&vswp->maccl_rwlock); in vsw_unattach()
|
H A D | vsw_ldc.c | 352 rw_init(&port->maccl_rwlock, NULL, RW_DRIVER, NULL); in vsw_port_attach() 411 rw_destroy(&port->maccl_rwlock); in vsw_port_attach() 536 rw_destroy(&port->maccl_rwlock); in vsw_port_delete()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vsw.h | 155 krwlock_t maccl_rwlock; /* protect fields below */ member
|
H A D | vsw_ldc.h | 414 krwlock_t maccl_rwlock; /* protect fields below */ member
|