Lines Matching refs:lchunk
229 struct list_head *lchunk, *pos, *temp; in sctp_outq_teardown() local
235 while ((lchunk = sctp_list_dequeue(&transport->transmitted)) != NULL) { in sctp_outq_teardown()
236 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
245 list_for_each_safe(lchunk, temp, &q->sacked) { in sctp_outq_teardown()
246 list_del_init(lchunk); in sctp_outq_teardown()
247 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
254 list_for_each_safe(lchunk, temp, &q->retransmit) { in sctp_outq_teardown()
255 list_del_init(lchunk); in sctp_outq_teardown()
256 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
263 list_for_each_safe(lchunk, temp, &q->abandoned) { in sctp_outq_teardown()
264 list_del_init(lchunk); in sctp_outq_teardown()
265 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_teardown()
365 struct sctp_chunk *nchunk, *lchunk; in sctp_insert_list() local
373 lchunk = list_entry(pos, struct sctp_chunk, transmitted_list); in sctp_insert_list()
374 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list()
390 struct list_head *lchunk, *ltemp; in sctp_retransmit_mark() local
394 list_for_each_safe(lchunk, ltemp, &transport->transmitted) { in sctp_retransmit_mark()
395 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_retransmit_mark()
400 list_del_init(lchunk); in sctp_retransmit_mark()
401 sctp_insert_list(&q->abandoned, lchunk); in sctp_retransmit_mark()
447 list_del_init(lchunk); in sctp_retransmit_mark()
448 sctp_insert_list(&q->retransmit, lchunk); in sctp_retransmit_mark()
515 struct list_head *lchunk, *lchunk1; in sctp_outq_flush_rtx() local
541 lchunk = sctp_list_dequeue(lqueue); in sctp_outq_flush_rtx()
543 while (lchunk) { in sctp_outq_flush_rtx()
544 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_flush_rtx()
553 list_add_tail(lchunk, &transport->transmitted); in sctp_outq_flush_rtx()
554 lchunk = sctp_list_dequeue(lqueue); in sctp_outq_flush_rtx()
571 list_add(lchunk, lqueue); in sctp_outq_flush_rtx()
572 lchunk = NULL; in sctp_outq_flush_rtx()
586 list_add(lchunk, lqueue); in sctp_outq_flush_rtx()
587 lchunk = NULL; in sctp_outq_flush_rtx()
596 list_add(lchunk, lqueue); in sctp_outq_flush_rtx()
597 lchunk = NULL; in sctp_outq_flush_rtx()
604 list_add_tail(lchunk, &transport->transmitted); in sctp_outq_flush_rtx()
615 lchunk = sctp_list_dequeue(lqueue); in sctp_outq_flush_rtx()
623 if (rtx_timeout && !lchunk) { in sctp_outq_flush_rtx()
986 struct list_head *ltransport, *lchunk; in sctp_highest_new_tsn() local
997 list_for_each(lchunk, &transport->transmitted) { in sctp_highest_new_tsn()
998 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_highest_new_tsn()
1022 struct list_head *lchunk, *transport_list, *pos, *temp; in sctp_outq_sack() local
1127 list_for_each_safe(lchunk, temp, &q->sacked) { in sctp_outq_sack()
1128 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_sack()
1205 struct list_head *lchunk; in sctp_check_transmitted() local
1234 while (NULL != (lchunk = sctp_list_dequeue(transmitted_queue))) { in sctp_check_transmitted()
1235 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_check_transmitted()
1240 sctp_insert_list(&q->abandoned, lchunk); in sctp_check_transmitted()
1329 list_add_tail(lchunk, &tlist); in sctp_check_transmitted()
1398 list_add_tail(lchunk, &tlist); in sctp_check_transmitted()
1648 struct list_head *lchunk, *temp; in sctp_generate_fwdtsn() local
1680 list_for_each_safe(lchunk, temp, &q->abandoned) { in sctp_generate_fwdtsn()
1681 chunk = list_entry(lchunk, struct sctp_chunk, in sctp_generate_fwdtsn()
1689 list_del_init(lchunk); in sctp_generate_fwdtsn()