Searched refs:tx_mtx (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_virtio_net.c116 int resetting; /* protected by tx_mtx */
124 pthread_mutex_t tx_mtx; member in struct:pci_vtnet_softc
185 pthread_mutex_lock(&sc->tx_mtx);
188 pthread_mutex_unlock(&sc->tx_mtx);
190 pthread_mutex_lock(&sc->tx_mtx);
201 pthread_mutex_unlock(&sc->tx_mtx);
491 pthread_mutex_lock(&sc->tx_mtx);
495 pthread_mutex_unlock(&sc->tx_mtx);
514 pthread_mutex_lock(&sc->tx_mtx);
515 error = pthread_cond_wait(&sc->tx_cond, &sc->tx_mtx);
[all...]
/freebsd-13-stable/sys/mips/cavium/octe/
H A Dcavium-ethernet.h89 struct mtx tx_mtx; member in struct:__anon14795
H A Docte.c82 #define OCTE_TX_LOCK(priv) mtx_lock(&(priv)->tx_mtx)
83 #define OCTE_TX_UNLOCK(priv) mtx_unlock(&(priv)->tx_mtx)
182 mtx_init(&priv->tx_mtx, ifp->if_xname, "octe tx send queue", MTX_DEF);
/freebsd-13-stable/sys/dev/wpi/
H A Dif_wpivar.h176 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-13-stable/sys/dev/qlxgbe/
H A Dql_os.c1373 mtx_init(&fp->tx_mtx, fp->tx_mtx_name, NULL, MTX_DEF);
1376 M_NOWAIT, &fp->tx_mtx);
1391 if (mtx_initialized(&fp->tx_mtx)) {
1393 mtx_lock(&fp->tx_mtx);
1399 mtx_unlock(&fp->tx_mtx);
1404 mtx_destroy(&fp->tx_mtx);
1432 mtx_lock(&fp->tx_mtx);
1435 mtx_unlock(&fp->tx_mtx);
1475 mtx_unlock(&fp->tx_mtx);
1492 mtx_unlock(&fp->tx_mtx);
[all...]
H A Dql_def.h119 struct mtx tx_mtx; member in struct:_qla_tx_fp
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c587 if(mtx_trylock(&fp->tx_mtx)) {
601 mtx_unlock(&fp->tx_mtx);
3109 if (mtx_trylock(&fp->tx_mtx)) {
3121 mtx_unlock(&fp->tx_mtx);
3154 mtx_lock(&fp->tx_mtx);
3160 mtx_unlock(&fp->tx_mtx);
3800 * We simply lock and unlock each fp->tx_mtx to
3810 mtx_lock(&fp->tx_mtx);
3811 mtx_unlock(&fp->tx_mtx);
4911 if (mtx_trylock(&fp->tx_mtx)) {
[all...]
H A Dqlnx_def.h186 struct mtx tx_mtx; member in struct:qlnx_fastpath
/freebsd-13-stable/sys/dev/bxe/
H A Dbxe.h546 struct mtx tx_mtx; member in struct:bxe_fastpath
551 #define BXE_FP_TX_LOCK(fp) mtx_lock(&fp->tx_mtx)
552 #define BXE_FP_TX_UNLOCK(fp) mtx_unlock(&fp->tx_mtx)
553 #define BXE_FP_TX_LOCK_ASSERT(fp) mtx_assert(&fp->tx_mtx, MA_OWNED)
554 #define BXE_FP_TX_TRYLOCK(fp) mtx_trylock(&fp->tx_mtx)
H A Dbxe.c6187 if (mtx_initialized(&fp->tx_mtx)) {
16140 M_NOWAIT, &fp->tx_mtx);
16177 mtx_init(&fp->tx_mtx, fp->tx_mtx_name, NULL, MTX_DEF);
16195 if (mtx_initialized(&fp->tx_mtx)) {
16196 mtx_destroy(&fp->tx_mtx);

Completed in 225 milliseconds