Searched refs:core_mtx (Results 1 – 5 of 5) sorted by relevance
128 if (mtx_owned(&(cpstr)->core_mtx)) { \143 mtx_init(&(cpstr)->core_mtx, "sctp-cpulck","cpu_proc_lock", \148 if (mtx_owned(&(cpstr)->core_mtx)) { \149 mtx_unlock(&(cpstr)->core_mtx); \151 mtx_destroy(&(cpstr)->core_mtx); \155 mtx_lock(&(cpstr)->core_mtx); \159 mtx_unlock(&(cpstr)->core_mtx); \
125 struct mtx core_mtx; member
5611 &wkq->core_mtx, in sctp_mcore_thread()5651 &wkq->core_mtx, in sctp_mcore_thread()
1417 struct mtx core_mtx; member1439 #define BXE_CORE_TRYLOCK(sc) mtx_trylock(&sc->core_mtx)1440 #define BXE_CORE_LOCK(sc) mtx_lock(&sc->core_mtx)1441 #define BXE_CORE_UNLOCK(sc) mtx_unlock(&sc->core_mtx)1442 #define BXE_CORE_LOCK_ASSERT(sc) mtx_assert(&sc->core_mtx, MA_OWNED)
2549 mtx_init(&sc->core_mtx, sc->core_mtx_name, NULL, MTX_DEF); in bxe_init_mutexes()2587 if (mtx_initialized(&sc->core_mtx)) { in bxe_release_mutexes()2588 mtx_destroy(&sc->core_mtx); in bxe_release_mutexes()