Lines Matching refs:sdu
560 chan->sdu = NULL; in l2cap_le_flowctl_init()
3284 chan->sdu = NULL; in l2cap_ertm_init()
6638 if (chan->sdu) in l2cap_reassemble_sdu()
6645 if (chan->sdu) in l2cap_reassemble_sdu()
6662 chan->sdu = skb; in l2cap_reassemble_sdu()
6670 if (!chan->sdu) in l2cap_reassemble_sdu()
6673 append_skb_frag(chan->sdu, skb, in l2cap_reassemble_sdu()
6677 if (chan->sdu->len >= chan->sdu_len) in l2cap_reassemble_sdu()
6684 if (!chan->sdu) in l2cap_reassemble_sdu()
6687 append_skb_frag(chan->sdu, skb, in l2cap_reassemble_sdu()
6691 if (chan->sdu->len != chan->sdu_len) in l2cap_reassemble_sdu()
6694 err = chan->ops->recv(chan, chan->sdu); in l2cap_reassemble_sdu()
6698 chan->sdu = NULL; in l2cap_reassemble_sdu()
6707 kfree_skb(chan->sdu); in l2cap_reassemble_sdu()
6708 chan->sdu = NULL; in l2cap_reassemble_sdu()
7412 if (chan->sdu) { in l2cap_stream_rx()
7413 kfree_skb(chan->sdu); in l2cap_stream_rx()
7414 chan->sdu = NULL; in l2cap_stream_rx()
7590 if (!chan->sdu) { in l2cap_ecred_data_rcv()
7614 chan->sdu = skb; in l2cap_ecred_data_rcv()
7632 chan->sdu->len, skb->len, chan->sdu_len); in l2cap_ecred_data_rcv()
7634 if (chan->sdu->len + skb->len > chan->sdu_len) { in l2cap_ecred_data_rcv()
7640 append_skb_frag(chan->sdu, skb, &chan->sdu_last_frag); in l2cap_ecred_data_rcv()
7643 if (chan->sdu->len == chan->sdu_len) { in l2cap_ecred_data_rcv()
7644 err = l2cap_ecred_recv(chan, chan->sdu); in l2cap_ecred_data_rcv()
7646 chan->sdu = NULL; in l2cap_ecred_data_rcv()
7655 kfree_skb(chan->sdu); in l2cap_ecred_data_rcv()
7656 chan->sdu = NULL; in l2cap_ecred_data_rcv()