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.c3727 it = sctp_it_ctl.cur_it;
3749 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_IT;
3751 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_STOP_CUR_INP;
3758 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) {
3768 TAILQ_REMOVE(&sctp_it_ctl.iteratorhead,
6722 InitializeConditionVariable(&sctp_it_ctl.iterator_wakeup);
6724 (void)pthread_cond_init(&sctp_it_ctl.iterator_wakeup, NULL);
6779 sctp_it_ctl.iterator_flags |= SCTP_ITERATOR_MUST_EXIT;
6789 msleep(&sctp_it_ctl.iterator_flags,
6790 sctp_it_ctl.ipi_iterator_wq_mtx,
[all …]
Dsctputil.c1352 if (sctp_it_ctl.iterator_flags) { in sctp_iterator_work()
1357 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1362 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1364 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_IT; in sctp_iterator_work()
1367 if (sctp_it_ctl.iterator_flags & in sctp_iterator_work()
1369 sctp_it_ctl.iterator_flags &= ~SCTP_ITERATOR_STOP_CUR_INP; in sctp_iterator_work()
1374 sctp_it_ctl.iterator_flags); in sctp_iterator_work()
1375 sctp_it_ctl.iterator_flags = 0; in sctp_iterator_work()
1428 sctp_it_ctl.iterator_running = 1; in sctp_iterator_worker()
1429 TAILQ_FOREACH_SAFE(it, &sctp_it_ctl.iteratorhead, sctp_nxt_itr, nit) { in sctp_iterator_worker()
[all …]