Lines Matching refs:ch
61 struct sctp_chunk *ch = NULL; in sctp_sched_fcfs_dequeue() local
68 ch = list_entry(stream->out_curr->ext->outq.next, in sctp_sched_fcfs_dequeue()
72 ch = list_entry(entry, struct sctp_chunk, list); in sctp_sched_fcfs_dequeue()
75 sctp_sched_dequeue_common(q, ch); in sctp_sched_fcfs_dequeue()
78 return ch; in sctp_sched_fcfs_dequeue()
154 struct sctp_chunk *ch; in sctp_sched_set_sched() local
179 list_for_each_entry(ch, &asoc->outqueue.out_chunk_list, list) { in sctp_sched_set_sched()
180 if (ch->msg == msg) in sctp_sched_set_sched()
182 msg = ch->msg; in sctp_sched_set_sched()
235 void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch) in sctp_sched_dequeue_done() argument
237 if (!list_is_last(&ch->frag_list, &ch->msg->chunks) && in sctp_sched_dequeue_done()
246 sid = sctp_chunk_stream_no(ch); in sctp_sched_dequeue_done()
253 q->sched->dequeue_done(q, ch); in sctp_sched_dequeue_done()
257 void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch) in sctp_sched_dequeue_common() argument
259 list_del_init(&ch->list); in sctp_sched_dequeue_common()
260 list_del_init(&ch->stream_list); in sctp_sched_dequeue_common()
261 q->out_qlen -= ch->skb->len; in sctp_sched_dequeue_common()