Lines Matching refs:consume_len
684 const size_t consume_len = MIN( in isoal_rx_append_to_sdu() local
689 if (consume_len > 0) { in isoal_rx_append_to_sdu()
695 consume_len); in isoal_rx_append_to_sdu()
696 pdu_payload += consume_len; in isoal_rx_append_to_sdu()
697 sp->sdu_written += consume_len; in isoal_rx_append_to_sdu()
698 sp->sdu_available -= consume_len; in isoal_rx_append_to_sdu()
699 packet_available -= consume_len; in isoal_rx_append_to_sdu()
2095 const size_t consume_len = MIN( in isoal_tx_unframed_produce() local
2104 ((consume_len > 0 && consume_len == packet_available) || in isoal_tx_unframed_produce()
2107 if (consume_len > 0) { in isoal_tx_unframed_produce()
2111 consume_len); in isoal_tx_unframed_produce()
2112 sdu_payload += consume_len; in isoal_tx_unframed_produce()
2113 pp->pdu_written += consume_len; in isoal_tx_unframed_produce()
2114 pp->pdu_available -= consume_len; in isoal_tx_unframed_produce()
2115 packet_available -= consume_len; in isoal_tx_unframed_produce()
2651 const size_t consume_len = MIN( in isoal_tx_framed_produce() local
2660 ((consume_len > 0 && consume_len == packet_available) || in isoal_tx_framed_produce()
2663 if (consume_len > 0) { in isoal_tx_framed_produce()
2667 consume_len); in isoal_tx_framed_produce()
2668 sdu_payload += consume_len; in isoal_tx_framed_produce()
2669 pp->pdu_written += consume_len; in isoal_tx_framed_produce()
2670 pp->pdu_available -= consume_len; in isoal_tx_framed_produce()
2671 packet_available -= consume_len; in isoal_tx_framed_produce()
2688 err |= isoal_update_seg_header_cmplt_length(source, end_of_sdu, consume_len); in isoal_tx_framed_produce()