Home
last modified time | relevance | path

Searched refs:DiskInfo (Results 1 – 8 of 8) sorted by relevance

/reactos/subsystems/mvdm/ntvdm/hardware/
H A Ddisk.c219 DiskImage->DiskInfo.Cylinders = DiskGeometryList[i].cylcount; in MountFDI()
220 DiskImage->DiskInfo.Heads = DiskGeometryList[i].headscyl; in MountFDI()
222 DiskImage->DiskInfo.SectorSize = HackSectorSize; in MountFDI()
303 DiskImage->DiskInfo.Heads = vhd_footer.heads; in MountHDD()
304 DiskImage->DiskInfo.Sectors = vhd_footer.secs_per_cyl; in MountHDD()
306 DiskImage->DiskInfo.Cylinders / in MountHDD()
307 DiskImage->DiskInfo.Heads / DiskImage->DiskInfo.Sectors; in MountHDD()
346 * DiskImage->DiskInfo.Sectors + (Sector - 1)) in SeekDisk()
347 * DiskImage->DiskInfo.SectorSize; in SeekDisk()
376 BytesToRead = (DWORD)NumSectors * DiskImage->DiskInfo.SectorSize; in ReadDisk()
[all …]
H A Ddisk.h30 DISK_INFO DiskInfo; member
/reactos/subsystems/mvdm/ntvdm/bios/bios32/
H A Ddskbios32.c368 MaxCylinders = DiskImage->DiskInfo.Cylinders - 2; in BiosDiskService()
370 MaxHeads = DiskImage->DiskInfo.Heads - 1; in BiosDiskService()
374 setCL((DiskImage->DiskInfo.Sectors & 0x3F) | in BiosDiskService()
611 … NumSectors = (ULONG)((ULONG)DiskImage->DiskInfo.Cylinders * DiskImage->DiskInfo.Heads) in BiosDiskService()
612 … * DiskImage->DiskInfo.Sectors; in BiosDiskService()
/reactos/base/setup/lib/utils/
H A Dpartlist.c492 _In_ const DISK_PARTITION_INFO* DiskInfo, in IsDiskSuperFloppy2() argument
501 if (DiskInfo->PartitionStyle != PARTITION_STYLE_MBR) in IsDiskSuperFloppy2()
512 if (DiskInfo->Mbr.Signature != 1) in IsDiskSuperFloppy2()
546 DISK_PARTITION_INFO DiskInfo; in IsDiskSuperFloppy() local
554 DiskInfo.PartitionStyle = PARTITION_STYLE_MBR; in IsDiskSuperFloppy()
555 DiskInfo.Mbr.Signature = Layout->Signature; in IsDiskSuperFloppy()
556 DiskInfo.Mbr.CheckSum = 0; // Dummy value in IsDiskSuperFloppy()
567 DISK_PARTITION_INFO DiskInfo; in IsDiskSuperFloppyEx() local
580 DiskInfo.Mbr.Signature = LayoutEx->Mbr.Signature; in IsDiskSuperFloppyEx()
581 DiskInfo.Mbr.CheckSum = 0; // Dummy value in IsDiskSuperFloppyEx()
[all …]
H A Dpartlist.h263 _In_ const DISK_PARTITION_INFO* DiskInfo,
/reactos/ntoskrnl/fstub/
H A Dfstubex.c342 IN PCREATE_DISK_MBR DiskInfo) in FstubCreateDiskMBR() argument
371 MasterBootRecord->Signature = DiskInfo->Signature; in FstubCreateDiskMBR()
389 IN PCREATE_DISK_GPT DiskInfo) in FstubCreateDiskEFI() argument
399 ASSERT(DiskInfo); in FstubCreateDiskEFI()
418 MaxPartitionCount = DiskInfo->MaxPartitionCount; in FstubCreateDiskEFI()
430 DiskInfo->DiskId, in FstubCreateDiskEFI()
441 DiskInfo->DiskId, in FstubCreateDiskEFI()
/reactos/drivers/storage/class/disk/
H A Ddisk.c716 …mediaInfo->DeviceSpecific.DiskInfo.Cylinders.QuadPart = fdoExtension->DiskGeometry.Cylinders.Qua… in DiskDetermineMediaTypes()
717 mediaInfo->DeviceSpecific.DiskInfo.MediaType = FixedMedia; in DiskDetermineMediaTypes()
718 …mediaInfo->DeviceSpecific.DiskInfo.TracksPerCylinder = fdoExtension->DiskGeometry.TracksPerCyli… in DiskDetermineMediaTypes()
719 …mediaInfo->DeviceSpecific.DiskInfo.SectorsPerTrack = fdoExtension->DiskGeometry.SectorsPerTra… in DiskDetermineMediaTypes()
720 …mediaInfo->DeviceSpecific.DiskInfo.BytesPerSector = fdoExtension->DiskGeometry.BytesPerSecto… in DiskDetermineMediaTypes()
721 mediaInfo->DeviceSpecific.DiskInfo.NumberMediaSides = 1; in DiskDetermineMediaTypes()
722 …mediaInfo->DeviceSpecific.DiskInfo.MediaCharacteristics = (MEDIA_CURRENTLY_MOUNTED | MEDIA_READ_WR… in DiskDetermineMediaTypes()
726 SET_FLAG(mediaInfo->DeviceSpecific.DiskInfo.MediaCharacteristics, in DiskDetermineMediaTypes()
/reactos/sdk/include/psdk/
H A Dntddstor.h468 } DiskInfo; member