Home
last modified time | relevance | path

Searched refs:old_slot (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/pci/hotplug/
Dcpqphp_ctrl.c998 static int slot_remove(struct pci_func *old_slot) in slot_remove() argument
1002 if (old_slot == NULL) in slot_remove()
1005 next = cpqhp_slot_list[old_slot->bus]; in slot_remove()
1009 if (next == old_slot) { in slot_remove()
1010 cpqhp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()
1011 cpqhp_destroy_board_resources(old_slot); in slot_remove()
1012 kfree(old_slot); in slot_remove()
1016 while ((next->next != old_slot) && (next->next != NULL)) in slot_remove()
1019 if (next->next == old_slot) { in slot_remove()
1020 next->next = old_slot->next; in slot_remove()
[all …]
Dcpqphp_core.c296 struct slot *old_slot, *next_slot; in ctrl_slot_cleanup() local
298 old_slot = ctrl->slot; in ctrl_slot_cleanup()
301 while (old_slot) { in ctrl_slot_cleanup()
303 next_slot = old_slot->next; in ctrl_slot_cleanup()
304 pci_hp_deregister (old_slot->hotplug_slot); in ctrl_slot_cleanup()
305 old_slot = next_slot; in ctrl_slot_cleanup()