Home
last modified time | relevance | path

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

/Linux-v6.6/net/sctp/
Dstream_sched_fc.c30 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()
[all …]
Dstream_sched_rr.c38 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()
[all …]
Dstream_sched_prio.c103 static bool sctp_sched_prio_unsched(struct sctp_stream_out_ext *soute) in sctp_sched_prio_unsched() argument
107 if (!list_empty(&soute->prio_list)) { in sctp_sched_prio_unsched()
108 struct sctp_stream_priorities *prio_head = soute->prio_head; in sctp_sched_prio_unsched()
113 if (prio_head->next == soute) in sctp_sched_prio_unsched()
117 list_del_init(&soute->prio_list); in sctp_sched_prio_unsched()
131 struct sctp_stream_out_ext *soute) in sctp_sched_prio_sched() argument
135 prio_head = soute->prio_head; in sctp_sched_prio_sched()
138 if (!list_empty(&soute->prio_list)) in sctp_sched_prio_sched()
146 list_add(&soute->prio_list, prio_head->next->prio_list.prev); in sctp_sched_prio_sched()
150 list_add(&soute->prio_list, &prio_head->active); in sctp_sched_prio_sched()
[all …]
Dstream_sched.c134 struct sctp_stream_out_ext *soute; in sctp_sched_free_sched() local
139 soute = SCTP_SO(stream, i)->ext; in sctp_sched_free_sched()
140 if (!soute) in sctp_sched_free_sched()
144 memset_after(soute, 0, outq); in sctp_sched_free_sched()
Dstream.c166 struct sctp_stream_out_ext *soute; in sctp_stream_init_ext() local
169 soute = kzalloc(sizeof(*soute), GFP_KERNEL); in sctp_stream_init_ext()
170 if (!soute) in sctp_stream_init_ext()
172 SCTP_SO(stream, sid)->ext = soute; in sctp_stream_init_ext()