Searched refs:soute (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/net/sctp/ |
D | stream_sched_fc.c | 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() [all …]
|
D | stream_sched_rr.c | 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() [all …]
|
D | stream_sched_prio.c | 103 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 …]
|
D | stream_sched.c | 134 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()
|
D | stream.c | 166 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()
|