Lines Matching full:hb
203 struct sk_buff *hb; in nicstar_remove_one() local
228 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
229 dev_kfree_skb_any(hb); in nicstar_remove_one()
658 struct sk_buff *hb; in ns_init_card() local
659 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
660 if (hb == NULL) { in ns_init_card()
668 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
669 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
838 struct sk_buff *hb; in ns_init_card_error() local
839 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
840 dev_kfree_skb_any(hb); in ns_init_card_error()
2226 struct sk_buff *hb, *sb, *lb; in dequeue_rx() local
2230 hb = skb_dequeue(&(card->hbpool.queue)); in dequeue_rx()
2231 if (hb == NULL) { /* No buffers in the queue */ in dequeue_rx()
2233 hb = dev_alloc_skb(NS_HBUFSIZE); in dequeue_rx()
2234 if (hb == NULL) { in dequeue_rx()
2256 NS_PRV_BUFTYPE(hb) = BUF_NONE; in dequeue_rx()
2281 if (!atm_charge(vcc, hb->truesize)) { in dequeue_rx()
2285 skb_queue_tail(&card->hbpool.queue, hb); in dequeue_rx()
2288 dev_kfree_skb_any(hb); in dequeue_rx()
2293 skb_copy_from_linear_data(sb, hb->data, in dequeue_rx()
2295 skb_put(hb, iov->iov_len); in dequeue_rx()
2308 (hb), tocopy); in dequeue_rx()
2309 skb_put(hb, tocopy); in dequeue_rx()
2315 if (remaining != 0 || hb->len != len) in dequeue_rx()
2320 ATM_SKB(hb)->vcc = vcc; in dequeue_rx()
2321 __net_timestamp(hb); in dequeue_rx()
2322 vcc->push(vcc, hb); in dequeue_rx()
2612 struct sk_buff *hb; in ns_ioctl() local
2615 hb = skb_dequeue(&card->hbpool.queue); in ns_ioctl()
2618 if (hb == NULL) in ns_ioctl()
2623 dev_kfree_skb_any(hb); in ns_ioctl()
2627 struct sk_buff *hb; in ns_ioctl() local
2629 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_ioctl()
2630 if (hb == NULL) in ns_ioctl()
2632 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_ioctl()
2634 skb_queue_tail(&card->hbpool.queue, hb); in ns_ioctl()