Lines Matching refs:nskb
128 struct sk_buff *nskb; in h5_link_control() local
130 nskb = alloc_skb(3, GFP_ATOMIC); in h5_link_control()
131 if (!nskb) in h5_link_control()
134 hci_skb_pkt_type(nskb) = HCI_3WIRE_LINK_PKT; in h5_link_control()
136 skb_put_data(nskb, data, len); in h5_link_control()
138 skb_queue_tail(&h5->unrel, nskb); in h5_link_control()
686 struct sk_buff *nskb; in h5_prepare_pkt() local
701 nskb = alloc_skb((len + 6) * 2 + 2, GFP_ATOMIC); in h5_prepare_pkt()
702 if (!nskb) in h5_prepare_pkt()
705 hci_skb_pkt_type(nskb) = pkt_type; in h5_prepare_pkt()
707 h5_slip_delim(nskb); in h5_prepare_pkt()
729 h5_slip_one_byte(nskb, hdr[i]); in h5_prepare_pkt()
732 h5_slip_one_byte(nskb, data[i]); in h5_prepare_pkt()
734 h5_slip_delim(nskb); in h5_prepare_pkt()
736 return nskb; in h5_prepare_pkt()
743 struct sk_buff *skb, *nskb; in h5_dequeue() local
760 nskb = h5_prepare_pkt(hu, hci_skb_pkt_type(skb), in h5_dequeue()
762 if (nskb) { in h5_dequeue()
764 return nskb; in h5_dequeue()
778 nskb = h5_prepare_pkt(hu, hci_skb_pkt_type(skb), in h5_dequeue()
780 if (nskb) { in h5_dequeue()
784 return nskb; in h5_dequeue()