pool->active = 0; 
static int ibmveth_alloc_buffer_pool(struct ibmveth_buff_pool *pool){	int i;	pool->free_map = kmalloc(sizeof(u16) * pool->size, GFP_KERNEL); 	if(!pool->free_map) {		return -1;	}	pool->dma_addr = kmalloc(sizeof(dma_addr_t) * pool->size, GFP_KERNEL); 	if(!pool->dma_addr) {		kfree(pool->free_map);		pool->free_map = NULL;		return -1;	}	pool->skbuff = kmalloc(sizeof(void*) * pool->size, GFP_KERNEL);	if(!pool->skbuff) {		kfree(pool->dma_addr);		pool->dma_addr = NULL;		kfree(pool->free_map);		pool->free_map = NULL;		return -1;	}	memset(pool->skbuff, 0, sizeof(void*) * pool->size);	memset(pool->dma_addr, 0, sizeof(dma_addr_t) * pool->size);	for(i = 0; i < pool->size; ++i) {		pool->free_map[i] = i;	}	atomic_set(&pool->available, 0);	pool->producer_index = 0;	pool->consumer_index = 0;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b6d35182fe62e57d368062adcc880ca35119d88e/ibmveth.c/clean/drivers/net/ibmveth.c