Lines Matching refs:lb
144 static void dequeue_lg_buf(ns_dev * card, struct sk_buff *lb);
205 struct sk_buff *lb; in nicstar_remove_one() local
241 while ((lb = skb_dequeue(&card->lbpool.queue)) != NULL) in nicstar_remove_one()
242 dev_kfree_skb_any(lb); in nicstar_remove_one()
677 struct sk_buff *lb; in ns_init_card() local
678 lb = __dev_alloc_skb(NS_LGSKBSIZE, GFP_KERNEL); in ns_init_card()
679 if (lb == NULL) { in ns_init_card()
687 NS_PRV_BUFTYPE(lb) = BUF_LG; in ns_init_card()
688 skb_queue_tail(&card->lbpool.queue, lb); in ns_init_card()
689 skb_reserve(lb, NS_SMBUFSIZE); in ns_init_card()
690 push_rxbufs(card, lb); in ns_init_card()
693 card->rcbuf = lb; in ns_init_card()
694 card->rawcell = (struct ns_rcqe *) lb->data; in ns_init_card()
695 card->rawch = NS_PRV_DMA(lb); in ns_init_card()
833 struct sk_buff *lb; in ns_init_card_error() local
834 while ((lb = skb_dequeue(&card->lbpool.queue)) != NULL) in ns_init_card_error()
835 dev_kfree_skb_any(lb); in ns_init_card_error()
1193 struct sk_buff *lb; in ns_irq_handler() local
1199 lb = dev_alloc_skb(NS_LGSKBSIZE); in ns_irq_handler()
1200 if (lb == NULL) { in ns_irq_handler()
1206 NS_PRV_BUFTYPE(lb) = BUF_LG; in ns_irq_handler()
1207 skb_queue_tail(&card->lbpool.queue, lb); in ns_irq_handler()
1208 skb_reserve(lb, NS_SMBUFSIZE); in ns_irq_handler()
1209 push_rxbufs(card, lb); in ns_irq_handler()
2226 struct sk_buff *hb, *sb, *lb; in dequeue_rx() local
2303 lb = (struct sk_buff *)iov->iov_base; in dequeue_rx()
2306 skb_copy_from_linear_data(lb, in dequeue_rx()
2312 push_rxbufs(card, lb); in dequeue_rx()
2382 static void dequeue_lg_buf(ns_dev * card, struct sk_buff *lb) in dequeue_lg_buf() argument
2384 skb_unlink(lb, &card->lbpool.queue); in dequeue_lg_buf()
2598 struct sk_buff *lb; in ns_ioctl() local
2600 lb = __dev_alloc_skb(NS_LGSKBSIZE, GFP_KERNEL); in ns_ioctl()
2601 if (lb == NULL) in ns_ioctl()
2603 NS_PRV_BUFTYPE(lb) = BUF_LG; in ns_ioctl()
2604 skb_queue_tail(&card->lbpool.queue, lb); in ns_ioctl()
2605 skb_reserve(lb, NS_SMBUFSIZE); in ns_ioctl()
2606 push_rxbufs(card, lb); in ns_ioctl()