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

/freebsd-13-stable/sys/netinet/
H A Dsctp_bsd_addr.h45 extern struct iterator_control sctp_it_ctl;
H A Dsctp_lock_bsd.h186 mtx_init(&sctp_it_ctl.ipi_iterator_wq_mtx, "sctp-it-wq", \
191 mtx_destroy(&sctp_it_ctl.ipi_iterator_wq_mtx); \
195 mtx_lock(&sctp_it_ctl.ipi_iterator_wq_mtx); \
199 mtx_unlock(&sctp_it_ctl.ipi_iterator_wq_mtx); \
393 mtx_init(&sctp_it_ctl.it_mtx, "sctp-it", "iterator", MTX_DEF); \
397 mtx_destroy(&sctp_it_ctl.it_mtx); \
402 KASSERT(!mtx_owned(&sctp_it_ctl.it_mtx), \
404 mtx_lock(&sctp_it_ctl.it_mtx); \
408 mtx_unlock(&sctp_it_ctl.it_mtx); \
H A Dsctp_bsd_addr.c76 struct iterator_control sctp_it_ctl; variable in typeref:struct:iterator_control
81 wakeup(&sctp_it_ctl.iterator_running);
90 msleep(&sctp_it_ctl.iterator_running,
91 &sctp_it_ctl.ipi_iterator_wq_mtx,
100 if (sctp_it_ctl.thread_proc) {
107 TAILQ_INIT(&sctp_it_ctl.iteratorhead);
110 &sctp_it_ctl.thread_proc,
H A Dsctp_pcb.c3233 it = sctp_it_ctl.cur_it;
3253 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_IT;
3255 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_INP;
3263 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) {
3271 TAILQ_REMOVE(&sctp_it_ctl.iteratorhead,
5867 if (sctp_it_ctl.iterator_running != 0 || sctp_it_ctl.cur_it != NULL) {
5870 "cur_it=%p\n", __func__, sctp_it_ctl.cur_it);
5874 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) {
5878 TAILQ_REMOVE(&sctp_it_ctl
[all...]
H A Dsctputil.c1453 sctp_it_ctl.cur_it = it;
1461 sctp_it_ctl.cur_it = NULL;
1533 if (sctp_it_ctl.iterator_flags) {
1537 if (sctp_it_ctl.iterator_flags &
1539 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_IT;
1542 if (sctp_it_ctl.iterator_flags &
1544 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_INP;
1549 sctp_it_ctl.iterator_flags);
1550 sctp_it_ctl.iterator_flags = 0;
1606 sctp_it_ctl
[all...]

Completed in 127 milliseconds