Home
last modified time | relevance | path

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

/titanic_41/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_41/usr/src/uts/common/io/mac/
H A Dmac_provider.c1193 CALLB_CPR_INIT(&cprinfo, mcbi->mcbi_lockp, callb_generic_cpr, in i_mac_notify_thread()
1196 mutex_enter(mcbi->mcbi_lockp); in i_mac_notify_thread()
1205 cv_wait(&mcbi->mcbi_cv, mcbi->mcbi_lockp); in i_mac_notify_thread()
1206 CALLB_CPR_SAFE_END(&cprinfo, mcbi->mcbi_lockp); in i_mac_notify_thread()
1216 mutex_exit(mcbi->mcbi_lockp); in i_mac_notify_thread()
1266 mutex_enter(mcbi->mcbi_lockp); in i_mac_notify_thread()
1288 mutex_enter(mcbi->mcbi_lockp); in i_mac_notify_exit()
1295 cv_wait(&mcbi->mcbi_cv, mcbi->mcbi_lockp); in i_mac_notify_exit()
1302 mutex_exit(mcbi->mcbi_lockp); in i_mac_notify_exit()
H A Dmac.c543 mip->mi_notify_cb_info.mcbi_lockp = &mip->mi_notify_lock; in i_mac_constructor()
545 mip->mi_promisc_cb_info.mcbi_lockp = &mip->mi_promisc_lock; in i_mac_constructor()
578 ASSERT(mcbi->mcbi_lockp == &mip->mi_notify_lock); in i_mac_destructor()
579 mcbi->mcbi_lockp = NULL; in i_mac_destructor()
584 ASSERT(mcbi->mcbi_lockp == &mip->mi_promisc_lock); in i_mac_destructor()
585 mcbi->mcbi_lockp = NULL; in i_mac_destructor()
656 ASSERT(MUTEX_HELD(mcbi->mcbi_lockp)); in mac_callback_add()
674 ASSERT(MUTEX_HELD(mcbi->mcbi_lockp)); in mac_callback_remove()
706 ASSERT(MUTEX_HELD(mcbi->mcbi_lockp)); in mac_callback_remove_wait()
709 cv_wait(&mcbi->mcbi_cv, mcbi->mcbi_lockp); in mac_callback_remove_wait()
[all …]
H A Dmac_client.c173 mcip->mci_tx_notify_cb_info.mcbi_lockp = &mcip->mci_tx_cb_lock; in i_mac_client_impl_ctor()
3299 mutex_enter(mcbi->mcbi_lockp); in mac_promisc_add()
3306 mutex_exit(mcbi->mcbi_lockp); in mac_promisc_add()
3348 mutex_enter(mcbi->mcbi_lockp); in mac_promisc_remove()
3365 mutex_exit(mcbi->mcbi_lockp); in mac_promisc_remove()
3687 mutex_enter(mcbi->mcbi_lockp); in mac_notify_add()
3692 mutex_exit(mcbi->mcbi_lockp); in mac_notify_add()
3703 mutex_enter(mcbi->mcbi_lockp); in mac_notify_remove_wait()
3705 mutex_exit(mcbi->mcbi_lockp); in mac_notify_remove_wait()
3722 mutex_enter(mcbi->mcbi_lockp); in mac_notify_remove()
[all …]
H A Dmac_soft_ring.c179 ringp->s_ring_notify_cb_info.mcbi_lockp = &ringp->s_ring_lock; in mac_soft_ring_create()