Lines Matching refs: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
203 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value() argument
206 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
209 if (!SCTP_SO(&asoc->stream, sid)->ext) { in sctp_sched_set_value()
212 ret = sctp_stream_init_ext(&asoc->stream, sid); in sctp_sched_set_value()
217 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp); in sctp_sched_set_value()
220 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value() argument
223 if (sid >= asoc->stream.outcnt) in sctp_sched_get_value()
226 if (!SCTP_SO(&asoc->stream, sid)->ext) in sctp_sched_get_value()
229 return asoc->outqueue.sched->get(&asoc->stream, sid, value); in sctp_sched_get_value()
237 __u16 sid; in sctp_sched_dequeue_done() local
243 sid = sctp_chunk_stream_no(ch); in sctp_sched_dequeue_done()
244 sout = SCTP_SO(&q->asoc->stream, sid); in sctp_sched_dequeue_done()
261 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) in sctp_sched_init_sid() argument
264 struct sctp_stream_out_ext *ext = SCTP_SO(stream, sid)->ext; in sctp_sched_init_sid()
267 return sched->init_sid(stream, sid, gfp); in sctp_sched_init_sid()