Home
last modified time | relevance | path

Searched refs:sm_lock (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_mac.c81 ASSERT(mutex_owned(&(smp->sm_lock))); in _sfxge_mac_stat_update()
138 ASSERT(mutex_owned(&(smp->sm_lock))); in sfxge_mac_kstat_update()
210 ksp->ks_lock = &(smp->sm_lock); in sfxge_mac_kstat_init()
256 mutex_enter(&(smp->sm_lock)); in sfxge_mac_stat_get()
266 mutex_exit(&(smp->sm_lock)); in sfxge_mac_stat_get()
279 mutex_enter(&(smp->sm_lock)); in sfxge_mac_poll()
308 &(smp->sm_lock), timeout) < 0) { in sfxge_mac_poll()
315 mutex_exit(&(smp->sm_lock)); in sfxge_mac_poll()
324 ASSERT(mutex_owned(&(smp->sm_lock))); in sfxge_mac_poll_start()
336 ASSERT(mutex_owned(&(smp->sm_lock))); in sfxge_mac_poll_stop()
[all …]
H A Dsfxge_mon.c80 ASSERT(mutex_owned(&(smp->sm_lock))); in sfxge_mon_kstat_update()
161 ksp->ks_lock = &(smp->sm_lock); in sfxge_mon_kstat_init()
223 mutex_init(&(smp->sm_lock), NULL, MUTEX_DRIVER, NULL); in sfxge_mon_init()
258 mutex_destroy(&(smp->sm_lock)); in sfxge_mon_init()
273 mutex_enter(&(smp->sm_lock)); in sfxge_mon_start()
282 mutex_exit(&(smp->sm_lock)); in sfxge_mon_start()
289 mutex_exit(&(smp->sm_lock)); in sfxge_mon_start()
299 mutex_enter(&(smp->sm_lock)); in sfxge_mon_stop()
307 mutex_exit(&(smp->sm_lock)); in sfxge_mon_stop()
322 mutex_destroy(&(smp->sm_lock)); in sfxge_mon_fini()
H A Dsfxge_mcdi.c91 mutex_enter(&(smp->sm_lock)); in sfxge_mcdi_acquire()
95 (void) cv_wait(&(smp->sm_kv), &(smp->sm_lock)); in sfxge_mcdi_acquire()
99 mutex_exit(&(smp->sm_lock)); in sfxge_mcdi_acquire()
107 mutex_enter(&(smp->sm_lock)); in sfxge_mcdi_release()
114 mutex_exit(&(smp->sm_lock)); in sfxge_mcdi_release()
186 mutex_enter(&(smp->sm_lock)); in sfxge_mcdi_ev_cpl()
190 mutex_exit(&(smp->sm_lock)); in sfxge_mcdi_ev_cpl()
299 mutex_init(&(smp->sm_lock), NULL, MUTEX_DRIVER, NULL); in sfxge_mcdi_init()
323 mutex_destroy(&(smp->sm_lock)); in sfxge_mcdi_init()
346 mutex_enter(&(smp->sm_lock)); in sfxge_mcdi_fini()
[all …]
H A Dsfxge_phy.c89 ASSERT(mutex_owned(&(smp->sm_lock))); in sfxge_phy_kstat_update()
158 ksp->ks_lock = &(sp->s_mac.sm_lock); in sfxge_phy_kstat_init()
233 mutex_enter(&(smp->sm_lock)); in sfxge_phy_lp_cap_test()
241 mutex_exit(&(smp->sm_lock)); in sfxge_phy_lp_cap_test()
260 ASSERT(mutex_owned(&(smp->sm_lock))); in sfxge_phy_cap_apply()
318 mutex_enter(&(smp->sm_lock)); in sfxge_phy_cap_test()
328 mutex_exit(&(smp->sm_lock)); in sfxge_phy_cap_test()
345 mutex_enter(&(smp->sm_lock)); in sfxge_phy_cap_set()
365 mutex_exit(&(smp->sm_lock)); in sfxge_phy_cap_set()
H A Dsfxge.h128 kmutex_t sm_lock; member
157 kmutex_t sm_lock; member
186 kmutex_t sm_lock; member
H A Dsfxge_rx.c2610 mutex_enter(&(smp->sm_lock)); in sfxge_rx_start()
2665 mutex_exit(&(smp->sm_lock)); in sfxge_rx_start()
2702 mutex_enter(&(smp->sm_lock)); in sfxge_rx_start()
2710 mutex_exit(&(smp->sm_lock)); in sfxge_rx_start()
2768 mutex_enter(&(smp->sm_lock)); in sfxge_rx_stop()
2777 mutex_exit(&(smp->sm_lock)); in sfxge_rx_stop()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c6199 mutex_t sm_lock; /* protects the remaining fields */ member
6471 mutex_enter(&sms->sm_lock); in share_mount_one_cb()
6477 mutex_exit(&sms->sm_lock); in share_mount_one_cb()
6601 (void) mutex_init(&share_mount_state.sm_lock, in share_mount()