Lines Matching refs:old_idx
5849 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_term; old_idx++) { in check_if_phys_dev_already_present() local
5850 if (physical_device == inst->phys_devs_term[old_idx]->phys_dev) { in check_if_phys_dev_already_present()
5851 new_phys_devs[idx] = inst->phys_devs_term[old_idx]; in check_if_phys_dev_already_present()
6032 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_term; old_idx++) { in setup_loader_term_phys_devs() local
6033 if (new_phys_devs[new_idx]->phys_dev == inst->phys_devs_term[old_idx]->phys_dev) { in setup_loader_term_phys_devs()
6035 "Copying old device %u into new device %u", old_idx, new_idx); in setup_loader_term_phys_devs()
6038 new_phys_devs[new_idx] = inst->phys_devs_term[old_idx]; in setup_loader_term_phys_devs()
6077 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_term; old_idx++) { in setup_loader_term_phys_devs() local
6078 if (new_phys_devs[i] == inst->phys_devs_term[old_idx]) { in setup_loader_term_phys_devs()
6792 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_group_count_term; old_idx++) { in terminator_EnumeratePhysicalDeviceGroups() local
6793 if (NULL != group_properties && NULL != inst->phys_dev_groups_term[old_idx] && in terminator_EnumeratePhysicalDeviceGroups()
6794 …group_properties->physicalDeviceCount == inst->phys_dev_groups_term[old_idx]->physicalDeviceCount)… in terminator_EnumeratePhysicalDeviceGroups()
6796 …for (uint32_t old_gpu = 0; old_gpu < inst->phys_dev_groups_term[old_idx]->physicalDeviceCount; old… in terminator_EnumeratePhysicalDeviceGroups()
6800 inst->phys_dev_groups_term[old_idx]->physicalDevices[old_gpu]) { in terminator_EnumeratePhysicalDeviceGroups()
6814 new_phys_dev_groups[idx] = inst->phys_dev_groups_term[old_idx]; in terminator_EnumeratePhysicalDeviceGroups()
6852 … for (uint32_t old_idx = 0; old_idx < inst->phys_dev_group_count_term; old_idx++) { in terminator_EnumeratePhysicalDeviceGroups() local
6853 if (new_phys_dev_groups[i] == inst->phys_dev_groups_term[old_idx]) { in terminator_EnumeratePhysicalDeviceGroups()