Searched refs:tx_mtx (Results 1 – 8 of 8) sorted by relevance
121 pthread_mutex_t tx_mtx; member181 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_reset()184 pthread_mutex_unlock(&sc->tx_mtx); in pci_vtnet_reset()186 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_reset()197 pthread_mutex_unlock(&sc->tx_mtx); in pci_vtnet_reset()489 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_ping_txq()493 pthread_mutex_unlock(&sc->tx_mtx); in pci_vtnet_ping_txq()512 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_tx_thread()545 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_tx_thread()749 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_pause()[all …]
175 struct mtx tx_mtx; member272 mtx_init(&(_sc)->tx_mtx, "tx path lock", NULL, MTX_DEF)273 #define WPI_TX_LOCK(_sc) mtx_lock(&(_sc)->tx_mtx)274 #define WPI_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->tx_mtx)275 #define WPI_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->tx_mtx)
1384 if (mtx_initialized(&fp->tx_mtx)) { in qla_free_tx_br()1386 mtx_lock(&fp->tx_mtx); in qla_free_tx_br()1397 mtx_destroy(&fp->tx_mtx); in qla_free_tx_br()1425 mtx_lock(&fp->tx_mtx); in qla_fp_taskqueue()1428 mtx_unlock(&fp->tx_mtx); in qla_fp_taskqueue()1468 mtx_unlock(&fp->tx_mtx); in qla_fp_taskqueue()1485 mtx_unlock(&fp->tx_mtx); in qla_fp_taskqueue()1623 mtx_lock(&fp->tx_mtx); in qla_qflush()1656 mtx_lock(&fp->tx_mtx); in qla_stop()2084 mtx_lock(&fp->tx_mtx); in qla_error_recovery()[all …]
117 struct mtx tx_mtx; member
3103 mtx_lock(&fp->tx_mtx); in qlnx_qflush()3109 mtx_unlock(&fp->tx_mtx); in qlnx_qflush()3750 mtx_lock(&fp->tx_mtx); in qlnx_stop()3751 mtx_unlock(&fp->tx_mtx); in qlnx_stop()4838 mtx_unlock(&fp->tx_mtx); in qlnx_fp_isr()6282 if (mtx_initialized(&fp->tx_mtx)) { in qlnx_free_tx_br()6284 mtx_lock(&fp->tx_mtx); in qlnx_free_tx_br()6291 mtx_unlock(&fp->tx_mtx); in qlnx_free_tx_br()6296 mtx_destroy(&fp->tx_mtx); in qlnx_free_tx_br()6826 mtx_lock(&fp->tx_mtx); in qlnx_drain_txq()[all …]
184 struct mtx tx_mtx; member
544 struct mtx tx_mtx; member549 #define BXE_FP_TX_LOCK(fp) mtx_lock(&fp->tx_mtx)550 #define BXE_FP_TX_UNLOCK(fp) mtx_unlock(&fp->tx_mtx)551 #define BXE_FP_TX_LOCK_ASSERT(fp) mtx_assert(&fp->tx_mtx, MA_OWNED)552 #define BXE_FP_TX_TRYLOCK(fp) mtx_trylock(&fp->tx_mtx)
6162 if (mtx_initialized(&fp->tx_mtx)) { in bxe_free_fp_buffers()16109 M_NOWAIT, &fp->tx_mtx); in bxe_alloc_buf_rings()16146 mtx_init(&fp->tx_mtx, fp->tx_mtx_name, NULL, MTX_DEF); in bxe_init_fp_mutexs()16164 if (mtx_initialized(&fp->tx_mtx)) { in bxe_destroy_fp_mutexs()16165 mtx_destroy(&fp->tx_mtx); in bxe_destroy_fp_mutexs()