Home
last modified time | relevance | path

Searched refs:MUTEX_ENTER (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_common_impl.h121 #define MUTEX_ENTER(lock) mutex_enter(lock) macro
159 MUTEX_ENTER(&((hxge_t *)hpi_handle.hxgep)->pio_lock); \
166 MUTEX_ENTER(&((hxge_t *)hpi_handle.hxgep)->pio_lock); \
173 MUTEX_ENTER(&((hxge_t *)hpi_handle.hxgep)->pio_lock); \
179 MUTEX_ENTER(&((hxge_t *)hpi_handle.hxgep)->pio_lock); \
185 MUTEX_ENTER(&((hxge_t *)handle.hxgep)->pio_lock); \
190 MUTEX_ENTER(&((hxge_t *)handle.hxgep)->pio_lock); \
H A Dhxge_rxdma.c736 MUTEX_ENTER(&hxgep->vmac_lock); in hxge_rxdma_stop()
753 MUTEX_ENTER(&hxgep->vmac_lock); in hxge_rxdma_stop_reinit()
1016 MUTEX_ENTER(&ring->post_lock); in hxge_freeb()
1125 MUTEX_ENTER(&ring->lock); in hxge_rx_intr()
1148 MUTEX_ENTER(&ring->lock); in hxge_rx_intr()
1158 MUTEX_ENTER(&rbrp->post_lock); in hxge_rx_intr()
1222 MUTEX_ENTER(&ringp->lock); in hxge_enable_poll()
1265 MUTEX_ENTER(&ringp->lock); in hxge_disable_poll()
1344 MUTEX_ENTER(&ring->lock); in hxge_rx_poll()
1377 MUTEX_ENTER(&ring->lock); in hxge_rx_poll()
[all …]
H A Dhxge_main.c1135 MUTEX_ENTER(&hxgedebuglock); in hxge_debug_msg()
1215 MUTEX_ENTER(&hxgep->timeout.lock); in hxge_suspend()
1248 MUTEX_ENTER(&hxgep->timeout.lock); in hxge_resume()
2409 MUTEX_ENTER(hxgep->genlock); in hxge_m_start()
2432 MUTEX_ENTER(&hxgep->timeout.lock); in hxge_m_start()
2461 MUTEX_ENTER(&hxgep->timeout.lock); in hxge_m_stop()
2469 MUTEX_ENTER(hxgep->genlock); in hxge_m_stop()
2642 MUTEX_ENTER(&ring->lock); in hxge_tx_ring_start()
2663 MUTEX_ENTER(&ring->lock); in hxge_tx_ring_stop()
2687 MUTEX_ENTER(&ring->lock); in hxge_rx_ring_start()
[all …]
H A Dhpi.c49 MUTEX_ENTER(&hpidebuglock); in hpi_debug_msg()
H A Dhxge_pfc.c203 MUTEX_ENTER(&hw_p->hxge_tcam_lock); in hxge_tcam_default_add_entry()
308 MUTEX_ENTER(&hxgep->ouraddr_lock); in hxge_pfc_set_default_mac_addr()
698 MUTEX_ENTER(&hw_p->hxge_tcam_lock); in hxge_pfc_tcam_invalidate_all()
762 MUTEX_ENTER(&hw_p->hxge_vlan_lock); in hxge_pfc_vlan_tbl_clear_all()
H A Dhxge_txdma.c868 MUTEX_ENTER(&tx_ring_p->lock); in hxge_tx_intr()
1138 MUTEX_ENTER(&ring_p->lock); in hxge_txdma_fixup_channel()
1310 MUTEX_ENTER(&tx_ring_p->lock); in hxge_txdma_channel_hung()
1440 MUTEX_ENTER(&ring_p->lock); in hxge_txdma_fixup_hung_channel()
1507 MUTEX_ENTER(&tx_ring_p->lock); in hxge_reclaim_rings()
2031 MUTEX_ENTER(&tx_ring_p->lock); in hxge_unmap_txdma_channel_buf_ring()
2744 MUTEX_ENTER(&tx_ring_p->lock); in hxge_txdma_fatal_err_recover()
2874 MUTEX_ENTER(&tx_ring_p->lock); in hxge_tx_port_fatal_err_recover()
H A Dhxge_hw.c86 MUTEX_ENTER(&hw_p->hxge_cfg_lock); in hxge_hw_init_niu_common()
668 MUTEX_ENTER(hxgep->genlock); in hxge_check_hw_state()
H A Dhxge_send.c46 MUTEX_ENTER(&ring->lock); in hxge_tx_ring_task()
184 MUTEX_ENTER(&tx_ring_p->lock); in hxge_start()
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h267 # define MUTEX_ENTER(x) mutex_enter(&(x)->ipf_lk) macro
405 # define ATOMIC_INC64(x) { MUTEX_ENTER(&ipf_rw); (x)++; \
407 # define ATOMIC_DEC64(x) { MUTEX_ENTER(&ipf_rw); (x)--; \
409 # define ATOMIC_INC32(x) { MUTEX_ENTER(&ipf_rw); (x)++; \
411 # define ATOMIC_DEC32(x) { MUTEX_ENTER(&ipf_rw); (x)--; \
413 # define ATOMIC_INCL(x) { MUTEX_ENTER(&ipf_rw); (x)++; \
415 # define ATOMIC_DECL(x) { MUTEX_ENTER(&ipf_rw); (x)--; \
417 # define ATOMIC_INC(x) { MUTEX_ENTER(&ipf_rw); (x)++; \
419 # define ATOMIC_DEC(x) { MUTEX_ENTER(&ipf_rw); (x)--; \
426 # define MUTEX_ENTER(x) spinlock(&(x)->ipf_lk) macro
[all …]
H A Dip_rpcb_pxy.c212 MUTEX_ENTER(&rs->rs_rxlock);
346 MUTEX_ENTER(&rs->rs_rxlock);
374 MUTEX_ENTER(&rs->rs_rxlock);
533 MUTEX_ENTER(&rs->rs_rxlock);
904 MUTEX_ENTER(&rs->rs_rxlock);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_log.c445 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
475 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
515 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
578 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
623 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
649 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
660 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
687 MUTEX_ENTER(&ifs->ifs_ipl_mutex);
H A Dip_nat6.c817 MUTEX_ENTER(&ifs->ifs_ipf_nat_new);
951 MUTEX_ENTER(&fr->fr_lock);
1628 MUTEX_ENTER(&ifs->ifs_ipf_nat_new);
1868 MUTEX_ENTER(&ifs->ifs_ipf_nat_new);
2226 MUTEX_ENTER(&nat->nat_lock);
2534 MUTEX_ENTER(&nat->nat_lock);
H A Dip_nat.c656 MUTEX_ENTER(&ifs->ifs_ipf_natio);
1813 MUTEX_ENTER(&fr->fr_lock);
1955 MUTEX_ENTER(&nat->nat_lock);
2603 MUTEX_ENTER(&ifs->ifs_ipf_nat_new);
2735 MUTEX_ENTER(&fr->fr_lock);
3415 MUTEX_ENTER(&ifs->ifs_ipf_nat_new);
3656 MUTEX_ENTER(&ifs->ifs_ipf_nat_new);
4016 MUTEX_ENTER(&nat->nat_lock);
4343 MUTEX_ENTER(&nat->nat_lock);
5187 MUTEX_ENTER(&nat->nat_lock);
[all …]
H A Dip_state.c816 MUTEX_ENTER(&fr->fr_lock);
843 MUTEX_ENTER(&is->is_lock);
844 MUTEX_ENTER(&ifs->ifs_ipf_stinsert);
1661 MUTEX_ENTER(&is->is_lock);
2948 MUTEX_ENTER(&is->is_lock);
3353 MUTEX_ENTER(&is->is_lock);
4265 MUTEX_ENTER(&is->is_lock);
4403 MUTEX_ENTER(&next->is_lock);
H A Dfil.c5003 MUTEX_ENTER(&fr->fr_lock);
5159 MUTEX_ENTER(&ifs->ifs_ipf_timeoutlock);
5166 MUTEX_ENTER(&ifq->ifq_lock);
5283 MUTEX_ENTER(&ifq->ifq_lock);
5318 MUTEX_ENTER(&ifq->ifq_lock);
5353 MUTEX_ENTER(&ifq->ifq_lock);
5392 MUTEX_ENTER(&ifq->ifq_lock);
5432 MUTEX_ENTER(&oifq->ifq_lock);
5472 MUTEX_ENTER(&nifq->ifq_lock);
7346 MUTEX_ENTER(&next->fr_lock);
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio.c260 MUTEX_ENTER(&nxge->group_lock); in nxge_grp_cleanup()
313 MUTEX_ENTER(&nxge->group_lock); in nxge_grp_add()
359 MUTEX_ENTER(&nxge->group_lock); in nxge_grp_remove()
466 MUTEX_ENTER(&nxge->group_lock); in nxge_grp_dc_add()
480 MUTEX_ENTER(&nhd->lock); in nxge_grp_dc_add()
521 MUTEX_ENTER(&nhd->lock); in nxge_grp_dc_add()
532 MUTEX_ENTER(&nhd->lock); in nxge_grp_dc_add()
573 MUTEX_ENTER(&nhd->lock); in nxge_grp_dc_remove()
619 MUTEX_ENTER(&nhd->lock); in nxge_grp_dc_find()
657 MUTEX_ENTER(&nxge->group_lock); in nxge_grp_dc_append()
[all …]
H A Dnxge_hio_guest.c234 MUTEX_ENTER(&nhd->lock); in nxge_hio_vr_add()
399 MUTEX_ENTER(&nhd->lock); in nxge_guest_dc_alloc()
572 MUTEX_ENTER(&nhd->lock); in nxge_hio_vr_release()
855 MUTEX_ENTER(&nhd->lock); in nxge_hio_start_timer()
905 MUTEX_ENTER(nxge->genlock); in nxge_check_guest_state()
H A Dnxge_fflp.c272 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_fflp_tcam_invalidate_all()
1303 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_add_tcam_entry()
1490 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_add_tcam_entry()
1556 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_tcam_handle_ip_fragment()
1973 MUTEX_ENTER(&hw_p->nxge_vlan_lock); in nxge_fflp_config_vlan_table()
2293 MUTEX_ENTER(&nxgep->nxge_hw_p->nxge_tcam_lock); in nxge_rxclass_ioctl()
2361 MUTEX_ENTER(&nxgep->nxge_hw_p->nxge_tcam_lock); in nxge_get_tcam_entry_all()
2517 MUTEX_ENTER(&nxgep->nxge_hw_p->nxge_tcam_lock); in nxge_del_tcam_entry()
2657 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_add_iptun_class()
2749 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_is_iptun_cls_present()
[all …]
H A Dnxge_txdma.c1552 MUTEX_ENTER(&ring_p->lock); in nxge_txdma_fixup_channel()
1723 MUTEX_ENTER(&nhd->lock); in nxge_txdma_hung()
1787 MUTEX_ENTER(&tx_ring_p->lock); in nxge_txdma_channel_hung()
1968 MUTEX_ENTER(&ring_p->lock); in nxge_txdma_fixup_hung_channel()
2031 MUTEX_ENTER(&ring->lock); in nxge_reclaim_rings()
2721 MUTEX_ENTER(&tx_ring_p->lock); in nxge_unmap_txdma_channel_buf_ring()
3303 MUTEX_ENTER(&tx_ring_p->lock); in nxge_txdma_fatal_err_recover()
3452 MUTEX_ENTER(&ring->lock); in nxge_tx_port_fatal_err_recover()
H A Dnxge_fzc.c834 MUTEX_ENTER(&nhd->lock); in nxge_init_fzc_rdc_tbl()
869 MUTEX_ENTER(&nhd->lock); in rdc_tbl_bind()
940 MUTEX_ENTER(&nhd->lock); in nxge_fzc_rdc_tbl_unbind()
H A Dnxge_espc.c226 MUTEX_ENTER(&nxgep->nxge_hw_p->nxge_cfg_lock); in nxge_vpd_info_get()
H A Dnxge_rxdma.c1632 MUTEX_ENTER(&rx_rbr_p->post_lock); in nxge_post_page()
1791 MUTEX_ENTER(&rcrp->lock); in nxge_rx_intr()
2281 MUTEX_ENTER(&rx_rbr_p->lock); in nxge_receive_packet()
2742 MUTEX_ENTER(&ringp->lock); in nxge_enable_poll()
2777 MUTEX_ENTER(&ringp->lock); in nxge_disable_poll()
2866 MUTEX_ENTER(&rcr_p->lock); in nxge_rx_poll()
4583 MUTEX_ENTER(&rbrp->lock); in nxge_rxdma_fatal_err_recover()
4584 MUTEX_ENTER(&rbrp->post_lock); in nxge_rxdma_fatal_err_recover()
4710 MUTEX_ENTER(&rcrp->lock); in nxge_rx_port_fatal_err_recover()
H A Dnxge_main.c1881 MUTEX_ENTER(&nxgedebuglock); in nxge_debug_msg()
3767 MUTEX_ENTER(nxgep->genlock); in nxge_m_start()
3898 MUTEX_ENTER(nxgep->genlock); in nxge_m_stop()
5527 MUTEX_ENTER(&ring->lock); in nxge_tx_ring_start()
5546 MUTEX_ENTER(&ring->lock); in nxge_tx_ring_stop()
5564 MUTEX_ENTER(&ring->lock); in nxge_rx_ring_start()
5601 MUTEX_ENTER(&ring->lock); in nxge_rx_ring_stop()
6654 MUTEX_ENTER(&nxge_common_lock); in nxge_init_common_dev()
6779 MUTEX_ENTER(&nxge_common_lock); in nxge_uninit_common_dev()
7038 MUTEX_ENTER(&hw_p->nxge_cfg_lock); in nxge_niu_peu_reset()
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c52 MUTEX_ENTER(&npidebuglock); in npi_debug_msg()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_common_impl.h170 #define MUTEX_ENTER(lock) mutex_enter(lock) macro

12