/freebsd-10.0-release/sys/dev/qlxgb/ |
H A D | qla_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 | qla_def.h | 161 struct mtx tx_lock; member in struct:qla_host
|
H A D | qla_os.c | 275 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 D | qla_hw.c | 1742 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 D | ql_os.h | 153 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock); 154 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
|
H A D | ql_def.h | 184 struct mtx tx_lock; member in struct:qla_host
|
H A D | ql_os.c | 308 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 D | ql_hw.c | 2594 if (!mtx_trylock(&ha->tx_lock)) { 2596 "%s: !mtx_trylock(&ha->tx_lock)\n", __func__));
|
/freebsd-10.0-release/sys/dev/qlxge/ |
H A D | qls_os.h | 154 #define QLA_TX_LOCK(ha) mtx_lock(&ha->tx_lock); 155 #define QLA_TX_UNLOCK(ha) mtx_unlock(&ha->tx_lock);
|
H A D | qls_def.h | 308 struct mtx tx_lock; member in struct:qla_host
|
H A D | qls_os.c | 378 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 D | sfxge_tx.h | 116 #define SFXGE_TXQ_LOCK(txq) (&(txq)->sc->tx_lock)
|
H A D | sfxge.h | 241 struct mtx tx_lock __aligned(CACHE_LINE_SIZE);
|
H A D | sfxge_tx.c | 679 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 D | sfxge.c | 320 mtx_init(&sc->tx_lock, "txq", NULL, MTX_DEF);
|
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_tx.c | 77 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 D | mlx4_en.h | 275 spinlock_t tx_lock; member in struct:mlx4_en_tx_ring
|
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 522 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 D | mlx4_ib.h | 415 spinlock_t tx_lock; member in struct:mlx4_ib_demux_pv_qp
|
/freebsd-10.0-release/sys/dev/ntb/if_ntb/ |
H A D | if_ntb.c | 179 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 D | netback.c | 473 * 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 D | netfront.c | 255 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 D | oce_queue.c | 256 LOCK_CREATE(&wq->tx_lock, "TX_lock"); 261 M_WAITOK, &wq->tx_lock.mutex); 306 LOCK_DESTROY(&wq->tx_lock);
|
H A D | oce_if.c | 574 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 D | oce_if.h | 685 OCE_LOCK tx_lock; member in struct:oce_wq
|