Lines Matching refs:nskb
104 struct sk_buff *nskb; in h5_link_control() local
106 nskb = alloc_skb(3, GFP_ATOMIC); in h5_link_control()
107 if (!nskb) in h5_link_control()
110 bt_cb(nskb)->pkt_type = HCI_3WIRE_LINK_PKT; in h5_link_control()
112 memcpy(skb_put(nskb, len), data, len); in h5_link_control()
114 skb_queue_tail(&h5->unrel, nskb); in h5_link_control()
626 struct sk_buff *nskb; in h5_prepare_pkt() local
641 nskb = alloc_skb((len + 6) * 2 + 2, GFP_ATOMIC); in h5_prepare_pkt()
642 if (!nskb) in h5_prepare_pkt()
645 bt_cb(nskb)->pkt_type = pkt_type; in h5_prepare_pkt()
647 h5_slip_delim(nskb); in h5_prepare_pkt()
669 h5_slip_one_byte(nskb, hdr[i]); in h5_prepare_pkt()
672 h5_slip_one_byte(nskb, data[i]); in h5_prepare_pkt()
674 h5_slip_delim(nskb); in h5_prepare_pkt()
676 return nskb; in h5_prepare_pkt()
683 struct sk_buff *skb, *nskb; in h5_dequeue() local
700 nskb = h5_prepare_pkt(hu, bt_cb(skb)->pkt_type, in h5_dequeue()
702 if (nskb) { in h5_dequeue()
704 return nskb; in h5_dequeue()
718 nskb = h5_prepare_pkt(hu, bt_cb(skb)->pkt_type, in h5_dequeue()
720 if (nskb) { in h5_dequeue()
724 return nskb; in h5_dequeue()