Home
last modified time | relevance | path

Searched refs:srs_lock (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c1149 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
1185 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
1196 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
1219 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
1239 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
1262 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
1298 ASSERT(MUTEX_HELD(&(srs)->srs_lock)); \
1388 mutex_enter(&srs->srs_lock); in mac_rx_drop_pkt()
1391 mutex_exit(&srs->srs_lock); in mac_rx_drop_pkt()
1409 mutex_enter(&mac_srs->srs_lock); in mac_srs_fire()
[all …]
H A Dmac_soft_ring.c191 mutex_enter(&mac_srs->srs_lock); in mac_soft_ring_create()
193 mutex_exit(&mac_srs->srs_lock); in mac_soft_ring_create()
401 mutex_enter(&mac_srs->srs_lock); in mac_rx_soft_ring_drain()
404 mutex_exit(&mac_srs->srs_lock); in mac_rx_soft_ring_drain()
453 mutex_enter(&srs->srs_lock); in mac_soft_ring_worker()
460 mutex_exit(&srs->srs_lock); in mac_soft_ring_worker()
465 mutex_enter(&srs->srs_lock); in mac_soft_ring_worker()
473 mutex_exit(&srs->srs_lock); in mac_soft_ring_worker()
482 mutex_exit(&srs->srs_lock); in mac_soft_ring_worker()
585 mutex_enter(&mac_srs->srs_lock); in mac_soft_ring_poll()
[all …]
H A Dmac_datapath_setup.c242 mutex_enter(&mac_srs->srs_lock); in mac_srs_soft_rings_free()
249 mutex_exit(&mac_srs->srs_lock); in mac_srs_soft_rings_free()
264 mutex_enter(&mac_srs->srs_lock); in mac_srs_add_glist()
278 mutex_exit(&mac_srs->srs_lock); in mac_srs_add_glist()
288 mutex_enter(&mac_srs->srs_lock); in mac_srs_remove_glist()
303 mutex_exit(&mac_srs->srs_lock); in mac_srs_remove_glist()
449 mutex_enter(&mac_srs->srs_lock); in mac_srs_client_poll_disable()
452 mutex_exit(&mac_srs->srs_lock); in mac_srs_client_poll_disable()
456 mutex_exit(&mac_srs->srs_lock); in mac_srs_client_poll_disable()
1234 mutex_enter(&mac_srs->srs_lock); in mac_srs_worker_bind()
[all …]
H A Dmac_stat.c880 mutex_enter(&mac_srs->srs_lock); in i_mac_rx_fanout_stat_get()
909 mutex_exit(&mac_srs->srs_lock); in i_mac_rx_fanout_stat_get()
H A Dmac.c2215 mutex_enter(&srs->srs_lock); in mac_srs_quiesce_wait()
2217 cv_wait(&srs->srs_quiesce_done_cv, &srs->srs_lock); in mac_srs_quiesce_wait()
2218 mutex_exit(&srs->srs_lock); in mac_srs_quiesce_wait()
2340 mutex_enter(&srs->srs_lock); in mac_srs_clear_flag()
2342 mutex_exit(&srs->srs_lock); in mac_srs_clear_flag()
2435 mutex_enter(&mac_srs->srs_lock); in mac_srs_perm_quiesce()
2440 mutex_exit(&mac_srs->srs_lock); in mac_srs_perm_quiesce()
H A Dmac_client.c3628 mutex_enter(&srs->srs_lock); in mac_tx()
3631 mutex_exit(&srs->srs_lock); in mac_tx()
3752 mutex_enter(&mac_srs->srs_lock); in mac_tx_is_flow_blocked()
3782 mutex_exit(&mac_srs->srs_lock); in mac_tx_is_flow_blocked()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c2091 ASSERT(mutex_owned(&(srsp->srs_lock))); in sfxge_rx_scale_kstat_update()
2155 ksp->ks_lock = &(srsp->srs_lock); in sfxge_rx_scale_kstat_init()
2216 mutex_init(&(srsp->srs_lock), NULL, MUTEX_DRIVER, NULL); in sfxge_rx_scale_init()
2235 mutex_destroy(&(srsp->srs_lock)); in sfxge_rx_scale_init()
2253 mutex_enter(&(srsp->srs_lock)); in sfxge_rx_scale_update()
2346 mutex_exit(&(srsp->srs_lock)); in sfxge_rx_scale_update()
2359 mutex_exit(&(srsp->srs_lock)); in sfxge_rx_scale_update()
2368 mutex_enter(&(srsp->srs_lock)); in sfxge_rx_scale_start()
2383 mutex_exit(&(srsp->srs_lock)); in sfxge_rx_scale_start()
2394 mutex_exit(&(srsp->srs_lock)); in sfxge_rx_scale_start()
[all …]
H A Dsfxge.h688 kmutex_t srs_lock; member
/illumos-gate/usr/src/uts/common/sys/
H A Dmac_soft_ring.h303 kmutex_t srs_lock; member
532 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \
579 ASSERT(MUTEX_HELD(&(mac_srs)->srs_lock)); \