Lines Matching refs:sid
163 static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_set() argument
166 struct sctp_stream_out *sout = SCTP_SO(stream, sid); in sctp_sched_prio_set()
188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_get() argument
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio; in sctp_sched_prio_get()
202 static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_init_sid() argument
205 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list); in sctp_sched_prio_init_sid()
206 return sctp_sched_prio_set(stream, sid, 0, gfp); in sctp_sched_prio_init_sid()
209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_prio_free_sid() argument
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head); in sctp_sched_prio_free_sid()
212 SCTP_SO(stream, sid)->ext->prio_head = NULL; in sctp_sched_prio_free_sid()
220 __u16 sid; in sctp_sched_prio_enqueue() local
223 sid = sctp_chunk_stream_no(ch); in sctp_sched_prio_enqueue()
225 sctp_sched_prio_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_prio_enqueue()
261 __u16 sid; in sctp_sched_prio_dequeue_done() local
266 sid = sctp_chunk_stream_no(ch); in sctp_sched_prio_dequeue_done()
267 soute = SCTP_SO(&q->asoc->stream, sid)->ext; in sctp_sched_prio_dequeue_done()
284 __u16 sid; in sctp_sched_prio_sched_all() local
286 sid = sctp_chunk_stream_no(ch); in sctp_sched_prio_sched_all()
287 sout = SCTP_SO(stream, sid); in sctp_sched_prio_sched_all()