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

/freebsd-10.0-release/sys/dev/qlxgb/
H A Dqla_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 Dqla_def.h161 struct mtx tx_lock; member in struct:qla_host
H A Dqla_os.c275 mtx_init(&ha->tx_lock, "qla80xx_tx_lock", MTX_NETWORK_LOCK, MTX_DEF);
505 mtx_destroy(&ha->tx_lock);
996 if (!mtx_trylock(&ha->tx_lock)) {
998 "%s: mtx_trylock(&ha->tx_lock) failed\n", __func__));
H A Dqla_hw.c1742 if (!mtx_trylock(&ha->tx_lock)) {
1744 "%s: !mtx_trylock(&ha->tx_lock)\n", __func__));
1752 mtx_unlock(&ha->tx_lock);
/freebsd-10.0-release/sys/dev/qlxgbe/
H A Dql_os.h153 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock);
154 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
H A Dql_def.h184 struct mtx tx_lock; member in struct:qla_host
H A Dql_os.c308 mtx_init(&ha->tx_lock, "qla83xx_tx_lock", MTX_NETWORK_LOCK, MTX_DEF);
584 mtx_destroy(&ha->tx_lock);
1087 if (!mtx_trylock(&ha->tx_lock)) {
1089 "%s: mtx_trylock(&ha->tx_lock) failed\n", __func__));
H A Dql_hw.c2594 if (!mtx_trylock(&ha->tx_lock)) {
2596 "%s: !mtx_trylock(&ha->tx_lock)\n", __func__));
/freebsd-10.0-release/sys/dev/qlxge/
H A Dqls_os.h154 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock);
155 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
H A Dqls_def.h308 struct mtx tx_lock; member in struct:qla_host
H A Dqls_os.c378 mtx_init(&ha->tx_lock, "qla80xx_tx_lock", MTX_NETWORK_LOCK, MTX_DEF);
573 mtx_destroy(&ha->tx_lock);
1071 if (!mtx_trylock(&ha->tx_lock)) {
1073 "%s: mtx_trylock(&ha->tx_lock) failed\n", __func__));
/freebsd-10.0-release/sys/dev/sfxge/
H A Dsfxge_tx.h116 #define SFXGE_TXQ_LOCK(txq) (&(txq)->sc->tx_lock)
H A Dsfxge.h241 struct mtx tx_lock __aligned(CACHE_LINE_SIZE);
H A Dsfxge_tx.c679 mtx_lock(&sc->tx_lock);
681 mtx_unlock(&sc->tx_lock);
690 mtx_assert(&sc->tx_lock, MA_OWNED);
693 mtx_unlock(&sc->tx_lock);
H A Dsfxge.c320 mtx_init(&sc->tx_lock, "txq", NULL, MTX_DEF);
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Den_tx.c77 mtx_init(&ring->tx_lock.m, "mlx4 tx", NULL, MTX_DEF);
82 M_WAITOK, &ring->tx_lock.m);
182 mtx_destroy(&ring->tx_lock.m);
985 spin_lock(&ring->tx_lock);
988 spin_unlock(&ring->tx_lock);
1008 if (spin_trylock(&ring->tx_lock)) {
1010 spin_unlock(&ring->tx_lock);
1033 spin_lock(&ring->tx_lock);
1036 spin_unlock(&ring->tx_lock);
H A Dmlx4_en.h275 spinlock_t tx_lock; member in struct:mlx4_en_tx_ring
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmad.c522 spin_lock(&tun_qp->tx_lock);
528 spin_unlock(&tun_qp->tx_lock);
1347 spin_lock(&sqp->tx_lock);
1353 spin_unlock(&sqp->tx_lock);
1581 spin_lock_init(&tun_qp->tx_lock);
1677 spin_lock(&tun_qp->tx_lock);
1679 spin_unlock(&tun_qp->tx_lock);
1694 spin_lock(&tun_qp->tx_lock);
1696 spin_unlock(&tun_qp->tx_lock);
1825 spin_lock(&sqp->tx_lock);
[all...]
H A Dmlx4_ib.h415 spinlock_t tx_lock; member in struct:mlx4_ib_demux_pv_qp
/freebsd-10.0-release/sys/dev/ntb/if_ntb/
H A Dif_ntb.c179 struct mtx tx_lock; member in struct:ntb_netdev
403 mtx_lock(&nt->tx_lock);
425 mtx_unlock(&nt->tx_lock);
465 mtx_init(&nt->tx_lock, "ntb transport tx", NULL, MTX_DEF);
1315 mtx_lock(&qp->transport->tx_lock);
1319 mtx_unlock(&qp->transport->tx_lock);
/freebsd-10.0-release/sys/dev/xen/netback/
H A Dnetback.c473 * Access must be protected by tx_lock
510 struct mtx tx_lock; member in struct:xnb_softc
662 mtx_lock(&xnb->tx_lock);
663 mtx_unlock(&xnb->tx_lock);
1204 mtx_init(&xnb->tx_lock, "xnb_tx", "xen netback tx lock", MTX_DEF);
1335 mtx_destroy(&xnb->tx_lock);
1431 mtx_lock(&xnb->tx_lock);
1457 mtx_unlock(&xnb->tx_lock);
/freebsd-10.0-release/sys/dev/xen/netfront/
H A Dnetfront.c255 struct mtx tx_lock; member in struct:netfront_info
296 mtx_init(&(_sc)->tx_lock, #_name"_tx", "network transmit lock", MTX_DEF); \
303 #define XN_TX_LOCK(_sc) mtx_lock(&(_sc)->tx_lock)
304 #define XN_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->tx_lock)
311 #define XN_TX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->tx_lock, MA_OWNED);
313 mtx_destroy(&(_sc)->tx_lock); \
/freebsd-10.0-release/sys/dev/oce/
H A Doce_queue.c256 LOCK_CREATE(&wq->tx_lock, "TX_lock");
261 M_WAITOK, &wq->tx_lock.mutex);
306 LOCK_DESTROY(&wq->tx_lock);
H A Doce_if.c574 LOCK(&wq->tx_lock);
576 UNLOCK(&wq->tx_lock);
1143 LOCK(&wq->tx_lock);
1149 UNLOCK(&wq->tx_lock);
1177 LOCK(&sc->wq[def_q]->tx_lock);
1179 UNLOCK(&sc->wq[def_q]->tx_lock);
H A Doce_if.h685 OCE_LOCK tx_lock; member in struct:oce_wq

Completed in 164 milliseconds