• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/atm/

Lines Matching refs:hb

143 static void ns_hb_destructor(struct sk_buff *hb);
207 struct sk_buff *hb;
232 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) {
233 dev_kfree_skb_any(hb);
656 struct sk_buff *hb;
657 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL);
658 if (hb == NULL) {
666 NS_PRV_BUFTYPE(hb) = BUF_NONE;
667 skb_queue_tail(&card->hbpool.queue, hb);
845 struct sk_buff *hb;
846 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL)
847 dev_kfree_skb_any(hb);
2243 struct sk_buff *hb, *sb, *lb;
2247 hb = skb_dequeue(&(card->hbpool.queue));
2248 if (hb == NULL) { /* No buffers in the queue */
2250 hb = dev_alloc_skb(NS_HBUFSIZE);
2251 if (hb == NULL) {
2273 NS_PRV_BUFTYPE(hb) = BUF_NONE;
2298 if (!atm_charge(vcc, hb->truesize)) {
2302 skb_queue_tail(&card->hbpool.queue, hb);
2305 dev_kfree_skb_any(hb);
2310 skb_copy_from_linear_data(sb, hb->data,
2312 skb_put(hb, iov->iov_len);
2325 (hb), tocopy);
2326 skb_put(hb, tocopy);
2332 if (remaining != 0 || hb->len != len)
2337 ATM_SKB(hb)->vcc = vcc;
2339 hb->destructor = ns_hb_destructor;
2341 __net_timestamp(hb);
2342 vcc->push(vcc, hb);
2397 static void ns_hb_destructor(struct sk_buff *hb)
2401 card = (ns_dev *) ATM_SKB(hb)->vcc->dev->dev_data;
2404 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL);
2405 if (hb == NULL)
2407 NS_PRV_BUFTYPE(hb) = BUF_NONE;
2408 skb_queue_tail(&card->hbpool.queue, hb);
2670 struct sk_buff *hb;
2673 hb = skb_dequeue(&card->hbpool.queue);
2676 if (hb == NULL)
2681 dev_kfree_skb_any(hb);
2685 struct sk_buff *hb;
2687 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL);
2688 if (hb == NULL)
2690 NS_PRV_BUFTYPE(hb) = BUF_NONE;
2692 skb_queue_tail(&card->hbpool.queue, hb);