Lines Matching refs:old_slot
984 static int slot_remove(struct pci_func *old_slot) in slot_remove() argument
988 if (old_slot == NULL) in slot_remove()
991 next = cpqhp_slot_list[old_slot->bus]; in slot_remove()
995 if (next == old_slot) { in slot_remove()
996 cpqhp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()
997 cpqhp_destroy_board_resources(old_slot); in slot_remove()
998 kfree(old_slot); in slot_remove()
1002 while ((next->next != old_slot) && (next->next != NULL)) in slot_remove()
1005 if (next->next == old_slot) { in slot_remove()
1006 next->next = old_slot->next; in slot_remove()
1007 cpqhp_destroy_board_resources(old_slot); in slot_remove()
1008 kfree(old_slot); in slot_remove()