Lines Matching refs:Media
332 MediaPresent = BlockIo->Media->MediaPresent;
333 if (BlockIo->Media->MediaPresent ||
334 (BlockIo->Media->RemovableMedia && !BlockIo->Media->LogicalPartition)) {
890 if (Private->BlockSize != Private->ParentBlockIo->Media->BlockSize) {
972 if (Private->BlockSize != Private->ParentBlockIo->Media->BlockSize) {
1016 if (Private->BlockSize != Private->ParentBlockIo->Media->BlockSize) {
1070 Private->Start = MultU64x32 (Start, ParentBlockIo->Media->BlockSize);
1071 Private->End = MultU64x32 (End + 1, ParentBlockIo->Media->BlockSize);
1083 Private->BlockIo.Media = &Private->Media;
1084 CopyMem (Private->BlockIo.Media, ParentBlockIo->Media, sizeof (EFI_BLOCK_IO_MEDIA));
1095 Private->BlockIo2.Media = &Private->Media2;
1096 CopyMem (Private->BlockIo2.Media, ParentBlockIo2->Media, sizeof (EFI_BLOCK_IO_MEDIA));
1104 Private->Media.IoAlign = 0;
1105 Private->Media.LogicalPartition = TRUE;
1106 Private->Media.LastBlock = DivU64x32 (
1109 ParentBlockIo->Media->BlockSize
1114 Private->Media.BlockSize = (UINT32) BlockSize;
1120 Private->Media2.LastBlock = Private->Media.LastBlock;
1128 Private->Media.LowestAlignedLba = 0;
1129 Private->Media.LogicalBlocksPerPhysicalBlock = 0;
1133 Private->Media.OptimalTransferLengthGranularity = 0;
1165 (Private->ParentBlockIo2->Media->BlockSize == BlockSize)