Lines Matching refs:sid
163 static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid,
166 struct sctp_stream_out *sout = SCTP_SO(stream, sid);
188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid,
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio;
202 static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid,
205 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list);
206 return sctp_sched_prio_set(stream, sid, 0, gfp);
209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid)
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head);
212 SCTP_SO(stream, sid)->ext->prio_head = NULL;
246 __u16 sid;
249 sid = sctp_chunk_stream_no(ch);
251 sctp_sched_prio_sched(stream, SCTP_SO(stream, sid)->ext);
287 __u16 sid;
292 sid = sctp_chunk_stream_no(ch);
293 soute = SCTP_SO(&q->asoc->stream, sid)->ext;
310 __u16 sid;
312 sid = sctp_chunk_stream_no(ch);
313 sout = SCTP_SO(stream, sid);