Lines Matching refs:_sc
478 #define EM_CORE_LOCK_INIT(_sc, _name) \ argument
479 mtx_init(&(_sc)->core_mtx, _name, "EM Core Lock", MTX_DEF)
480 #define EM_TX_LOCK_INIT(_sc, _name) \ argument
481 mtx_init(&(_sc)->tx_mtx, _name, "EM TX Lock", MTX_DEF)
482 #define EM_RX_LOCK_INIT(_sc, _name) \ argument
483 mtx_init(&(_sc)->rx_mtx, _name, "EM RX Lock", MTX_DEF)
484 #define EM_CORE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->core_mtx) argument
485 #define EM_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->tx_mtx) argument
486 #define EM_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rx_mtx) argument
487 #define EM_CORE_LOCK(_sc) mtx_lock(&(_sc)->core_mtx) argument
488 #define EM_TX_LOCK(_sc) mtx_lock(&(_sc)->tx_mtx) argument
489 #define EM_TX_TRYLOCK(_sc) mtx_trylock(&(_sc)->tx_mtx) argument
490 #define EM_RX_LOCK(_sc) mtx_lock(&(_sc)->rx_mtx) argument
491 #define EM_CORE_UNLOCK(_sc) mtx_unlock(&(_sc)->core_mtx) argument
492 #define EM_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->tx_mtx) argument
493 #define EM_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->rx_mtx) argument
494 #define EM_CORE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->core_mtx, MA_OWNED) argument
495 #define EM_TX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->tx_mtx, MA_OWNED) argument