Searched refs:old_slot (Results 1 – 6 of 6) sorted by relevance
181 struct slot *old_slot, *next_slot; in cleanup_slots() local183 old_slot = ctrl->slot; in cleanup_slots()186 while (old_slot) { in cleanup_slots()187 next_slot = old_slot->next; in cleanup_slots()188 pci_hp_deregister (old_slot->hotplug_slot); in cleanup_slots()189 kfree(old_slot->hotplug_slot->info); in cleanup_slots()190 kfree(old_slot->hotplug_slot->name); in cleanup_slots()191 kfree(old_slot->hotplug_slot); in cleanup_slots()192 kfree(old_slot); in cleanup_slots()193 old_slot = next_slot; in cleanup_slots()
187 struct slot *old_slot, *next_slot; in cleanup_slots() local189 old_slot = ctrl->slot; in cleanup_slots()192 while (old_slot) { in cleanup_slots()193 next_slot = old_slot->next; in cleanup_slots()194 pci_hp_deregister (old_slot->hotplug_slot); in cleanup_slots()195 kfree(old_slot->hotplug_slot->info); in cleanup_slots()196 kfree(old_slot->hotplug_slot->name); in cleanup_slots()197 kfree(old_slot->hotplug_slot); in cleanup_slots()198 kfree(old_slot); in cleanup_slots()199 old_slot = next_slot; in cleanup_slots()
435 struct slot *old_slot, *next_slot; in ctrl_slot_cleanup() local437 old_slot = ctrl->slot; in ctrl_slot_cleanup()440 while (old_slot) { in ctrl_slot_cleanup()441 next_slot = old_slot->next; in ctrl_slot_cleanup()442 pci_hp_deregister (old_slot->hotplug_slot); in ctrl_slot_cleanup()443 kfree(old_slot->hotplug_slot->info); in ctrl_slot_cleanup()444 kfree(old_slot->hotplug_slot->name); in ctrl_slot_cleanup()445 kfree(old_slot->hotplug_slot); in ctrl_slot_cleanup()446 kfree(old_slot); in ctrl_slot_cleanup()447 old_slot = next_slot; in ctrl_slot_cleanup()
907 static int slot_remove(struct pci_func * old_slot) in slot_remove() argument911 if (old_slot == NULL) in slot_remove()914 next = pciehp_slot_list[old_slot->bus]; in slot_remove()920 if (next == old_slot) { in slot_remove()921 pciehp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()922 pciehp_destroy_board_resources(old_slot); in slot_remove()923 kfree(old_slot); in slot_remove()927 while ((next->next != old_slot) && (next->next != NULL)) { in slot_remove()931 if (next->next == old_slot) { in slot_remove()932 next->next = old_slot->next; in slot_remove()[all …]
1031 static int slot_remove(struct pci_func * old_slot) in slot_remove() argument1035 if (old_slot == NULL) in slot_remove()1038 next = cpqhp_slot_list[old_slot->bus]; in slot_remove()1044 if (next == old_slot) { in slot_remove()1045 cpqhp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()1046 cpqhp_destroy_board_resources(old_slot); in slot_remove()1047 kfree(old_slot); in slot_remove()1051 while ((next->next != old_slot) && (next->next != NULL)) { in slot_remove()1055 if (next->next == old_slot) { in slot_remove()1056 next->next = old_slot->next; in slot_remove()[all …]
920 static int slot_remove(struct pci_func * old_slot) in slot_remove() argument924 if (old_slot == NULL) in slot_remove()927 next = shpchp_slot_list[old_slot->bus]; in slot_remove()933 if (next == old_slot) { in slot_remove()934 shpchp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()935 shpchp_destroy_board_resources(old_slot); in slot_remove()936 kfree(old_slot); in slot_remove()940 while ((next->next != old_slot) && (next->next != NULL)) { in slot_remove()944 if (next->next == old_slot) { in slot_remove()945 next->next = old_slot->next; in slot_remove()[all …]