static inline int rx_refill(struct net_device *ndev, unsigned int __nocast gfp) 
static inline int rx_refill(struct net_device *ndev, gfp_t gfp) 
static inline int rx_refill(struct net_device *ndev, unsigned int __nocast gfp){	struct ns83820 *dev = PRIV(ndev);	unsigned i;	unsigned long flags = 0;	if (unlikely(nr_rx_empty(dev) <= 2))		return 0;	dprintk("rx_refill(%p)\n", ndev);	if (gfp == GFP_ATOMIC)		spin_lock_irqsave(&dev->rx_info.lock, flags);	for (i=0; i<NR_RX_DESC; i++) {		struct sk_buff *skb;		long res;		/* extra 16 bytes for alignment */		skb = __dev_alloc_skb(REAL_RX_BUF_SIZE+16, gfp);		if (unlikely(!skb))			break;		res = (long)skb->data & 0xf;		res = 0x10 - res;		res &= 0xf;		skb_reserve(skb, res);		skb->dev = ndev;		if (gfp != GFP_ATOMIC)			spin_lock_irqsave(&dev->rx_info.lock, flags);		res = ns83820_add_rx_skb(dev, skb);		if (gfp != GFP_ATOMIC)			spin_unlock_irqrestore(&dev->rx_info.lock, flags);		if (res) {			i = 1;			break;		}	}	if (gfp == GFP_ATOMIC)		spin_unlock_irqrestore(&dev->rx_info.lock, flags);	return i ? 0 : -ENOMEM;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7/ns83820.c/clean/drivers/net/ns83820.c