Searched refs:rx_mtx (Results 1 - 12 of 12) sorted by relevance

/freebsd-10.0-release/sys/dev/e1000/
H A Dif_em.h319 struct mtx rx_mtx; member in struct:rx_ring
489 mtx_init(&(_sc)->rx_mtx, _name, "EM RX Lock", MTX_DEF)
492 #define EM_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rx_mtx)
496 #define EM_RX_LOCK(_sc) mtx_lock(&(_sc)->rx_mtx)
499 #define EM_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->rx_mtx)
502 #define EM_RX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->rx_mtx, MA_OWNED)
H A Dif_lem.h325 struct mtx rx_mtx; member in struct:adapter
483 mtx_init(&(_sc)->rx_mtx, _name, "EM RX Lock", MTX_DEF)
486 #define EM_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rx_mtx)
490 #define EM_RX_LOCK(_sc) mtx_lock(&(_sc)->rx_mtx)
493 #define EM_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->rx_mtx)
H A Dif_igb.h340 struct mtx rx_mtx; member in struct:rx_ring
544 #define IGB_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rx_mtx)
545 #define IGB_RX_LOCK(_sc) mtx_lock(&(_sc)->rx_mtx)
546 #define IGB_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->rx_mtx)
547 #define IGB_RX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->rx_mtx, MA_OWNED)
H A Dif_em.c3242 mtx_init(&rxr->rx_mtx, rxr->mtx_name, NULL, MTX_DEF);
H A Dif_igb.c3381 mtx_init(&rxr->rx_mtx, rxr->mtx_name, NULL, MTX_DEF);
/freebsd-10.0-release/usr.sbin/bhyve/
H A Dpci_virtio_net.c141 pthread_mutex_t rx_mtx; member in struct:pci_vtnet_softc
189 pthread_mutex_lock(&sc->rx_mtx);
191 pthread_mutex_unlock(&sc->rx_mtx);
193 pthread_mutex_lock(&sc->rx_mtx);
195 pthread_mutex_unlock(&sc->rx_mtx);
347 pthread_mutex_lock(&sc->rx_mtx);
351 pthread_mutex_unlock(&sc->rx_mtx);
624 pthread_mutex_init(&sc->rx_mtx, NULL);
/freebsd-10.0-release/sys/dev/ixgbe/
H A Dixgbe.h337 struct mtx rx_mtx; member in struct:rx_ring
485 #define IXGBE_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rx_mtx)
489 #define IXGBE_RX_LOCK(_sc) mtx_lock(&(_sc)->rx_mtx)
492 #define IXGBE_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->rx_mtx)
H A Dixv.h280 struct mtx rx_mtx; member in struct:rx_ring
395 #define IXV_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rx_mtx)
399 #define IXV_RX_LOCK(_sc) mtx_lock(&(_sc)->rx_mtx)
402 #define IXV_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->rx_mtx)
H A Dixv.c2081 mtx_init(&rxr->rx_mtx, rxr->mtx_name, NULL, MTX_DEF);
H A Dixgbe.c2920 mtx_init(&rxr->rx_mtx, rxr->mtx_name, NULL, MTX_DEF);
/freebsd-10.0-release/sys/dev/bxe/
H A Dbxe.h586 struct mtx rx_mtx; member in struct:bxe_fastpath
593 #define BXE_FP_RX_LOCK(fp) mtx_lock(&fp->rx_mtx)
594 #define BXE_FP_RX_UNLOCK(fp) mtx_unlock(&fp->rx_mtx)
595 #define BXE_FP_RX_LOCK_ASSERT(fp) mtx_assert(&fp->rx_mtx, MA_OWNED)
H A Dbxe.c6536 if (mtx_initialized(&fp->rx_mtx)) {
6537 mtx_destroy(&fp->rx_mtx);
10032 mtx_init(&fp->rx_mtx, fp->rx_mtx_name, NULL, MTX_DEF);

Completed in 257 milliseconds