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()
645 struct sk_buff *hb; in ns_init_card() local
646 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
647 if (hb == NULL) { in ns_init_card()
655 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
656 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
834 struct sk_buff *hb; in ns_init_card_error() local
835 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
836 dev_kfree_skb_any(hb); in ns_init_card_error()
2214 struct sk_buff *hb, *sb, *lb; in dequeue_rx() local
2218 hb = skb_dequeue(&(card->hbpool.queue)); in dequeue_rx()
2219 if (hb == NULL) { /* No buffers in the queue */ in dequeue_rx()
2221 hb = dev_alloc_skb(NS_HBUFSIZE); in dequeue_rx()
2222 if (hb == NULL) { in dequeue_rx()
2244 NS_PRV_BUFTYPE(hb) = BUF_NONE; in dequeue_rx()
2269 if (!atm_charge(vcc, hb->truesize)) { in dequeue_rx()
2273 skb_queue_tail(&card->hbpool.queue, hb); in dequeue_rx()
2276 dev_kfree_skb_any(hb); in dequeue_rx()
2281 skb_copy_from_linear_data(sb, hb->data, in dequeue_rx()
2283 skb_put(hb, iov->iov_len); in dequeue_rx()
2296 (hb), tocopy); in dequeue_rx()
2297 skb_put(hb, tocopy); in dequeue_rx()
2303 if (remaining != 0 || hb->len != len) in dequeue_rx()
2308 ATM_SKB(hb)->vcc = vcc; in dequeue_rx()
2309 __net_timestamp(hb); in dequeue_rx()
2310 vcc->push(vcc, hb); in dequeue_rx()
2600 struct sk_buff *hb; in ns_ioctl() local
2603 hb = skb_dequeue(&card->hbpool.queue); in ns_ioctl()
2606 if (hb == NULL) in ns_ioctl()
2611 dev_kfree_skb_any(hb); in ns_ioctl()
2615 struct sk_buff *hb; in ns_ioctl() local
2617 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_ioctl()
2618 if (hb == NULL) in ns_ioctl()
2620 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_ioctl()
2622 skb_queue_tail(&card->hbpool.queue, hb); in ns_ioctl()