Searched refs:tx_mtx (Results 1 - 10 of 10) sorted by relevance
/freebsd-12-stable/usr.sbin/bhyve/ |
H A D | pci_virtio_net.c | 108 int resetting; /* protected by tx_mtx */ 116 pthread_mutex_t tx_mtx; member in struct:pci_vtnet_softc 166 pthread_mutex_lock(&sc->tx_mtx); 169 pthread_mutex_unlock(&sc->tx_mtx); 171 pthread_mutex_lock(&sc->tx_mtx); 182 pthread_mutex_unlock(&sc->tx_mtx); 460 pthread_mutex_lock(&sc->tx_mtx); 464 pthread_mutex_unlock(&sc->tx_mtx); 483 pthread_mutex_lock(&sc->tx_mtx); 484 error = pthread_cond_wait(&sc->tx_cond, &sc->tx_mtx); [all...] |
/freebsd-12-stable/sys/mips/cavium/octe/ |
H A D | cavium-ethernet.h | 90 struct mtx tx_mtx; member in struct:__anon15802
|
H A D | octe.c | 82 #define OCTE_TX_LOCK(priv) mtx_lock(&(priv)->tx_mtx) 83 #define OCTE_TX_UNLOCK(priv) mtx_unlock(&(priv)->tx_mtx) 183 mtx_init(&priv->tx_mtx, ifp->if_xname, "octe tx send queue", MTX_DEF);
|
/freebsd-12-stable/sys/dev/wpi/ |
H A D | if_wpivar.h | 176 struct mtx tx_mtx; member in struct:wpi_softc 273 mtx_init(&(_sc)->tx_mtx, "tx path lock", NULL, MTX_DEF) 274 #define WPI_TX_LOCK(_sc) mtx_lock(&(_sc)->tx_mtx) 275 #define WPI_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->tx_mtx) 276 #define WPI_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->tx_mtx)
|
/freebsd-12-stable/sys/dev/qlxgbe/ |
H A D | ql_os.c | 1394 mtx_init(&fp->tx_mtx, fp->tx_mtx_name, NULL, MTX_DEF); 1397 M_NOWAIT, &fp->tx_mtx); 1412 if (mtx_initialized(&fp->tx_mtx)) { 1416 mtx_lock(&fp->tx_mtx); 1422 mtx_unlock(&fp->tx_mtx); 1427 mtx_destroy(&fp->tx_mtx); 1455 mtx_lock(&fp->tx_mtx); 1458 mtx_unlock(&fp->tx_mtx); 1499 mtx_unlock(&fp->tx_mtx); 1516 mtx_unlock(&fp->tx_mtx); [all...] |
H A D | ql_def.h | 119 struct mtx tx_mtx; member in struct:_qla_tx_fp
|
/freebsd-12-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 597 if(mtx_trylock(&fp->tx_mtx)) { 612 mtx_unlock(&fp->tx_mtx); 3170 if (mtx_trylock(&fp->tx_mtx)) { 3183 mtx_unlock(&fp->tx_mtx); 3217 mtx_lock(&fp->tx_mtx); 3223 mtx_unlock(&fp->tx_mtx); 3876 * We simply lock and unlock each fp->tx_mtx to 3886 mtx_lock(&fp->tx_mtx); 3887 mtx_unlock(&fp->tx_mtx); 5025 if (mtx_trylock(&fp->tx_mtx)) { [all...] |
H A D | qlnx_def.h | 193 struct mtx tx_mtx; member in struct:qlnx_fastpath
|
/freebsd-12-stable/sys/dev/bxe/ |
H A D | bxe.h | 574 struct mtx tx_mtx; member in struct:bxe_fastpath 579 #define BXE_FP_TX_LOCK(fp) mtx_lock(&fp->tx_mtx) 580 #define BXE_FP_TX_UNLOCK(fp) mtx_unlock(&fp->tx_mtx) 581 #define BXE_FP_TX_LOCK_ASSERT(fp) mtx_assert(&fp->tx_mtx, MA_OWNED) 582 #define BXE_FP_TX_TRYLOCK(fp) mtx_trylock(&fp->tx_mtx)
|
H A D | bxe.c | 6226 if (mtx_initialized(&fp->tx_mtx)) { 16232 M_NOWAIT, &fp->tx_mtx); 16273 mtx_init(&fp->tx_mtx, fp->tx_mtx_name, NULL, MTX_DEF); 16291 if (mtx_initialized(&fp->tx_mtx)) { 16292 mtx_destroy(&fp->tx_mtx);
|
Completed in 226 milliseconds