Lines Matching refs:soute

30 	struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext;  in sctp_sched_wfq_set()  local
35 soute->fc_weight = weight; in sctp_sched_wfq_set()
42 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_get() local
44 *value = soute->fc_weight; in sctp_sched_wfq_get()
70 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_fc_init_sid() local
72 INIT_LIST_HEAD(&soute->fc_list); in sctp_sched_fc_init_sid()
73 soute->fc_length = 0; in sctp_sched_fc_init_sid()
74 soute->fc_weight = 1; in sctp_sched_fc_init_sid()
84 struct sctp_stream_out_ext *soute) in sctp_sched_fc_sched() argument
88 if (!list_empty(&soute->fc_list)) in sctp_sched_fc_sched()
92 if ((__u64)pos->fc_length * soute->fc_weight >= in sctp_sched_fc_sched()
93 (__u64)soute->fc_length * pos->fc_weight) in sctp_sched_fc_sched()
95 list_add_tail(&soute->fc_list, &pos->fc_list); in sctp_sched_fc_sched()
114 struct sctp_stream_out_ext *soute; in sctp_sched_fc_dequeue() local
123 soute = stream->out_curr->ext; in sctp_sched_fc_dequeue()
125 soute = list_entry(stream->fc_list.next, struct sctp_stream_out_ext, fc_list); in sctp_sched_fc_dequeue()
126 ch = list_entry(soute->outq.next, struct sctp_chunk, stream_list); in sctp_sched_fc_dequeue()
136 struct sctp_stream_out_ext *soute, *pos; in sctp_sched_fc_dequeue_done() local
140 soute = SCTP_SO(stream, sid)->ext; in sctp_sched_fc_dequeue_done()
142 if (soute->fc_length > U32_MAX - ch->skb->len) { in sctp_sched_fc_dequeue_done()
154 soute->fc_length += ch->skb->len; in sctp_sched_fc_dequeue_done()
156 if (list_empty(&soute->outq)) { in sctp_sched_fc_dequeue_done()
157 list_del_init(&soute->fc_list); in sctp_sched_fc_dequeue_done()
161 pos = soute; in sctp_sched_fc_dequeue_done()
163 if ((__u64)pos->fc_length * soute->fc_weight >= in sctp_sched_fc_dequeue_done()
164 (__u64)soute->fc_length * pos->fc_weight) in sctp_sched_fc_dequeue_done()
166 list_move_tail(&soute->fc_list, &pos->fc_list); in sctp_sched_fc_dequeue_done()
185 struct sctp_stream_out_ext *soute, *tmp; in sctp_sched_fc_unsched_all() local
187 list_for_each_entry_safe(soute, tmp, &stream->fc_list, fc_list) in sctp_sched_fc_unsched_all()
188 list_del_init(&soute->fc_list); in sctp_sched_fc_unsched_all()