i2o_blk_req_pool.pool = mempool_create(I2O_REQ_MEMPOOL_SIZE, 
i2o_blk_req_pool.pool = mempool_create(I2O_BLOCK_REQ_MEMPOOL_SIZE, 
static int __init i2o_block_init(void){	int rc;	int size;	printk(KERN_INFO OSM_DESCRIPTION " v" OSM_VERSION "\n");	/* Allocate request mempool and slab */	size = sizeof(struct i2o_block_request);	i2o_blk_req_pool.slab = kmem_cache_create("i2o_block_req", size, 0,						  SLAB_HWCACHE_ALIGN, NULL,						  NULL);	if (!i2o_blk_req_pool.slab) {		osm_err("can't init request slab\n");		rc = -ENOMEM;		goto exit;	}	i2o_blk_req_pool.pool = mempool_create(I2O_REQ_MEMPOOL_SIZE,					       mempool_alloc_slab,					       mempool_free_slab,					       i2o_blk_req_pool.slab);	if (!i2o_blk_req_pool.pool) {		osm_err("can't init request mempool\n");		rc = -ENOMEM;		goto free_slab;	}	/* Register the block device interfaces */	rc = register_blkdev(I2O_MAJOR, "i2o_block");	if (rc) {		osm_err("unable to register block device\n");		goto free_mempool;	}#ifdef MODULE	osm_info("registered device at major %d\n", I2O_MAJOR);#endif	/* Register Block OSM into I2O core */	rc = i2o_driver_register(&i2o_block_driver);	if (rc) {		osm_err("Could not register Block driver\n");		goto unregister_blkdev;	}	return 0;      unregister_blkdev:	unregister_blkdev(I2O_MAJOR, "i2o_block");      free_mempool:	mempool_destroy(i2o_blk_req_pool.pool);      free_slab:	kmem_cache_destroy(i2o_blk_req_pool.slab);      exit:	return rc;};
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f10378fff658f61307496e0ae00095041725cf07/i2o_block.c/buggy/drivers/message/i2o/i2o_block.c