Home
last modified time | relevance | path

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

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h491 InitializeCriticalSection(&sctp_it_ctl.it_mtx)
495 EnterCriticalSection(&sctp_it_ctl.it_mtx); \
499 LeaveCriticalSection(&sctp_it_ctl.it_mtx)
502 DeleteCriticalSection(&sctp_it_ctl.it_mtx)
506 InitializeCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
509 DeleteCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
513 EnterCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx); \
517 LeaveCriticalSection(&sctp_it_ctl.ipi_iterator_wq_mtx)
543 (void)pthread_mutex_init(&sctp_it_ctl.it_mtx, NULL)
547 (void)pthread_mutex_lock(&sctp_it_ctl.it_mtx); \
[all …]
Dsctp_bsd_addr.c80 struct iterator_control sctp_it_ctl; variable
88 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) { in sctp_cleanup_itqueue()
92 TAILQ_REMOVE(&sctp_it_ctl.iteratorhead, it, sctp_nxt_itr); in sctp_cleanup_itqueue()
111 WakeAllConditionVariable(&sctp_it_ctl.iterator_wakeup); in sctp_wakeup_iterator()
113 pthread_cond_broadcast(&sctp_it_ctl.iterator_wakeup); in sctp_wakeup_iterator()
116 wakeup(&sctp_it_ctl.iterator_running); in sctp_wakeup_iterator()
132 while ((sctp_it_ctl.iterator_flags & SCTP_ITERATOR_MUST_EXIT) == 0) {
135 msleep(&sctp_it_ctl.iterator_running,
137 &sctp_it_ctl.ipi_iterator_wq_mtx,
139 sctp_it_ctl.ipi_iterator_wq_mtx,
[all …]
Dsctp_bsd_addr.h45 extern struct iterator_control sctp_it_ctl;
Dsctp_pcb.c3811 it = sctp_it_ctl.cur_it;
3833 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_IT;
3835 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_INP;
3842 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) {
3852 TAILQ_REMOVE(&sctp_it_ctl.iteratorhead,
6817 InitializeConditionVariable(&sctp_it_ctl.iterator_wakeup);
6819 (void)pthread_cond_init(&sctp_it_ctl.iterator_wakeup, NULL);
6874 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_MUST_EXIT;
6884 msleep(&sctp_it_ctl.iterator_flags,
6885 sctp_it_ctl.ipi_iterator_wq_mtx,
[all …]
Dsctputil.c1372 if (sctp_it_ctl.iterator_flags) { in sctp_iterator_work()
1377 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1382 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1384 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_IT; in sctp_iterator_work()
1387 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1389 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_INP; in sctp_iterator_work()
1394 sctp_it_ctl.iterator_flags); in sctp_iterator_work()
1395 sctp_it_ctl.iterator_flags = 0; in sctp_iterator_work()
1448 sctp_it_ctl.iterator_running = 1; in sctp_iterator_worker()
1449 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) { in sctp_iterator_worker()
[all …]