Lines Matching refs:sid
35 __u16 sid = sctp_chunk_stream_no(ch); in sctp_stream_shrink_out() local
37 if (sid < outcnt) in sctp_stream_shrink_out()
55 static void sctp_stream_free_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_free_ext() argument
59 if (!SCTP_SO(stream, sid)->ext) in sctp_stream_free_ext()
63 sched->free_sid(stream, sid); in sctp_stream_free_ext()
64 kfree(SCTP_SO(stream, sid)->ext); in sctp_stream_free_ext()
65 SCTP_SO(stream, sid)->ext = NULL; in sctp_stream_free_ext()
164 int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_init_ext() argument
172 SCTP_SO(stream, sid)->ext = soute; in sctp_stream_init_ext()
174 ret = sctp_sched_init_sid(stream, sid, GFP_KERNEL); in sctp_stream_init_ext()
176 kfree(SCTP_SO(stream, sid)->ext); in sctp_stream_init_ext()
177 SCTP_SO(stream, sid)->ext = NULL; in sctp_stream_init_ext()
255 __u16 sid = ntohs(str_list[i]); in sctp_stream_outq_is_empty() local
257 if (SCTP_SO(stream, sid)->ext && in sctp_stream_outq_is_empty()
258 !list_empty(&SCTP_SO(stream, sid)->ext->outq)) in sctp_stream_outq_is_empty()