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)
204 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
207 if (sid >= asoc->stream.outcnt)
210 if (!SCTP_SO(&asoc->stream, sid)->ext) {
213 ret = sctp_stream_init_ext(&asoc->stream, sid);
218 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp);
221 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
224 if (sid >= asoc->stream.outcnt)
227 if (!SCTP_SO(&asoc->stream, sid)->ext)
230 return asoc->outqueue.sched->get(&asoc->stream, sid, value);
238 __u16 sid;
244 sid = sctp_chunk_stream_no(ch);
245 sout = SCTP_SO(&q->asoc->stream, sid);
262 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp)
265 struct sctp_stream_out_ext *ext = SCTP_SO(stream, sid)->ext;
268 return sched->init_sid(stream, sid, gfp);