Home
last modified time | relevance | path

Searched refs:mcbi_lockp (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/common/sys/
H A Dmac_impl.h107 kmutex_t *mcbi_lockp; member
127 mutex_enter((mcbi)->mcbi_lockp); \
129 mutex_exit((mcbi)->mcbi_lockp); \
137 mutex_enter((mcbi)->mcbi_lockp); \
143 mutex_exit((mcbi)->mcbi_lockp); \
153 mutex_enter(mcbi->mcbi_lockp); \
158 mutex_exit(mcbi->mcbi_lockp); \
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_provider.c1206 CALLB_CPR_INIT(&cprinfo, mcbi->mcbi_lockp, callb_generic_cpr, in i_mac_notify_thread()
1209 mutex_enter(mcbi->mcbi_lockp); in i_mac_notify_thread()
1218 cv_wait(&mcbi->mcbi_cv, mcbi->mcbi_lockp); in i_mac_notify_thread()
1219 CALLB_CPR_SAFE_END(&cprinfo, mcbi->mcbi_lockp); in i_mac_notify_thread()
1229 mutex_exit(mcbi->mcbi_lockp); in i_mac_notify_thread()
1279 mutex_enter(mcbi->mcbi_lockp); in i_mac_notify_thread()
1301 mutex_enter(mcbi->mcbi_lockp); in i_mac_notify_exit()
1308 cv_wait(&mcbi->mcbi_cv, mcbi->mcbi_lockp); in i_mac_notify_exit()
1315 mutex_exit(mcbi->mcbi_lockp); in i_mac_notify_exit()
H A Dmac.c540 mip->mi_notify_cb_info.mcbi_lockp = &mip->mi_notify_lock; in i_mac_constructor()
542 mip->mi_promisc_cb_info.mcbi_lockp = &mip->mi_promisc_lock; in i_mac_constructor()
575 ASSERT(mcbi->mcbi_lockp == &mip->mi_notify_lock); in i_mac_destructor()
576 mcbi->mcbi_lockp = NULL; in i_mac_destructor()
581 ASSERT(mcbi->mcbi_lockp == &mip->mi_promisc_lock); in i_mac_destructor()
582 mcbi->mcbi_lockp = NULL; in i_mac_destructor()
653 ASSERT(MUTEX_HELD(mcbi->mcbi_lockp)); in mac_callback_add()
671 ASSERT(MUTEX_HELD(mcbi->mcbi_lockp)); in mac_callback_remove()
703 ASSERT(MUTEX_HELD(mcbi->mcbi_lockp)); in mac_callback_remove_wait()
706 cv_wait(&mcbi->mcbi_cv, mcbi->mcbi_lockp); in mac_callback_remove_wait()
[all …]
H A Dmac_client.c174 mcip->mci_tx_notify_cb_info.mcbi_lockp = &mcip->mci_tx_cb_lock; in i_mac_client_impl_ctor()
3315 mutex_enter(mcbi->mcbi_lockp); in mac_promisc_add()
3322 mutex_exit(mcbi->mcbi_lockp); in mac_promisc_add()
3364 mutex_enter(mcbi->mcbi_lockp); in mac_promisc_remove()
3381 mutex_exit(mcbi->mcbi_lockp); in mac_promisc_remove()
3703 mutex_enter(mcbi->mcbi_lockp); in mac_notify_add()
3708 mutex_exit(mcbi->mcbi_lockp); in mac_notify_add()
3719 mutex_enter(mcbi->mcbi_lockp); in mac_notify_remove_wait()
3721 mutex_exit(mcbi->mcbi_lockp); in mac_notify_remove_wait()
3738 mutex_enter(mcbi->mcbi_lockp); in mac_notify_remove()
[all …]
H A Dmac_soft_ring.c180 ringp->s_ring_notify_cb_info.mcbi_lockp = &ringp->s_ring_lock; in mac_soft_ring_create()