Home
last modified time | relevance | path

Searched refs:tx_lock (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/dev/ntb/if_ntb/
H A Dif_ntb.c89 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 Dhtc.c68 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 Dhtc.h285 spinlock_t tx_lock; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dhtc.c69 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 Dhtc.h290 spinlock_t tx_lock; member
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtt_tx.c51 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 Dhtc.c103 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 Dtxrx.c66 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 Dmac.c3590 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 Dhtc.h392 spinlock_t tx_lock; member
H A Dhtt_rx.c3773 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 Dqls_os.h152 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock);
153 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
H A Dqls_def.h305 struct mtx tx_lock; member
H A Dqls_os.c369 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 Dqla_os.h150 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock);
151 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
H A Dqla_def.h161 struct mtx tx_lock; member
H A Dqla_os.c272 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 Dqla_hw.c1726 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 Dmlx4_ib_mad.c548 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 Dmlx4_ib.h420 spinlock_t tx_lock; member
/freebsd/sys/dev/xen/netback/
H A Dnetback.c499 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 Dntb_transport.c171 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 Dmlx4_en_tx.c94 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 Doce_queue.c254 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 Doce_if.c654 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()

12