struct dvb_adapter *adap; 
int dvb_register_adapter(struct dvb_adapter **padap, const char *name, struct module *module){	struct dvb_adapter *adap;	int num;	if (down_interruptible (&dvbdev_register_lock))		return -ERESTARTSYS;	if ((num = dvbdev_get_free_adapter_num ()) < 0) {		up (&dvbdev_register_lock);		return -ENFILE;	}	if (!(*padap = adap = kmalloc(sizeof(struct dvb_adapter), GFP_KERNEL))) {		up(&dvbdev_register_lock);		return -ENOMEM;	}	memset (adap, 0, sizeof(struct dvb_adapter));	INIT_LIST_HEAD (&adap->device_list);	printk ("DVB: registering new adapter (%s).\n", name);	devfs_mk_dir("dvb/adapter%d", num);	adap->num = num;	adap->name = name;	adap->module = module;	list_add_tail (&adap->list_head, &dvb_adapter_list);	up (&dvbdev_register_lock);	return num;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/fdc53a6dbfea18e621dd23ed5cfb160837d7ce52/dvbdev.c/clean/drivers/media/dvb/dvb-core/dvbdev.c