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