/reactos/boot/freeldr/freeldr/ |
H A D | miscboot.c | 46 ULONG PartitionNumber = 0; in LoadAndBootSector() local 81 PartitionNumber = 0; in LoadAndBootSector() 84 PartitionNumber = atoi(ArgValue); in LoadAndBootSector() 104 if (!DissectArcPath(BootPath, &FileName, &BiosDriveNumber, &PartitionNumber) || in LoadAndBootSector() 114 ConstructArcPath(ArcPath, "", BiosDriveNumber, PartitionNumber); in LoadAndBootSector() 149 PartitionNumber = FrldrBootPartition; in LoadAndBootSector() 182 else if (PartitionNumber != 0) in LoadAndBootSector() 203 ChainLoadBiosBootSectorCode(BiosDriveNumber, PartitionNumber); in LoadAndBootSector()
|
H A D | arcname.c | 29 OUT PULONG PartitionNumber) in DissectArcPath() argument 38 *PartitionNumber = 1; in DissectArcPath() 64 *PartitionNumber = 0; in DissectArcPath() 78 *PartitionNumber = 0xff; in DissectArcPath() 96 *PartitionNumber = atoi(p); in DissectArcPath() 104 *PartitionNumber = 0; in DissectArcPath()
|
H A D | linuxboot.c | 140 ULONG PartitionNumber = 0; in LoadAndBootLinux() local 143 PartitionNumber = atoi(ArgValue); in LoadAndBootLinux() 144 if (PartitionNumber == 0) in LoadAndBootLinux() 152 ConstructArcPath(ArcPath, "", DriveNumber, PartitionNumber); in LoadAndBootLinux()
|
/reactos/boot/freeldr/freeldr/disk/ |
H A D | partition.c | 196 IN ULONG PartitionNumber, in DiskGetMbrPartitionEntry() argument 225 if (PartitionNumber == CurrentPartitionNumber) in DiskGetMbrPartitionEntry() 237 ExtendedPartitionNumber = PartitionNumber - CurrentPartitionNumber - 1; in DiskGetMbrPartitionEntry() 287 IN ULONG PartitionNumber, in DiskGetBrfrPartitionEntry() argument 293 …if (PartitionNumber >= 1 && PartitionNumber <= sizeof(XboxPartitions) / sizeof(XboxPartitions[0]) … in DiskGetBrfrPartitionEntry() 303 PartitionTableEntry->SystemIndicator = XboxPartitions[PartitionNumber - 1].SystemIndicator; in DiskGetBrfrPartitionEntry() 304 …PartitionTableEntry->SectorCountBeforePartition = XboxPartitions[PartitionNumber - 1].SectorCountB… in DiskGetBrfrPartitionEntry() 305 …PartitionTableEntry->PartitionSectorCount = XboxPartitions[PartitionNumber - 1].PartitionSectorCou… in DiskGetBrfrPartitionEntry() 409 IN ULONG PartitionNumber, in DiskGetPartitionEntry() argument 416 return DiskGetMbrPartitionEntry(DriveNumber, PartitionNumber, PartitionTableEntry); in DiskGetPartitionEntry() [all …]
|
/reactos/modules/rostests/apitests/partmgr/ |
H A D | StorDeviceNumber.c | 139 ok(DeviceNumber.PartitionNumber == ULONG_MAX, in Test_Device_StorDeviceNumber() 141 wine_dbgstr_us(&DeviceName), DeviceNumber.PartitionNumber); in Test_Device_StorDeviceNumber() 158 ok(DeviceNumber.PartitionNumber == ULONG_MAX, in Test_Device_StorDeviceNumber() 160 wine_dbgstr_us(&DeviceName), DeviceNumber.PartitionNumber); in Test_Device_StorDeviceNumber() 170 ok(DeviceNumber.PartitionNumber != ULONG_MAX, in Test_Device_StorDeviceNumber() 172 wine_dbgstr_us(&DeviceName), DeviceNumber.PartitionNumber); in Test_Device_StorDeviceNumber() 173 if (DeviceNumber.PartitionNumber == ULONG_MAX) in Test_Device_StorDeviceNumber() 179 DeviceNumber.DeviceNumber, DeviceNumber.PartitionNumber); in Test_Device_StorDeviceNumber()
|
/reactos/ntoskrnl/fstub/ |
H A D | fstubex.c | 106 IN ULONG PartitionNumber 308 … DriveLayout->PartitionEntry[i].PartitionNumber = LayoutEx->PartitionEntry[i].PartitionNumber; in FstubConvertExtendedToLayout() 600 IN ULONG PartitionNumber) in FstubDbgPrintPartitionEx() argument 606 DPRINT("Printing partition %lu\n", PartitionNumber); in FstubDbgPrintPartitionEx() 640 IN ULONG PartitionNumber) in FstubDbgPrintSetPartitionEx() argument 647 DPRINT("Modifying partition %lu\n", PartitionNumber); in FstubDbgPrintSetPartitionEx() 1175 … DriveLayoutEx->PartitionEntry[i].PartitionNumber = DriveLayout->PartitionEntry[i].PartitionNumber; in FstubReadPartitionTableMBR() 1259 if (PartitionNumber == 0) in FstubSetPartitionInformationEFI() 1273 if (Layout->PartitionCount <= --PartitionNumber) in FstubSetPartitionInformationEFI() 1989 … for (PartitionNumber = 1; PartitionNumber <= DriveLayout->PartitionCount; PartitionNumber++) in IoGetBootDiskInformation() [all …]
|
H A D | disksup.c | 2060 PartitionInfo->PartitionNumber = (!IsContainerPartition(PartitionType)) ? i + 1 : 0; in xHalIoReadPartitionTable() 2072 PartitionInfo->PartitionNumber = 0; in xHalIoReadPartitionTable() 2166 PartitionInfo->PartitionNumber = 0; in xHalIoReadPartitionTable() 2202 IN ULONG PartitionNumber, in xHalIoSetPartitionInformation() argument 2302 if (++i == PartitionNumber) in xHalIoSetPartitionInformation() 2378 } while (i < PartitionNumber); in xHalIoSetPartitionInformation() 2449 if ((PartitionInfo->PartitionNumber) || in xHalIoWritePartitionTable() 2715 IN ULONG PartitionNumber, in IoSetPartitionInformation() argument 2720 PartitionNumber, in IoSetPartitionInformation()
|
/reactos/base/setup/lib/utils/ |
H A D | osdetect.c | 57 _In_ ULONG PartitionNumber); 77 ULONG DiskNumber = 0, PartitionNumber = 0; in EnumerateInstallations() local 181 &SystemRootPath, DiskNumber, PartitionNumber, PathComponent); in EnumerateInstallations() 195 DiskNumber, PartitionNumber); in EnumerateInstallations() 199 PPARTENTRY PartEntry = SelectPartition(Data->PartList, DiskNumber, PartitionNumber); in EnumerateInstallations() 203 DiskNumber, PartitionNumber); in EnumerateInstallations() 560 NtOsInstall->DiskNumber, NtOsInstall->PartitionNumber, in DumpNTOSInstalls() 622 _In_ ULONG PartitionNumber) in AddNTOSInstallation() argument 653 NtOsInstall->PartitionNumber = PartitionNumber; in AddNTOSInstallation() 742 Volume->PartEntry->PartitionNumber); in FindNTOSInstallations() [all …]
|
H A D | partlist.c | 589 PartitionInfo.PartitionNumber = PartitionInfoEx->PartitionNumber; in IsDiskSuperFloppyEx() 1019 PartEntry->PartitionNumber = PartitionInfo->PartitionNumber; in AddPartitionToDisk() 2235 if (PartitionNumber == 0) in GetPartition() 2245 if (PartEntry->PartitionNumber == PartitionNumber) in GetPartition() 2259 if (PartEntry->PartitionNumber == PartitionNumber) in GetPartition() 2287 ASSERT(PartEntry->PartitionNumber == PartitionNumber); in SelectPartition() 2598 ULONG PartitionNumber = 1; in UpdateDiskLayout() local 2643 PartitionInfo->PartitionNumber = PartEntry->PartitionNumber; in UpdateDiskLayout() 2686 PartitionInfo->PartitionNumber = PartEntry->PartitionNumber; in UpdateDiskLayout() 3707 PartEntry->PartitionNumber = PartitionInfo->PartitionNumber; in WritePartitions() [all …]
|
H A D | arcname.c | 399 ULONG PartitionNumber = 0; in ParseArcName() local 557 q = ArcGetNextTokenU(p, &Token, &PartitionNumber); in ParseArcName() 569 PartitionNumber = 0; in ParseArcName() 580 *pPartitionNumber = PartitionNumber; in ParseArcName() 698 ULONG PartitionNumber; in ResolveArcNameManually() local 713 &PartitionNumber, in ResolveArcNameManually() 773 if (PartitionNumber != 0) in ResolveArcNameManually() 775 PartEntry = GetPartition(DiskEntry, PartitionNumber); in ResolveArcNameManually() 783 DiskEntry->DiskNumber, PartitionNumber); in ResolveArcNameManually() 792 PeripheralKey, PartitionNumber); in ResolveArcNameManually()
|
H A D | partlist.h | 75 …ULONG PartitionNumber; /* Current partition number, only valid for the currently running NTO… member 319 _In_ ULONG PartitionNumber); 325 _In_ ULONG PartitionNumber);
|
H A D | osdetect.h | 24 ULONG PartitionNumber; member
|
/reactos/hal/halx86/xbox/ |
H A D | part_xbox.c | 238 PartInfo->PartitionNumber = Part + 1; in HalpXboxIoReadPartitionTable() 245 PartInfo->PartitionNumber, in HalpXboxIoReadPartitionTable() 259 IN ULONG PartitionNumber, in HalpXboxIoSetPartitionInformation() argument 268 PartitionNumber, in HalpXboxIoSetPartitionInformation() 281 PartitionNumber, PartitionType); in HalpXboxIoSetPartitionInformation()
|
/reactos/base/system/diskpart/ |
H A D | partlist.c | 433 PartEntry->PartitionNumber = PartitionInfo->PartitionNumber; in AddPartitionToDisk() 1578 PartEntry->PartitionNumber = PartitionInfo->PartitionNumber; in WritePartitions() 1593 PartEntry->PartitionNumber = PartitionInfo->PartitionNumber; in WritePartitions() 1742 ULONG PartitionNumber = 1; in UpdateDiskLayout() local 1770 PartEntry->PartitionNumber = 0; in UpdateDiskLayout() 1781 PartitionInfo->PartitionNumber = PartEntry->PartitionNumber; in UpdateDiskLayout() 1789 PartitionNumber++; in UpdateDiskLayout() 1823 PartitionInfo->PartitionNumber = PartEntry->PartitionNumber; in UpdateDiskLayout() 1836 LinkInfo->PartitionNumber = 0; in UpdateDiskLayout() 1846 PartitionNumber++; in UpdateDiskLayout() [all …]
|
/reactos/drivers/storage/partmgr/ |
H A D | partmgr.c | 58 Partition->PartitionNumber = PartitionEx->PartitionNumber; in PartMgrConvertExtendedToLayout() 104 .PartitionNumber = part->PartitionNumber, in PartMgrConvertLayoutToExtended() 209 NewLayout->PartitionEntry[i].PartitionNumber = 0; in PartMgrUpdatePartitionDevices() 238 if (partEntry->PartitionNumber) in PartMgrUpdatePartitionDevices() 273 partEntry->PartitionNumber = partNumber; // mark it as a found one in PartMgrUpdatePartitionDevices() 313 if (partEntry->PartitionNumber != 0) in PartMgrUpdatePartitionDevices() 335 partEntry->PartitionNumber = partNumber; in PartMgrUpdatePartitionDevices() 345 partEntry->PartitionNumber = 0; in PartMgrUpdatePartitionDevices() 533 .PartitionNumber = 0, in FdoIoctlDiskGetPartitionInfo() 725 part->PartitionNumber = layoutEx->PartitionEntry[i].PartitionNumber; in FdoIoctlDiskSetDriveLayout() [all …]
|
H A D | partition.c | 92 partExt->OnDiskNumber = PartitionEntry->PartitionNumber; // the "physical" partition number in PartitionCreateDevice() 617 .PartitionNumber = partExt->DetectedNumber, in PartitionHandleDeviceControl() 644 .PartitionNumber = partExt->DetectedNumber, in PartitionHandleDeviceControl() 796 deviceNumber->PartitionNumber = partExt->DetectedNumber; in PartitionHandleDeviceControl()
|
/reactos/hal/halarm/generic/ |
H A D | drive.c | 65 IN ULONG PartitionNumber, in HalpSetPartitionInformation() argument 71 PartitionNumber, in HalpSetPartitionInformation()
|
/reactos/hal/halx86/generic/ |
H A D | drive.c | 68 IN ULONG PartitionNumber, in HalpSetPartitionInformation() argument 74 PartitionNumber, in HalpSetPartitionInformation()
|
/reactos/boot/freeldr/freeldr/arch/i386/ |
H A D | ntoskrnl.c | 53 IN ULONG PartitionNumber, in IoSetPartitionInformation() argument 102 PartitionEntry->PartitionNumber = 0; /* Will be filled later */ in IopCopyPartitionRecord() 187 Partitions->PartitionEntry[NbPartitions].PartitionNumber = NbPartitions + 1; in IoReadPartitionTable()
|
/reactos/modules/rosapps/applications/sysutils/utils/partinfo/ |
H A D | partinfo.c | 358 pPartInfo->PartitionNumber, in main() 394 pPartInfoEx->PartitionNumber, in main() 415 pPartInfoEx->PartitionNumber, in main() 533 pPartInfo->PartitionNumber, in main() 661 pPartInfoEx->PartitionNumber, in main() 697 pPartInfoEx->PartitionNumber, in main()
|
/reactos/sdk/lib/fslib/vfatxlib/ |
H A D | vfatxlib.c | 128 PartitionInfo.PartitionNumber = 0; in VfatxFormat() 138 DPRINT("PartitionNumber %d\n", PartitionInfo.PartitionNumber); in VfatxFormat()
|
/reactos/drivers/filesystems/btrfs/ |
H A D | search.c | 518 sdn.PartitionNumber = 0; in disk_arrival() 520 …viceNumber = %lu, PartitionNumber = %lu\n", sdn.DeviceType, sdn.DeviceNumber, sdn.PartitionNumber); in disk_arrival() 522 test_vol(devobj, fileobj, devpath, sdn.DeviceNumber, sdn.PartitionNumber, in disk_arrival() 732 sdn.PartitionNumber = 0; in volume_arrival() 734 …viceNumber = %lu, PartitionNumber = %lu\n", sdn.DeviceType, sdn.DeviceNumber, sdn.PartitionNumber); in volume_arrival() 737 if (sdn.DeviceNumber != 0xffffffff && sdn.PartitionNumber != 0) { in volume_arrival() 780 ret = test_vol(devobj, fileobj, devpath, sdn.DeviceNumber, sdn.PartitionNumber, in volume_arrival()
|
/reactos/boot/freeldr/freeldr/include/ |
H A D | arcname.h | 33 OUT PULONG PartitionNumber);
|
H A D | disk.h | 149 IN ULONG PartitionNumber,
|
/reactos/sdk/lib/fslib/vfatlib/ |
H A D | vfatlib.c | 153 PartitionInfo.PartitionNumber = 0; in VfatFormat() 215 DPRINT("PartitionNumber %d\n", PartitionInfo.PartitionNumber); in VfatFormat()
|