Searched refs:tcb_mtx (Results 1 – 4 of 4) sorted by relevance
236 InitializeCriticalSection(&(_tcb)->tcb_mtx)238 DeleteCriticalSection(&(_tcb)->tcb_mtx)243 EnterCriticalSection(&(_tcb)->tcb_mtx); \247 EnterCriticalSection(&(_tcb)->tcb_mtx)249 #define SCTP_TCB_TRYLOCK(_tcb) ((TryEnterCriticalSection(&(_tcb)->tcb_mtx)))251 LeaveCriticalSection(&(_tcb)->tcb_mtx)449 (void)pthread_mutex_init(&(_tcb)->tcb_mtx, &SCTP_BASE_VAR(mtx_attr))451 (void)pthread_mutex_destroy(&(_tcb)->tcb_mtx)457 KASSERT(pthread_mutex_lock(&(_tcb)->tcb_mtx) == 0, ("%s: tcb_mtx already locked", __func__)) \461 KASSERT(pthread_mutex_lock(&(_tcb)->tcb_mtx) == 0, ("%s: tcb_mtx already locked", __func__))[all …]
623 struct mtx tcb_mtx; member626 userland_mutex_t tcb_mtx; member629 lck_mtx_t* tcb_mtx; member
388 sctp_clog.x.lock.tcb_lock = mtx_owned(&stcb->tcb_mtx); in sctp_log_lock()
14785 if (mtx_owned(&stcb->tcb_mtx)) {