Searched refs:OldMedia (Results 1 – 2 of 2) sorted by relevance
678 EFI_BLOCK_IO_MEDIA OldMedia; in UsbBootDetectMedia() local686 CopyMem (&OldMedia, &(UsbMass->BlockIoMedia), sizeof (EFI_BLOCK_IO_MEDIA)); in UsbBootDetectMedia()723 if ((Media->MediaId != OldMedia.MediaId) || in UsbBootDetectMedia()724 (Media->MediaPresent != OldMedia.MediaPresent) || in UsbBootDetectMedia()725 (Media->ReadOnly != OldMedia.ReadOnly) || in UsbBootDetectMedia()726 (Media->BlockSize != OldMedia.BlockSize) || in UsbBootDetectMedia()727 (Media->LastBlock != OldMedia.LastBlock)) { in UsbBootDetectMedia()749 if (Media->MediaPresent != OldMedia.MediaPresent) { in UsbBootDetectMedia()757 if ((Media->ReadOnly != OldMedia.ReadOnly) || in UsbBootDetectMedia()758 (Media->BlockSize != OldMedia.BlockSize) || in UsbBootDetectMedia()[all …]
1724 EFI_BLOCK_IO_MEDIA OldMedia; in ScsiDiskDetectMedia() local1738 CopyMem (&OldMedia, ScsiDiskDevice->BlkIo.Media, sizeof (OldMedia)); in ScsiDiskDetectMedia()1852 if (ScsiDiskDevice->BlkIo.Media->MediaId != OldMedia.MediaId) { in ScsiDiskDetectMedia()1859 if (ScsiDiskDevice->BlkIo.Media->ReadOnly != OldMedia.ReadOnly) { in ScsiDiskDetectMedia()1864 if (ScsiDiskDevice->BlkIo.Media->BlockSize != OldMedia.BlockSize) { in ScsiDiskDetectMedia()1869 if (ScsiDiskDevice->BlkIo.Media->LastBlock != OldMedia.LastBlock) { in ScsiDiskDetectMedia()1874 if (ScsiDiskDevice->BlkIo.Media->MediaPresent != OldMedia.MediaPresent) { in ScsiDiskDetectMedia()