/freebsd-9.3-release/sys/dev/e1000/ |
H A D | if_em.h | 372 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 D | if_lem.h | 323 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 D | if_igb.h | 381 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 D | if_lem.c | 409 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
|
H A D | if_em.c | 511 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
|
H A D | if_igb.c | 498 callout_init_mtx(&adapter->timer, &adapter->core_mtx, 0);
|
/freebsd-9.3-release/sys/netinet/ |
H A D | 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); \
|
H A D | sctp_structs.h | 124 struct mtx core_mtx; member in struct:sctp_mcore_ctrl
|
H A D | sctp_pcb.c | 5669 &wkq->core_mtx, 5709 &wkq->core_mtx,
|
/freebsd-9.3-release/sys/dev/ixgbe/ |
H A D | ixgbe.h | 394 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 D | ixv.h | 330 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 D | ixv.c | 329 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 D | ixgbe.c | 484 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 D | bxe.h | 1479 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 D | bxe.c | 2651 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);
|