Lines Matching refs:out_wheel
60 TAILQ_INIT(&asoc->ss_data.out_wheel);
82 while (!TAILQ_EMPTY(&asoc->ss_data.out_wheel)) {
83 struct sctp_stream_out *strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
84 TAILQ_REMOVE(&asoc->ss_data.out_wheel, TAILQ_FIRST(&asoc->ss_data.out_wheel), ss_params.rr.next_spoke);
115 TAILQ_INSERT_TAIL(&asoc->ss_data.out_wheel,
127 if (TAILQ_EMPTY(&asoc->ss_data.out_wheel)) {
151 asoc->last_out_stream = TAILQ_LAST(&asoc->ss_data.out_wheel,
158 TAILQ_REMOVE(&asoc->ss_data.out_wheel, strq, ss_params.rr.next_spoke);
179 strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
183 strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
264 if (TAILQ_EMPTY(&asoc->ss_data.out_wheel)) {
265 TAILQ_INSERT_HEAD(&asoc->ss_data.out_wheel, strq, ss_params.rr.next_spoke);
267 strqt = TAILQ_FIRST(&asoc->ss_data.out_wheel);
274 TAILQ_INSERT_TAIL(&asoc->ss_data.out_wheel, strq, ss_params.rr.next_spoke);
306 strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
310 strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
354 while (!TAILQ_EMPTY(&asoc->ss_data.out_wheel)) {
355 struct sctp_stream_out *strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
359 TAILQ_REMOVE(&asoc->ss_data.out_wheel, TAILQ_FIRST(&asoc->ss_data.out_wheel), ss_params.prio.next_spoke);
398 if (TAILQ_EMPTY(&asoc->ss_data.out_wheel)) {
399 TAILQ_INSERT_HEAD(&asoc->ss_data.out_wheel, strq, ss_params.prio.next_spoke);
401 strqt = TAILQ_FIRST(&asoc->ss_data.out_wheel);
408 TAILQ_INSERT_TAIL(&asoc->ss_data.out_wheel, strq, ss_params.prio.next_spoke);
434 asoc->last_out_stream = TAILQ_LAST(&asoc->ss_data.out_wheel,
441 TAILQ_REMOVE(&asoc->ss_data.out_wheel, strq, ss_params.prio.next_spoke);
461 strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
468 strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
534 while (!TAILQ_EMPTY(&asoc->ss_data.out_wheel)) {
535 struct sctp_stream_out *strq = TAILQ_FIRST(&asoc->ss_data.out_wheel);
539 TAILQ_REMOVE(&asoc->ss_data.out_wheel, TAILQ_FIRST(&asoc->ss_data.out_wheel), ss_params.fb.next_spoke);
576 TAILQ_INSERT_TAIL(&asoc->ss_data.out_wheel, strq, ss_params.fb.next_spoke);
600 asoc->last_out_stream = TAILQ_LAST(&asoc->ss_data.out_wheel,
607 TAILQ_REMOVE(&asoc->ss_data.out_wheel, strq, ss_params.fb.next_spoke);
624 TAILQ_FIRST(&asoc->ss_data.out_wheel) == TAILQ_LAST(&asoc->ss_data.out_wheel, sctpwheel_listhead)) {
625 strqt = TAILQ_FIRST(&asoc->ss_data.out_wheel);
644 strqt = TAILQ_FIRST(&asoc->ss_data.out_wheel);
659 TAILQ_FOREACH(strqt, &asoc->ss_data.out_wheel, ss_params.fb.next_spoke) {