struct list_head *tmp; 
init_slots(void){	struct slot *slot;	struct list_head *tmp;	struct pci_dev* dev;	dbg("%s - enter", __FUNCTION__);	down_read(&list_rwsem);	if(!slots) {		up_read(&list_rwsem);		return -1;	}	list_for_each(tmp, &slot_list) {		slot = list_entry(tmp, struct slot, slot_list);		dbg("%s - looking at slot %s",		    __FUNCTION__, slot->hotplug_slot->name);		if(cpci_check_and_clear_ins(slot)) {			dbg("%s - cleared INS for slot %s",			    __FUNCTION__, slot->hotplug_slot->name);			dev = pci_find_slot(slot->bus->number, PCI_DEVFN(slot->number, 0));			if(dev) {				if(update_adapter_status(slot->hotplug_slot, 1)) {					warn("failure to update adapter file");				}				if(update_latch_status(slot->hotplug_slot, 1)) {					warn("failure to update latch file");				}				slot->dev = dev;			} else {				err("%s - no driver attached to device in slot %s",				    __FUNCTION__, slot->hotplug_slot->name);			}		}	}	up_read(&list_rwsem);	dbg("%s - exit", __FUNCTION__);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/bcc488ab02254a6e60d749187a632dc3d642d4f8/cpci_hotplug_core.c/clean/drivers/pci/hotplug/cpci_hotplug_core.c