CX2_RX_BUF_SIZE, PCI_DMA_FROMDEVICE); 
IPW_RX_BUF_SIZE, PCI_DMA_FROMDEVICE); 
static inline void ipw_rx_queue_reset(struct ipw_priv *priv,				      struct ipw_rx_queue *rxq){	unsigned long flags;	int i;	spin_lock_irqsave(&rxq->lock, flags);	INIT_LIST_HEAD(&rxq->rx_free);	INIT_LIST_HEAD(&rxq->rx_used);	/* Fill the rx_used queue with _all_ of the Rx buffers */	for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) {		/* In the reset function, these buffers may have been allocated		 * to an SKB, so we need to unmap and free potential storage */		if (rxq->pool[i].skb != NULL) {			pci_unmap_single(priv->pci_dev, rxq->pool[i].dma_addr,					 CX2_RX_BUF_SIZE, PCI_DMA_FROMDEVICE);			dev_kfree_skb(rxq->pool[i].skb);			rxq->pool[i].skb = NULL;		}		list_add_tail(&rxq->pool[i].list, &rxq->rx_used);	}	/* Set us so that we have processed and used all buffers, but have	 * not restocked the Rx queue with fresh buffers */	rxq->read = rxq->write = 0;	rxq->processed = RX_QUEUE_SIZE - 1;	rxq->free_count = 0;	spin_unlock_irqrestore(&rxq->lock, flags);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b095c3819805f87d73d41641a53e4c070360d783/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c