Home
last modified time | relevance | path

Searched refs:locked_tcb (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/sys/netinet/
Dsctp_pcb.c1280 struct sctp_nets **netp, struct sockaddr *local, struct sctp_tcb *locked_tcb) in sctp_findassociation_ep_addr() argument
1303 if (locked_tcb) { in sctp_findassociation_ep_addr()
1308 atomic_add_int(&locked_tcb->asoc.refcnt, 1); in sctp_findassociation_ep_addr()
1309 SCTP_TCB_UNLOCK(locked_tcb); in sctp_findassociation_ep_addr()
1325 if ((stcb != NULL) && (locked_tcb == NULL)) { in sctp_findassociation_ep_addr()
1329 if ((locked_tcb != NULL) && (locked_tcb != stcb)) { in sctp_findassociation_ep_addr()
1330 SCTP_INP_RLOCK(locked_tcb->sctp_ep); in sctp_findassociation_ep_addr()
1331 SCTP_TCB_LOCK(locked_tcb); in sctp_findassociation_ep_addr()
1332 atomic_subtract_int(&locked_tcb->asoc.refcnt, 1); in sctp_findassociation_ep_addr()
1333 SCTP_INP_RUNLOCK(locked_tcb->sctp_ep); in sctp_findassociation_ep_addr()
[all …]
Dsctp_input.c2305 struct sctp_tcb **locked_tcb, in sctp_handle_cookie_echo() argument
2559 if (*locked_tcb == NULL) { in sctp_handle_cookie_echo()
2568 *locked_tcb = *stcb; in sctp_handle_cookie_echo()