spin_lock_init(&ib_agent_port_list_lock); 
static int __init ib_mad_init_module(void){	int ret;	spin_lock_init(&ib_mad_port_list_lock);	spin_lock_init(&ib_agent_port_list_lock);	ib_mad_cache = kmem_cache_create("ib_mad",					 sizeof(struct ib_mad_private),					 0,					 SLAB_HWCACHE_ALIGN,					 NULL,					 NULL);	if (!ib_mad_cache) {		printk(KERN_ERR PFX "Couldn't create ib_mad cache\n");		ret = -ENOMEM;		goto error1;	}	INIT_LIST_HEAD(&ib_mad_port_list);	if (ib_register_client(&mad_client)) {		printk(KERN_ERR PFX "Couldn't register ib_mad client\n");		ret = -EINVAL;		goto error2;	}	return 0;error2:	kmem_cache_destroy(ib_mad_cache);error1:	return ret;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/34816ad98efe4d47ffd858a0345321f9d85d9420/mad.c/clean/drivers/infiniband/core/mad.c