Home
last modified time | relevance | path

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

/external/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h550 InitializeCriticalSection(&sctp_it_ctl.it_mtx)
552 DeleteCriticalSection(&sctp_it_ctl.it_mtx)
554 EnterCriticalSection(&sctp_it_ctl.it_mtx)
556 LeaveCriticalSection(&sctp_it_ctl.it_mtx)
559 InitializeCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
561 DeleteCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
563 EnterCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
565 LeaveCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
595 (void)pthread_mutex_init(&sctp_it_ctl.it_mtx, &SCTP_BASE_VAR(mtx_attr))
597 (void)pthread_mutex_destroy(&sctp_it_ctl.it_mtx)
[all …]
Dsctp_bsd_addr.c82 struct iterator_control sctp_it_ctl; variable
90 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) { in sctp_cleanup_itqueue()
94 TAILQ_REMOVE(&sctp_it_ctl.iteratorhead, it, sctp_nxt_itr); in sctp_cleanup_itqueue()
113 WakeAllConditionVariable(&sctp_it_ctl.iterator_wakeup); in sctp_wakeup_iterator()
115 pthread_cond_broadcast(&sctp_it_ctl.iterator_wakeup); in sctp_wakeup_iterator()
118 wakeup(&sctp_it_ctl.iterator_running); in sctp_wakeup_iterator()
137 while ((sctp_it_ctl.iterator_flags & SCTP_ITERATOR_MUST_EXIT) == 0) {
140 msleep(&sctp_it_ctl.iterator_running,
142 &sctp_it_ctl.ipi_iterator_wq_mtx,
144 sctp_it_ctl.ipi_iterator_wq_mtx,
[all …]
Dsctp_bsd_addr.h47 extern struct iterator_control sctp_it_ctl;
Dsctp_pcb.c3813 it = sctp_it_ctl.cur_it;
3835 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_IT;
3837 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_INP;
3844 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) {
3854 TAILQ_REMOVE(&sctp_it_ctl.iteratorhead,
6797 InitializeConditionVariable(&sctp_it_ctl.iterator_wakeup);
6799 (void)pthread_cond_init(&sctp_it_ctl.iterator_wakeup, NULL);
6860 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_MUST_EXIT;
6870 msleep(&sctp_it_ctl.iterator_flags,
6871 sctp_it_ctl.ipi_iterator_wq_mtx,
[all …]
Dsctputil.c1508 sctp_it_ctl.cur_it = it; in sctp_iterator_work()
1516 sctp_it_ctl.cur_it = NULL; in sctp_iterator_work()
1590 if (sctp_it_ctl.iterator_flags) { in sctp_iterator_work()
1595 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1600 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1602 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_IT; in sctp_iterator_work()
1605 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1607 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_INP; in sctp_iterator_work()
1612 sctp_it_ctl.iterator_flags); in sctp_iterator_work()
1613 sctp_it_ctl.iterator_flags = 0; in sctp_iterator_work()
[all …]