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
199 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value() argument
202 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
205 if (!SCTP_SO(&asoc->stream, sid)->ext) { in sctp_sched_set_value()
208 ret = sctp_stream_init_ext(&asoc->stream, sid); in sctp_sched_set_value()
213 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp); in sctp_sched_set_value()
216 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value() argument
219 if (sid >= asoc->stream.outcnt) in sctp_sched_get_value()
222 if (!SCTP_SO(&asoc->stream, sid)->ext) in sctp_sched_get_value()
225 return asoc->outqueue.sched->get(&asoc->stream, sid, value); in sctp_sched_get_value()
233 __u16 sid; in sctp_sched_dequeue_done() local
239 sid = sctp_chunk_stream_no(ch); in sctp_sched_dequeue_done()
240 sout = SCTP_SO(&q->asoc->stream, sid); in sctp_sched_dequeue_done()
257 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) in sctp_sched_init_sid() argument
260 struct sctp_stream_out_ext *ext = SCTP_SO(stream, sid)->ext; in sctp_sched_init_sid()
263 return sched->init_sid(stream, sid, gfp); in sctp_sched_init_sid()