/freebsd/sys/dev/ntb/if_ntb/ |
H A D | if_ntb.c | 89 struct mtx tx_lock; member 155 mtx_init(&q->tx_lock, "ntb tx", NULL, MTX_DEF); in ntb_net_attach() 156 q->br = buf_ring_alloc(4096, M_DEVBUF, M_WAITOK, &q->tx_lock); in ntb_net_attach() 208 mtx_destroy(&q->tx_lock); in ntb_net_detach() 368 if (mtx_trylock(&q->tx_lock)) { in ntb_transmit() 370 mtx_unlock(&q->tx_lock); in ntb_transmit() 381 mtx_lock(&q->tx_lock); in ntb_handle_tx() 383 mtx_unlock(&q->tx_lock); in ntb_handle_tx() 409 mtx_lock(&q->tx_lock); in ntb_qflush() 412 mtx_unlock(&q->tx_lock); in ntb_qflush()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | htc.c | 68 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 70 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 95 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send() 100 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 108 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 134 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send() 139 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 164 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report() 176 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report() 178 spin_lock_bh(&htc->tx_lock); in ath11k_htc_process_credit_report() [all …]
|
H A D | htc.h | 285 spinlock_t tx_lock; member
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | htc.c | 69 spin_lock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 71 spin_unlock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 94 spin_lock_bh(&htc->tx_lock); in ath12k_htc_send() 99 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 107 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 129 spin_lock_bh(&htc->tx_lock); in ath12k_htc_send() 134 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 159 spin_lock_bh(&htc->tx_lock); in ath12k_htc_process_credit_report() 171 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_process_credit_report() 173 spin_lock_bh(&htc->tx_lock); in ath12k_htc_process_credit_report() [all …]
|
H A D | htc.h | 290 spinlock_t tx_lock; member
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htt_tx.c | 51 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc() 93 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_sync() 120 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_recalc() 122 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_recalc() 127 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_sync() 129 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_sync() 137 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_update() 140 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_tx_txq_update() 145 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_dec_pending() 157 lockdep_assert_held(&htt->tx_lock); in ath10k_htt_tx_inc_pending() [all …]
|
H A D | htc.c | 103 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 105 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 121 spin_lock_bh(&htc->tx_lock); in ath10k_htc_consume_credit() 139 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_consume_credit() 154 spin_lock_bh(&htc->tx_lock); in ath10k_htc_release_credit() 159 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_release_credit() 263 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 275 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 277 spin_lock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() 280 spin_unlock_bh(&htc->tx_lock); in ath10k_htc_process_credit_report() [all …]
|
H A D | txrx.c | 66 spin_lock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref() 71 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref() 86 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
|
H A D | mac.c | 3590 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_lock() 3611 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_unlock() 3631 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_lock() 3642 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_unlock() 3662 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_handle_tx_pause() 3707 spin_lock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev() 3712 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev() 4288 spin_lock_bh(&ar->htt.tx_lock); in ath10k_mac_txq_unref() 4294 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_mac_txq_unref() 4402 spin_lock_bh(&ar->htt.tx_lock); in ath10k_mac_tx_push_txq() [all …]
|
H A D | htc.h | 392 spinlock_t tx_lock; member
|
H A D | htt_rx.c | 3773 spin_lock_bh(&ar->htt.tx_lock); in ath10k_htt_rx_tx_mode_switch_ind() 3776 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_htt_rx_tx_mode_switch_ind() 4303 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4305 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4310 spin_lock_bh(&htt->tx_lock); in ath10k_htt_t2h_msg_handler() 4312 spin_unlock_bh(&htt->tx_lock); in ath10k_htt_t2h_msg_handler() 4397 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4399 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler()
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.h | 152 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock); 153 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
|
H A D | qls_def.h | 305 struct mtx tx_lock; member
|
H A D | qls_os.c | 369 mtx_init(&ha->tx_lock, "qla80xx_tx_lock", MTX_NETWORK_LOCK, MTX_DEF); in qls_pci_attach() 560 mtx_destroy(&ha->tx_lock); in qls_release() 1048 if (!mtx_trylock(&ha->tx_lock)) { in qls_start()
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_os.h | 150 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock); 151 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
|
H A D | qla_def.h | 161 struct mtx tx_lock; member
|
H A D | qla_os.c | 272 mtx_init(&ha->tx_lock, "qla80xx_tx_lock", MTX_NETWORK_LOCK, MTX_DEF); in qla_pci_attach() 498 mtx_destroy(&ha->tx_lock); in qla_release() 980 if (!mtx_trylock(&ha->tx_lock)) { in qla_start()
|
H A D | qla_hw.c | 1726 if (!mtx_trylock(&ha->tx_lock)) { in qla_hw_tx_done() 1736 mtx_unlock(&ha->tx_lock); in qla_hw_tx_done()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 548 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 554 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 630 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 632 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave() 1373 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1379 spin_unlock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1418 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1420 spin_unlock(&sqp->tx_lock); in mlx4_ib_send_to_wire() 1622 spin_lock_init(&tun_qp->tx_lock); in mlx4_ib_alloc_pv_bufs() 1718 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker() [all …]
|
H A D | mlx4_ib.h | 420 spinlock_t tx_lock; member
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback.c | 499 struct mtx tx_lock; member 652 mtx_lock(&xnb->tx_lock); in xnb_disconnect() 653 mtx_unlock(&xnb->tx_lock); in xnb_disconnect() 1188 mtx_init(&xnb->tx_lock, "xnb_tx", "xen netback tx lock", MTX_DEF); in create_netdev() 1339 mtx_destroy(&xnb->tx_lock); in xnb_detach() 1434 mtx_lock(&xnb->tx_lock); in xnb_intr() 1460 mtx_unlock(&xnb->tx_lock); in xnb_intr()
|
/freebsd/sys/dev/ntb/ |
H A D | ntb_transport.c | 171 struct mtx tx_lock; member 644 mtx_init(&qp->tx_lock, "ntb transport tx", NULL, MTX_DEF); in ntb_transport_init_queue() 797 mtx_lock(&qp->tx_lock); in ntb_transport_tx_enqueue() 799 mtx_unlock(&qp->tx_lock); in ntb_transport_tx_enqueue() 1581 mtx_lock(&qp->tx_lock); in ntb_send_link_down() 1583 mtx_unlock(&qp->tx_lock); in ntb_send_link_down()
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_tx.c | 94 mtx_init(&ring->tx_lock, "mlx4 tx", NULL, MTX_DEF); in mlx4_en_create_tx_ring() 208 mtx_destroy(&ring->tx_lock); in mlx4_en_destroy_tx_ring() 976 spin_lock(&ring->tx_lock); in mlx4_en_transmit() 979 spin_unlock(&ring->tx_lock); in mlx4_en_transmit()
|
/freebsd/sys/dev/oce/ |
H A D | oce_queue.c | 254 LOCK_CREATE(&wq->tx_lock, "TX_lock"); in oce_wq_init() 259 M_WAITOK, &wq->tx_lock.mutex); in oce_wq_init() 300 LOCK_DESTROY(&wq->tx_lock); in oce_wq_free()
|
H A D | oce_if.c | 654 LOCK(&wq->tx_lock); in oce_multiq_start() 656 UNLOCK(&wq->tx_lock); in oce_multiq_start() 1342 LOCK(&wq->tx_lock); in oce_tx_task() 1348 UNLOCK(&wq->tx_lock); in oce_tx_task() 1371 LOCK(&sc->wq[def_q]->tx_lock); in oce_start() 1373 UNLOCK(&sc->wq[def_q]->tx_lock); in oce_start()
|