Lines Matching refs:soute
38 struct sctp_stream_out_ext *soute) in sctp_sched_rr_unsched() argument
40 if (stream->rr_next == soute) in sctp_sched_rr_unsched()
44 list_del_init(&soute->rr_list); in sctp_sched_rr_unsched()
52 struct sctp_stream_out_ext *soute) in sctp_sched_rr_sched() argument
54 if (!list_empty(&soute->rr_list)) in sctp_sched_rr_sched()
59 list_add_tail(&soute->rr_list, &stream->rr_list); in sctp_sched_rr_sched()
62 stream->rr_next = soute; in sctp_sched_rr_sched()
113 struct sctp_stream_out_ext *soute; in sctp_sched_rr_dequeue() local
122 soute = stream->out_curr->ext; in sctp_sched_rr_dequeue()
124 soute = stream->rr_next; in sctp_sched_rr_dequeue()
125 ch = list_entry(soute->outq.next, struct sctp_chunk, stream_list); in sctp_sched_rr_dequeue()
136 struct sctp_stream_out_ext *soute; in sctp_sched_rr_dequeue_done() local
141 soute = SCTP_SO(&q->asoc->stream, sid)->ext; in sctp_sched_rr_dequeue_done()
145 if (list_empty(&soute->outq)) in sctp_sched_rr_dequeue_done()
146 sctp_sched_rr_unsched(&q->asoc->stream, soute); in sctp_sched_rr_dequeue_done()
152 struct sctp_stream_out_ext *soute; in sctp_sched_rr_sched_all() local
160 soute = SCTP_SO(stream, sid)->ext; in sctp_sched_rr_sched_all()
161 if (soute) in sctp_sched_rr_sched_all()
162 sctp_sched_rr_sched(stream, soute); in sctp_sched_rr_sched_all()
168 struct sctp_stream_out_ext *soute, *tmp; in sctp_sched_rr_unsched_all() local
170 list_for_each_entry_safe(soute, tmp, &stream->rr_list, rr_list) in sctp_sched_rr_unsched_all()
171 sctp_sched_rr_unsched(stream, soute); in sctp_sched_rr_unsched_all()