Lines Matching refs:DeviceList
191 ISCSI_DEVICE_LIST *DeviceList;
229 DeviceList = (ISCSI_DEVICE_LIST *) AllocatePool (DataSize);
230 ASSERT (DeviceList != NULL);
237 DeviceList
247 for (Index = LastDeviceIndex; Index < DeviceList->NumDevice; Index++) {
248 CurMacInfo = &DeviceList->MacInfo[Index];
262 CopyMem (CurMacInfo, &DeviceList->MacInfo[LastDeviceIndex], sizeof (ISCSI_MAC_INFO));
263 CopyMem (&DeviceList->MacInfo[LastDeviceIndex], &TempMacInfo, sizeof (ISCSI_MAC_INFO));
270 if (LastDeviceIndex == DeviceList->NumDevice) {
275 for (Index = LastDeviceIndex; Index < DeviceList->NumDevice; Index++) {
279 CurMacInfo = &DeviceList->MacInfo[Index];
285 FreePool (DeviceList);
294 DeviceList = (ISCSI_DEVICE_LIST *) AllocatePool (DeviceListSize);
295 ASSERT (DeviceList != NULL);
296 DeviceList->NumDevice = (UINT8) NumHandles;
301 CurMacInfo = &DeviceList->MacInfo[Index];
312 DeviceList
315 FreePool (DeviceList);