Lines Matching refs:hb
200 struct sk_buff *hb; in nicstar_remove_one() local
225 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
226 dev_kfree_skb_any(hb); in nicstar_remove_one()
655 struct sk_buff *hb; in ns_init_card() local
656 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
657 if (hb == NULL) { in ns_init_card()
665 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
666 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()
2219 struct sk_buff *hb, *sb, *lb; in dequeue_rx() local
2223 hb = skb_dequeue(&(card->hbpool.queue)); in dequeue_rx()
2224 if (hb == NULL) { /* No buffers in the queue */ in dequeue_rx()
2226 hb = dev_alloc_skb(NS_HBUFSIZE); in dequeue_rx()
2227 if (hb == NULL) { in dequeue_rx()
2249 NS_PRV_BUFTYPE(hb) = BUF_NONE; in dequeue_rx()
2274 if (!atm_charge(vcc, hb->truesize)) { in dequeue_rx()
2278 skb_queue_tail(&card->hbpool.queue, hb); in dequeue_rx()
2281 dev_kfree_skb_any(hb); in dequeue_rx()
2286 skb_copy_from_linear_data(sb, hb->data, in dequeue_rx()
2288 skb_put(hb, iov->iov_len); in dequeue_rx()
2301 (hb), tocopy); in dequeue_rx()
2302 skb_put(hb, tocopy); in dequeue_rx()
2308 if (remaining != 0 || hb->len != len) in dequeue_rx()
2313 ATM_SKB(hb)->vcc = vcc; in dequeue_rx()
2314 __net_timestamp(hb); in dequeue_rx()
2315 vcc->push(vcc, hb); in dequeue_rx()
2605 struct sk_buff *hb; in ns_ioctl() local
2608 hb = skb_dequeue(&card->hbpool.queue); in ns_ioctl()
2611 if (hb == NULL) in ns_ioctl()
2616 dev_kfree_skb_any(hb); in ns_ioctl()
2620 struct sk_buff *hb; in ns_ioctl() local
2622 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_ioctl()
2623 if (hb == NULL) in ns_ioctl()
2625 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_ioctl()
2627 skb_queue_tail(&card->hbpool.queue, hb); in ns_ioctl()