Home
last modified time | relevance | path

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

/linux/drivers/pci/hotplug/
H A Dcpqphp_core.c268 struct slot *old_slot, *next_slot; in ctrl_slot_cleanup() local
270 old_slot = ctrl->slot; in ctrl_slot_cleanup()
273 while (old_slot) { in ctrl_slot_cleanup()
274 next_slot = old_slot->next; in ctrl_slot_cleanup()
275 pci_hp_deregister(&old_slot->hotplug_slot); in ctrl_slot_cleanup()
276 kfree(old_slot); in ctrl_slot_cleanup()
277 old_slot = next_slot; in ctrl_slot_cleanup()
H A Dcpqphp_ctrl.c983 static int slot_remove(struct pci_func *old_slot) in slot_remove() argument
987 if (old_slot == NULL) in slot_remove()
990 next = cpqhp_slot_list[old_slot->bus]; in slot_remove()
994 if (next == old_slot) { in slot_remove()
995 cpqhp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()
996 cpqhp_destroy_board_resources(old_slot); in slot_remove()
997 kfree(old_slot); in slot_remove()
1001 while ((next->next != old_slot) && (next->next != NULL)) in slot_remove()
1004 if (next->next == old_slot) { in slot_remove()
1005 next->next = old_slot->next; in slot_remove()
[all …]
/linux/drivers/mmc/host/
H A Dcavium.c274 struct cvm_mmc_slot *old_slot; in cvm_mmc_switch_to() local
281 old_slot = host->slot[host->last_slot]; in cvm_mmc_switch_to()
282 old_slot->cached_switch = readq(host->base + MIO_EMM_SWITCH(host)); in cvm_mmc_switch_to()
283 old_slot->cached_rca = readq(host->base + MIO_EMM_RCA(host)); in cvm_mmc_switch_to()
/linux/fs/ufs/
H A Dinode.c888 unsigned int old_slot, new_slot; in ufs_trunc_direct() local
903 old_slot = ufs_fragstoblks(old_frags); in ufs_trunc_direct()
907 if (old_slot == new_slot) { // old_tail > 0 in ufs_trunc_direct()
908 void *p = ufs_get_direct_data_ptr(uspi, ufsi, old_slot); in ufs_trunc_direct()
930 while (slot < old_slot) { in ufs_trunc_direct()