Searched refs:core_mtx (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/sys/dev/e1000/
H A Dif_em.h372 struct mtx core_mtx; member in struct:adapter
485 mtx_init(&(_sc)->core_mtx, _name, "EM Core Lock", MTX_DEF)
490 #define EM_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
493 #define EM_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
497 #define EM_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
500 #define EM_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
H A Dif_lem.h323 struct mtx core_mtx; member in struct:adapter
479 mtx_init(&(_sc)->core_mtx, _name, "EM Core Lock", MTX_DEF)
484 #define EM_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
487 #define EM_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
491 #define EM_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
494 #define EM_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
H A Dif_igb.h381 struct mtx core_mtx; member in struct:adapter
507 mtx_init(&(_sc)->core_mtx, _name, "IGB Core Lock", MTX_DEF)
508 #define IGB_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
509 #define IGB_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
510 #define IGB_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
511 #define IGB_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
H A Dif_lem.c409 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
H A Dif_em.c511 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
H A Dif_igb.c498 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
/freebsd-9.3-release/sys/netinet/
H A Dsctp_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); \
H A Dsctp_structs.h124 struct mtx core_mtx; member in struct:sctp_mcore_ctrl
H A Dsctp_pcb.c5669 &wkq->core_mtx,
5709 &wkq->core_mtx,
/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixgbe.h394 struct mtx core_mtx; member in struct:adapter
482 mtx_init(&(_sc)->core_mtx, _name, "IXGBE Core Lock", MTX_DEF)
483 #define IXGBE_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
486 #define IXGBE_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
490 #define IXGBE_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
493 #define IXGBE_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
H A Dixv.h330 struct mtx core_mtx; member in struct:adapter
392 mtx_init(&(_sc)->core_mtx, _name, "IXV Core Lock", MTX_DEF)
393 #define IXV_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx)
396 #define IXV_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx)
400 #define IXV_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx)
403 #define IXV_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED)
H A Dixv.c329 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
818 mtx_assert(&adapter->core_mtx, MA_OWNED);
1431 mtx_assert(&adapter->core_mtx, MA_OWNED);
1529 mtx_assert(&adapter->core_mtx, MA_OWNED);
H A Dixgbe.c484 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
1097 mtx_assert(&adapter->core_mtx, MA_OWNED);
2050 mtx_assert(&adapter->core_mtx, MA_OWNED);
2150 mtx_assert(&adapter->core_mtx, MA_OWNED);
/freebsd-9.3-release/sys/dev/bxe/
H A Dbxe.h1479 struct mtx core_mtx; member in struct:bxe_softc
1501 #define BXE_CORE_TRYLOCK(sc) mtx_trylock(&sc->core_mtx)
1502 #define BXE_CORE_LOCK(sc) mtx_lock(&sc->core_mtx)
1503 #define BXE_CORE_UNLOCK(sc) mtx_unlock(&sc->core_mtx)
1504 #define BXE_CORE_LOCK_ASSERT(sc) mtx_assert(&sc->core_mtx, MA_OWNED)
H A Dbxe.c2651 mtx_init(&sc->core_mtx, sc->core_mtx_name, NULL, MTX_DEF);
2689 if (mtx_initialized(&sc->core_mtx)) {
2690 mtx_destroy(&sc->core_mtx);

Completed in 228 milliseconds