Home
last modified time | relevance | path

Searched refs:tx_mtx (Results 1 – 8 of 8) sorted by relevance

/freebsd-head/usr.sbin/bhyve/
HDpci_virtio_net.c120 pthread_mutex_t tx_mtx; member
180 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_reset()
183 pthread_mutex_unlock(&sc->tx_mtx); in pci_vtnet_reset()
185 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_reset()
196 pthread_mutex_unlock(&sc->tx_mtx); in pci_vtnet_reset()
488 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_ping_txq()
492 pthread_mutex_unlock(&sc->tx_mtx); in pci_vtnet_ping_txq()
511 pthread_mutex_lock(&sc->tx_mtx); in pci_vtnet_tx_thread()
512 error = pthread_cond_wait(&sc->tx_cond, &sc->tx_mtx); in pci_vtnet_tx_thread()
523 error = pthread_cond_wait(&sc->tx_cond, &sc->tx_mtx); in pci_vtnet_tx_thread()
[all …]
/freebsd-head/sys/dev/wpi/
HDif_wpivar.h175 struct mtx tx_mtx; member
272 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)
/freebsd-head/sys/dev/qlxgbe/
HDql_os.c1366 mtx_init(&fp->tx_mtx, fp->tx_mtx_name, NULL, MTX_DEF); in qla_alloc_tx_br()
1369 M_NOWAIT, &fp->tx_mtx); in qla_alloc_tx_br()
1384 if (mtx_initialized(&fp->tx_mtx)) { in qla_free_tx_br()
1386 mtx_lock(&fp->tx_mtx); in qla_free_tx_br()
1392 mtx_unlock(&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()
[all …]
HDql_def.h117 struct mtx tx_mtx; member
/freebsd-head/sys/dev/qlnx/qlnxe/
HDqlnx_os.c550 if(mtx_trylock(&fp->tx_mtx)) { in qlnx_fp_taskqueue()
564 mtx_unlock(&fp->tx_mtx); in qlnx_fp_taskqueue()
3060 if (mtx_trylock(&fp->tx_mtx)) { in qlnx_transmit()
3072 mtx_unlock(&fp->tx_mtx); in qlnx_transmit()
3105 mtx_lock(&fp->tx_mtx); in qlnx_qflush()
3111 mtx_unlock(&fp->tx_mtx); in qlnx_qflush()
3752 mtx_lock(&fp->tx_mtx); in qlnx_stop()
3753 mtx_unlock(&fp->tx_mtx); in qlnx_stop()
4820 if (mtx_trylock(&fp->tx_mtx)) { in qlnx_fp_isr()
4840 mtx_unlock(&fp->tx_mtx); in qlnx_fp_isr()
[all …]
HDqlnx_def.h184 struct mtx tx_mtx; member
/freebsd-head/sys/dev/bxe/
HDbxe.h533 struct mtx tx_mtx; member
538 #define BXE_FP_TX_LOCK(fp) mtx_lock(&fp->tx_mtx)
539 #define BXE_FP_TX_UNLOCK(fp) mtx_unlock(&fp->tx_mtx)
540 #define BXE_FP_TX_LOCK_ASSERT(fp) mtx_assert(&fp->tx_mtx, MA_OWNED)
541 #define BXE_FP_TX_TRYLOCK(fp) mtx_trylock(&fp->tx_mtx)
HDbxe.c6162 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()