Searched refs:inp_mtx (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_process_lock.h166 InitializeCriticalSection(&(_inp)->inp_mtx)
172 DeleteCriticalSection(&(_inp)->inp_mtx)
180 EnterCriticalSection(&(_inp)->inp_mtx); \
185 EnterCriticalSection(&(_inp)->inp_mtx); \
190 EnterCriticalSection(&(_inp)->inp_mtx); \
194 EnterCriticalSection(&(_inp)->inp_mtx); \
227 LeaveCriticalSection(&(_inp)->inp_mtx)
229 LeaveCriticalSection(&(_inp)->inp_mtx)
324 (void)pthread_mutex_init(&(_inp)->inp_mtx, NULL)
330 (void)pthread_mutex_destroy(&(_inp)->inp_mtx)
[all...]
H A Dsctp_pcb.h519 struct mtx inp_mtx; member in struct:sctp_inpcb
524 userland_mutex_t inp_mtx; member in struct:sctp_inpcb
530 lck_rw_t *inp_mtx; member in struct:sctp_inpcb
532 lck_mtx_t *inp_mtx; member in struct:sctp_inpcb
H A Dsctp_input.c5711 if (mtx_owned(&inp->inp_mtx)) {
H A Dsctputil.c376 sctp_clog.x.lock.inp_lock = mtx_owned(&inp->inp_mtx);
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_inpcb.h171 struct mtx inp_mtx; member in struct:inpcb
255 mtx_init(&(inp)->inp_mtx, (d), (t), MTX_DEF | MTX_RECURSE | MTX_DUPOK)
256 #define INP_LOCK_DESTROY(inp) mtx_destroy(&(inp)->inp_mtx)
257 #define INP_LOCK(inp) mtx_lock(&(inp)->inp_mtx)
258 #define INP_UNLOCK(inp) mtx_unlock(&(inp)->inp_mtx)
259 #define INP_LOCK_ASSERT(inp) mtx_assert(&(inp)->inp_mtx, MA_OWNED)
260 #define INP_UNLOCK_ASSERT(inp) mtx_assert(&(inp)->inp_mtx, MA_NOTOWNED)

Completed in 560 milliseconds