Searched refs:core_mtx (Results 1 – 5 of 5) sorted by relevance
125 if (mtx_owned(&(cpstr)->core_mtx)) { \140 mtx_init(&(cpstr)->core_mtx, "sctp-cpulck","cpu_proc_lock", \145 if (mtx_owned(&(cpstr)->core_mtx)) { \146 mtx_unlock(&(cpstr)->core_mtx); \148 mtx_destroy(&(cpstr)->core_mtx); \152 mtx_lock(&(cpstr)->core_mtx); \156 mtx_unlock(&(cpstr)->core_mtx); \
122 struct mtx core_mtx; member
5454 &wkq->core_mtx, in sctp_mcore_thread()5494 &wkq->core_mtx, in sctp_mcore_thread()
1405 struct mtx core_mtx; member1427 #define BXE_CORE_TRYLOCK(sc) mtx_trylock(&sc->core_mtx)1428 #define BXE_CORE_LOCK(sc) mtx_lock(&sc->core_mtx)1429 #define BXE_CORE_UNLOCK(sc) mtx_unlock(&sc->core_mtx)1430 #define BXE_CORE_LOCK_ASSERT(sc) mtx_assert(&sc->core_mtx, MA_OWNED)
2532 mtx_init(&sc->core_mtx, sc->core_mtx_name, NULL, MTX_DEF); in bxe_init_mutexes()2570 if (mtx_initialized(&sc->core_mtx)) { in bxe_release_mutexes()2571 mtx_destroy(&sc->core_mtx); in bxe_release_mutexes()