Lines Matching refs:sid
25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid,
31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid,
43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid,
49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid)
206 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
209 if (sid >= asoc->stream.outcnt)
212 if (!SCTP_SO(&asoc->stream, sid)->ext) {
215 ret = sctp_stream_init_ext(&asoc->stream, sid);
220 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp);
223 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
226 if (sid >= asoc->stream.outcnt)
229 if (!SCTP_SO(&asoc->stream, sid)->ext)
232 return asoc->outqueue.sched->get(&asoc->stream, sid, value);
240 __u16 sid;
246 sid = sctp_chunk_stream_no(ch);
247 sout = SCTP_SO(&q->asoc->stream, sid);
264 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp)
267 struct sctp_stream_out_ext *ext = SCTP_SO(stream, sid)->ext;
270 return sched->init_sid(stream, sid, gfp);