Home
last modified time | relevance | path

Searched refs:core_mtx (Results 1 – 14 of 14) sorted by relevance

/NextBSD/sys/netinet/
HDsctp_lock_bsd.h118 if(mtx_owned(&(cpstr)->core_mtx)) { \
126 mtx_init(&(cpstr)->core_mtx, \
132 mtx_lock(&(cpstr)->core_mtx); \
136 mtx_unlock(&(cpstr)->core_mtx); \
140 if(mtx_owned(&(cpstr)->core_mtx)) { \
141 mtx_unlock(&(cpstr)->core_mtx); \
143 mtx_destroy(&(cpstr)->core_mtx); \
HDsctp_structs.h125 struct mtx core_mtx; member
HDsctp_pcb.c5667 &wkq->core_mtx, in sctp_mcore_thread()
5707 &wkq->core_mtx, in sctp_mcore_thread()
/NextBSD/sys/dev/e1000/
HDif_lem.h327 struct mtx core_mtx; member
503 mtx_init(&(_sc)->core_mtx, _name, "EM Core Lock", MTX_DEF)
508 #define EM_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
511 #define EM_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
515 #define EM_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
518 #define EM_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
HDif_em.h412 struct mtx core_mtx; member
532 mtx_init(&(_sc)->core_mtx, _name, "EM Core Lock", MTX_DEF)
537 #define EM_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
540 #define EM_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
544 #define EM_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
547 #define EM_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
HDif_igb.h445 struct mtx core_mtx; member
586 mtx_init(&(_sc)->core_mtx, _name, "IGB Core Lock", MTX_DEF)
587 #define IGB_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
588 #define IGB_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
589 #define IGB_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
590 #define IGB_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
HDif_lem.c428 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in lem_attach()
HDif_igb.c441 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in igb_attach()
HDif_em.c541 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in em_attach()
/NextBSD/sys/dev/ixgbe/
HDixgbe.h596 mtx_init(&(_sc)->core_mtx, _name, "IXGBE Core Lock", MTX_DEF)
597 #define IXGBE_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
600 #define IXGBE_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
604 #define IXGBE_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
607 #define IXGBE_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
HDif_ixv.c318 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in ixv_attach()
664 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixv_init_locked()
1104 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixv_local_timer()
1209 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixv_stop()
HDif_ix.c457 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in ixgbe_attach()
1049 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixgbe_init_locked()
2111 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixgbe_local_timer()
2231 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixgbe_stop()
3958 mtx_assert(&adapter->core_mtx, MA_OWNED); in ixgbe_setup_low_power_mode()
/NextBSD/sys/dev/bxe/
HDbxe.h1476 struct mtx core_mtx; member
1498 #define BXE_CORE_TRYLOCK(sc) mtx_trylock(&sc->core_mtx)
1499 #define BXE_CORE_LOCK(sc) mtx_lock(&sc->core_mtx)
1500 #define BXE_CORE_UNLOCK(sc) mtx_unlock(&sc->core_mtx)
1501 #define BXE_CORE_LOCK_ASSERT(sc) mtx_assert(&sc->core_mtx, MA_OWNED)
HDbxe.c2663 mtx_init(&sc->core_mtx, sc->core_mtx_name, NULL, MTX_DEF); in bxe_init_mutexes()
2701 if (mtx_initialized(&sc->core_mtx)) { in bxe_release_mutexes()
2702 mtx_destroy(&sc->core_mtx); in bxe_release_mutexes()