Searched refs:core_mtx (Results 1 – 14 of 14) sorted by relevance
| /NextBSD/sys/netinet/ |
| HD | sctp_lock_bsd.h | 118 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); \
|
| HD | sctp_structs.h | 125 struct mtx core_mtx; member
|
| HD | sctp_pcb.c | 5667 &wkq->core_mtx, in sctp_mcore_thread() 5707 &wkq->core_mtx, in sctp_mcore_thread()
|
| /NextBSD/sys/dev/e1000/ |
| HD | if_lem.h | 327 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)
|
| HD | if_em.h | 412 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)
|
| HD | if_igb.h | 445 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)
|
| HD | if_lem.c | 428 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in lem_attach()
|
| HD | if_igb.c | 441 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in igb_attach()
|
| HD | if_em.c | 541 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0); in em_attach()
|
| /NextBSD/sys/dev/ixgbe/ |
| HD | ixgbe.h | 596 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)
|
| HD | if_ixv.c | 318 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()
|
| HD | if_ix.c | 457 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/ |
| HD | bxe.h | 1476 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)
|
| HD | bxe.c | 2663 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()
|