Lines Matching refs:hb
199 struct sk_buff *hb; in nicstar_remove_one() local
224 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
225 dev_kfree_skb_any(hb); in nicstar_remove_one()
646 struct sk_buff *hb; in ns_init_card() local
647 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
648 if (hb == NULL) { in ns_init_card()
656 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
657 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
835 struct sk_buff *hb; in ns_init_card_error() local
836 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
837 dev_kfree_skb_any(hb); in ns_init_card_error()
2213 struct sk_buff *hb, *sb, *lb; in dequeue_rx() local
2217 hb = skb_dequeue(&(card->hbpool.queue)); in dequeue_rx()
2218 if (hb == NULL) { /* No buffers in the queue */ in dequeue_rx()
2220 hb = dev_alloc_skb(NS_HBUFSIZE); in dequeue_rx()
2221 if (hb == NULL) { in dequeue_rx()
2243 NS_PRV_BUFTYPE(hb) = BUF_NONE; in dequeue_rx()
2268 if (!atm_charge(vcc, hb->truesize)) { in dequeue_rx()
2272 skb_queue_tail(&card->hbpool.queue, hb); in dequeue_rx()
2275 dev_kfree_skb_any(hb); in dequeue_rx()
2280 skb_copy_from_linear_data(sb, hb->data, in dequeue_rx()
2282 skb_put(hb, iov->iov_len); in dequeue_rx()
2295 (hb), tocopy); in dequeue_rx()
2296 skb_put(hb, tocopy); in dequeue_rx()
2302 if (remaining != 0 || hb->len != len) in dequeue_rx()
2307 ATM_SKB(hb)->vcc = vcc; in dequeue_rx()
2308 __net_timestamp(hb); in dequeue_rx()
2309 vcc->push(vcc, hb); in dequeue_rx()
2599 struct sk_buff *hb; in ns_ioctl() local
2602 hb = skb_dequeue(&card->hbpool.queue); in ns_ioctl()
2605 if (hb == NULL) in ns_ioctl()
2610 dev_kfree_skb_any(hb); in ns_ioctl()
2614 struct sk_buff *hb; in ns_ioctl() local
2616 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_ioctl()
2617 if (hb == NULL) in ns_ioctl()
2619 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_ioctl()
2621 skb_queue_tail(&card->hbpool.queue, hb); in ns_ioctl()