Home
last modified time | relevance | path

Searched refs:tcb_mtx (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h236 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 …]
Dsctp_pcb.h623 struct mtx tcb_mtx; member
626 userland_mutex_t tcb_mtx; member
629 lck_mtx_t* tcb_mtx; member
Dsctputil.c388 sctp_clog.x.lock.tcb_lock = mtx_owned(&stcb->tcb_mtx); in sctp_log_lock()
Dsctp_output.c14785 if (mtx_owned(&stcb->tcb_mtx)) {