Home
last modified time | relevance | path

Searched refs:inp_mtx (Results 1 – 3 of 3) sorted by relevance

/netbsd/sys/netinet/
H A Dsctp_pcb.h336 struct mtx inp_mtx; member
340 kmutex_t inp_mtx; member
448 mtx_init(&(_inp)->inp_mtx, "sctp", "inp", MTX_DEF | MTX_DUPOK)
454 #define SCTP_INP_LOCK_DESTROY(_inp) mtx_destroy(&(_inp)->inp_mtx)
502 #define SCTP_INP_RUNLOCK(_inp) mtx_unlock(&(_inp)->inp_mtx)
503 #define SCTP_INP_WUNLOCK(_inp) mtx_unlock(&(_inp)->inp_mtx)
557 mutex_init(&(_inp)->inp_mtx, MUTEX_DEFAULT, IPL_NET)
566 mutex_enter(&(_inp)->inp_mtx); \
570 mutex_enter(&(_inp)->inp_mtx); \
582 #define SCTP_INP_RUNLOCK(_inp) mutex_exit(&(_inp)->inp_mtx)
[all …]
H A Dsctp_pcb.c134 if (mtx_owned(&(inp)->inp_mtx)) in SCTP_INP_RLOCK()
136 mtx_lock(&(inp)->inp_mtx); in SCTP_INP_RLOCK()
151 if (mtx_owned(&(inp)->inp_mtx)) in SCTP_INP_INFO_RLOCK()
179 if (mtx_owned(&(inp)->inp_mtx)) in sctp_validate_no_locks()
H A Ddccp_usrreq.c1145 KASSERT(mutex_assert(&dp->d_inpcb->inp_mtx, MA_OWNED)); in dccp_output()