Lines Matching refs:maccl_rwlock
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()
694 ASSERT(RW_WRITE_HELD(&port->maccl_rwlock)); in vsw_set_port_hw_addr()
762 ASSERT(RW_WRITE_HELD(&vswp->maccl_rwlock)); in vsw_set_if_hw_addr()
836 ASSERT(RW_WRITE_HELD(&port->maccl_rwlock)); in vsw_unset_hw_addr()
840 ASSERT(RW_WRITE_HELD(&vswp->maccl_rwlock)); in vsw_unset_hw_addr()
999 WRITE_ENTER(&portp->maccl_rwlock); in vsw_port_mac_reconfig()
1034 RW_EXIT(&portp->maccl_rwlock); in vsw_port_mac_reconfig()
1059 WRITE_ENTER(&vswp->maccl_rwlock); in vsw_if_mac_reconfig()
1094 RW_EXIT(&vswp->maccl_rwlock); in vsw_if_mac_reconfig()
1395 ASSERT(RW_WRITE_HELD(&port->maccl_rwlock)); in vsw_maccl_set_bandwidth()
1399 ASSERT(RW_WRITE_HELD(&vswp->maccl_rwlock)); in vsw_maccl_set_bandwidth()