iovb 141 drivers/atm/nicstar.c static void recycle_iov_buf(ns_dev * card, struct sk_buff *iovb); iovb 201 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 233 drivers/atm/nicstar.c while ((iovb = skb_dequeue(&card->iovpool.queue)) != NULL) { iovb 234 drivers/atm/nicstar.c dev_kfree_skb_any(iovb); iovb 731 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 732 drivers/atm/nicstar.c iovb = alloc_skb(NS_IOVBUFSIZE, GFP_KERNEL); iovb 733 drivers/atm/nicstar.c if (iovb == NULL) { iovb 741 drivers/atm/nicstar.c NS_PRV_BUFTYPE(iovb) = BUF_NONE; iovb 742 drivers/atm/nicstar.c skb_queue_tail(&card->iovpool.queue, iovb); iovb 819 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 820 drivers/atm/nicstar.c while ((iovb = skb_dequeue(&card->iovpool.queue)) != NULL) iovb 821 drivers/atm/nicstar.c dev_kfree_skb_any(iovb); iovb 1439 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 1449 drivers/atm/nicstar.c iovb = vc->rx_iov; iovb 1450 drivers/atm/nicstar.c recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, iovb 1451 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb)); iovb 1452 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb) = 0; iovb 1454 drivers/atm/nicstar.c recycle_iov_buf(card, iovb); iovb 1968 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 2061 drivers/atm/nicstar.c if ((iovb = vc->rx_iov) == NULL) { iovb 2062 drivers/atm/nicstar.c iovb = skb_dequeue(&(card->iovpool.queue)); iovb 2063 drivers/atm/nicstar.c if (iovb == NULL) { /* No buffers in the queue */ iovb 2064 drivers/atm/nicstar.c iovb = alloc_skb(NS_IOVBUFSIZE, GFP_ATOMIC); iovb 2065 drivers/atm/nicstar.c if (iovb == NULL) { iovb 2072 drivers/atm/nicstar.c NS_PRV_BUFTYPE(iovb) = BUF_NONE; iovb 2077 drivers/atm/nicstar.c NS_PRV_BUFTYPE(iovb) = BUF_NONE; iovb 2082 drivers/atm/nicstar.c vc->rx_iov = iovb; iovb 2083 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb) = 0; iovb 2084 drivers/atm/nicstar.c iovb->len = 0; iovb 2085 drivers/atm/nicstar.c iovb->data = iovb->head; iovb 2086 drivers/atm/nicstar.c skb_reset_tail_pointer(iovb); iovb 2090 drivers/atm/nicstar.c } else if (NS_PRV_IOVCNT(iovb) >= NS_MAX_IOVECS) { iovb 2093 drivers/atm/nicstar.c recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, iovb 2095 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb) = 0; iovb 2096 drivers/atm/nicstar.c iovb->len = 0; iovb 2097 drivers/atm/nicstar.c iovb->data = iovb->head; iovb 2098 drivers/atm/nicstar.c skb_reset_tail_pointer(iovb); iovb 2100 drivers/atm/nicstar.c iov = &((struct iovec *)iovb->data)[NS_PRV_IOVCNT(iovb)++]; iovb 2103 drivers/atm/nicstar.c iovb->len += iov->iov_len; iovb 2106 drivers/atm/nicstar.c if (NS_PRV_IOVCNT(iovb) == 1) { iovb 2115 drivers/atm/nicstar.c recycle_iov_buf(card, iovb); iovb 2126 drivers/atm/nicstar.c recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, iovb 2127 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb)); iovb 2129 drivers/atm/nicstar.c recycle_iov_buf(card, iovb); iovb 2142 drivers/atm/nicstar.c len + 8 > iovb->len || len + (47 + 8) < iovb->len) { iovb 2144 drivers/atm/nicstar.c if (len + 8 > iovb->len || len + (47 + 8) < iovb->len) iovb 2149 drivers/atm/nicstar.c recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, iovb 2150 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb)); iovb 2152 drivers/atm/nicstar.c recycle_iov_buf(card, iovb); iovb 2158 drivers/atm/nicstar.c if (NS_PRV_IOVCNT(iovb) == 1) { /* Just a small buffer */ iovb 2171 drivers/atm/nicstar.c } else if (NS_PRV_IOVCNT(iovb) == 2) { /* One small plus one large buffer */ iovb 2230 drivers/atm/nicstar.c iovb->data, iovb 2231 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb)); iovb 2233 drivers/atm/nicstar.c recycle_iov_buf(card, iovb); iovb 2268 drivers/atm/nicstar.c iov = (struct iovec *)iovb->data; iovb 2272 drivers/atm/nicstar.c NS_PRV_IOVCNT(iovb)); iovb 2291 drivers/atm/nicstar.c for (j = 1; j < NS_PRV_IOVCNT(iovb); j++) { iovb 2317 drivers/atm/nicstar.c recycle_iov_buf(card, iovb); iovb 2338 drivers/atm/nicstar.c static void recycle_iov_buf(ns_dev * card, struct sk_buff *iovb) iovb 2341 drivers/atm/nicstar.c skb_queue_tail(&card->iovpool.queue, iovb); iovb 2344 drivers/atm/nicstar.c dev_kfree_skb_any(iovb); iovb 2631 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 2634 drivers/atm/nicstar.c iovb = skb_dequeue(&card->iovpool.queue); iovb 2637 drivers/atm/nicstar.c if (iovb == NULL) iovb 2642 drivers/atm/nicstar.c dev_kfree_skb_any(iovb); iovb 2646 drivers/atm/nicstar.c struct sk_buff *iovb; iovb 2648 drivers/atm/nicstar.c iovb = alloc_skb(NS_IOVBUFSIZE, GFP_KERNEL); iovb 2649 drivers/atm/nicstar.c if (iovb == NULL) iovb 2651 drivers/atm/nicstar.c NS_PRV_BUFTYPE(iovb) = BUF_NONE; iovb 2653 drivers/atm/nicstar.c skb_queue_tail(&card->iovpool.queue, iovb);