Lines Matching refs:old_slot
1031 static int slot_remove(struct pci_func * old_slot) in slot_remove() argument
1035 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()
1057 cpqhp_destroy_board_resources(old_slot); in slot_remove()
1058 kfree(old_slot); in slot_remove()