Lines Matching refs:hb

202 	struct sk_buff *hb;  in nicstar_remove_one()  local
227 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
228 dev_kfree_skb_any(hb); in nicstar_remove_one()
657 struct sk_buff *hb; in ns_init_card() local
658 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
659 if (hb == NULL) { in ns_init_card()
667 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
668 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
837 struct sk_buff *hb; in ns_init_card_error() local
838 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
839 dev_kfree_skb_any(hb); in ns_init_card_error()
2225 struct sk_buff *hb, *sb, *lb; in dequeue_rx() local
2229 hb = skb_dequeue(&(card->hbpool.queue)); in dequeue_rx()
2230 if (hb == NULL) { /* No buffers in the queue */ in dequeue_rx()
2232 hb = dev_alloc_skb(NS_HBUFSIZE); in dequeue_rx()
2233 if (hb == NULL) { in dequeue_rx()
2255 NS_PRV_BUFTYPE(hb) = BUF_NONE; in dequeue_rx()
2280 if (!atm_charge(vcc, hb->truesize)) { in dequeue_rx()
2284 skb_queue_tail(&card->hbpool.queue, hb); in dequeue_rx()
2287 dev_kfree_skb_any(hb); in dequeue_rx()
2292 skb_copy_from_linear_data(sb, hb->data, in dequeue_rx()
2294 skb_put(hb, iov->iov_len); in dequeue_rx()
2307 (hb), tocopy); in dequeue_rx()
2308 skb_put(hb, tocopy); in dequeue_rx()
2314 if (remaining != 0 || hb->len != len) in dequeue_rx()
2319 ATM_SKB(hb)->vcc = vcc; in dequeue_rx()
2320 __net_timestamp(hb); in dequeue_rx()
2321 vcc->push(vcc, hb); in dequeue_rx()
2611 struct sk_buff *hb; in ns_ioctl() local
2614 hb = skb_dequeue(&card->hbpool.queue); in ns_ioctl()
2617 if (hb == NULL) in ns_ioctl()
2622 dev_kfree_skb_any(hb); in ns_ioctl()
2626 struct sk_buff *hb; in ns_ioctl() local
2628 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_ioctl()
2629 if (hb == NULL) in ns_ioctl()
2631 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_ioctl()
2633 skb_queue_tail(&card->hbpool.queue, hb); in ns_ioctl()