Home
last modified time | relevance | path

Searched refs:fdoExtension (Results 1 – 19 of 19) sorted by relevance

/reactos/drivers/storage/class/disk/
H A Dpnp.c296 if (fdoExtension->SenseData == NULL) { in DiskInitFdo()
329 fdoExtension->TimeOutValue = fdoExtension->MiniportDescriptor->IoTimeoutValue; in DiskInitFdo()
375 srbFlags = fdoExtension->SrbFlags; in DiskInitFdo()
412 fdoExtension->SectorShift = 9; in DiskInitFdo()
434 fdoExtension->DMSkew = *dmSkew; in DiskInitFdo()
435 fdoExtension->DMActive = TRUE; in DiskInitFdo()
436 fdoExtension->DMByteSkew = fdoExtension->DMSkew * bytesPerSector; in DiskInitFdo()
592 fdoExtension->SrbFlags = srbFlags; in DiskInitFdo()
997 ADJUST_FUA_FLAG(fdoExtension); in DiskStartFdo()
1005 ClassGetDeviceParameter(fdoExtension, in DiskStartFdo()
[all …]
H A Ddisk.c345 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in DiskCreateFdo() local
449 fdoExtension = deviceObject->DeviceExtension; in DiskCreateFdo()
472 fdoExtension->LockCount = 0; in DiskCreateFdo()
478 fdoExtension->DeviceNumber = *DeviceCount; in DiskCreateFdo()
520 fdoExtension->DeviceDirectory = handle; in DiskCreateFdo()
732 …PCCHAR vendorId = (PCCHAR) fdoExtension->DeviceDescriptor + fdoExtension->DeviceDescriptor->Vendor… in DiskDetermineMediaTypes()
733 …PCCHAR productId = (PCCHAR) fdoExtension->DeviceDescriptor + fdoExtension->DeviceDescriptor->Produ… in DiskDetermineMediaTypes()
2363 fdoExtension->ErrorCount++; in DiskFdoProcessError()
2379 fdoExtension->ErrorCount++; in DiskFdoProcessError()
3478 ADJUST_FUA_FLAG(fdoExtension); in DiskIoctlSetCacheSetting()
[all …]
H A Dgeometry.c1273 DiskUpdateRemovableGeometry(fdoExtension); in DiskReadDriveCapacity()
1275 DiskUpdateGeometry(fdoExtension); in DiskReadDriveCapacity()
1318 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in DiskDriverReinitialization() local
1371 fdoExtension = deviceObject->DeviceExtension; in DiskDriverReinitialization()
1373 if (!fdoExtension->CommonExtension.IsFdo) { in DiskDriverReinitialization()
1383 diskData = fdoExtension->CommonExtension.DriverData; in DiskDriverReinitialization()
1428 fdoExtension = unmatchedDisk->DeviceExtension; in DiskDriverReinitialization()
1429 diskData = fdoExtension->CommonExtension.DriverData; in DiskDriverReinitialization()
1490 diskData->RealGeometry = fdoExtension->DiskGeometry; in DiskDriverReinitialization()
1513 fdoExtension->DiskGeometry = diskData->RealGeometry; in DiskDriverReinitialization()
[all …]
H A Ddiskwmi.c2425 status = DiskEnableDisableFailurePrediction(fdoExtension, in DiskWmiFunctionControl()
2715 &(fdoExtension->DiskGeometry), in DiskFdoQueryWmiDataBlock()
2738 status = DiskSendFailurePredictIoctl(fdoExtension, in DiskFdoQueryWmiDataBlock()
2775 status = DiskSendFailurePredictIoctl(fdoExtension, in DiskFdoQueryWmiDataBlock()
2828 status = DiskGetInfoExceptionInformation(fdoExtension, in DiskFdoQueryWmiDataBlock()
2947 status = DiskSetInfoExceptionInformation(fdoExtension, in DiskFdoSetWmiDataBlock()
3155 fdoExtension->DeviceObject, in DiskFdoExecuteWmiMethod()
3193 fdoExtension->DeviceObject, in DiskFdoExecuteWmiMethod()
3226 fdoExtension->DeviceObject, in DiskFdoExecuteWmiMethod()
3246 fdoExtension->DeviceObject, in DiskFdoExecuteWmiMethod()
[all …]
/reactos/drivers/storage/class/classpnp/
H A Dpower.c194 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in ClasspPowerUpCompletion() local
708 … if ((fdoExtension->PrivateFdoData) && (Irp == fdoExtension->PrivateFdoData->PowerProcessIrp)) { in ClasspPowerUpCompletion()
1570 _Analysis_assume_(fdoExtension); in ClasspPowerHandler()
1667 fdoExtension->DevicePowerState) { in ClasspPowerHandler()
1686 fdoExtension->DevicePowerState = in ClasspPowerHandler()
1700 fdoExtension->DevicePowerState = in ClasspPowerHandler()
1715 fdoExtension->DevicePowerState = in ClasspPowerHandler()
1729 context = &(fdoExtension->PowerContext); in ClasspPowerHandler()
2299 ClasspEnableTimer(fdoExtension); in ClasspDeviceLockFailurePowerIrpCompletion()
2584 ClassGetDeviceParameter(fdoExtension, in ClasspEnableIdlePower()
[all …]
H A Dutils.c1281 SrbAssignSrbFlags(Srb, fdoExtension->SrbFlags); in ClasspWriteCacheProperty()
2499 … (PCSZ)(((PUCHAR)fdoExtension->DeviceDescriptor) + fdoExtension->DeviceDescriptor->VendorIdOffset), in ClasspDeviceGetLBProvisioningVPDPage()
2500 …(PCSZ)(((PUCHAR)fdoExtension->DeviceDescriptor) + fdoExtension->DeviceDescriptor->ProductIdOffset), in ClasspDeviceGetLBProvisioningVPDPage()
2501 …(PCSZ)(((PUCHAR)fdoExtension->DeviceDescriptor) + fdoExtension->DeviceDescriptor->ProductRevisionO… in ClasspDeviceGetLBProvisioningVPDPage()
4426 status = GetLBAStatus(fdoExtension, in ClasspDeviceGetLBAStatusWorker()
6926 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in _IRQL_requires_min_() local
7212 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in _IRQL_requires_min_() local
7580 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in _IRQL_requires_min_() local
7596 fdoExtension = Fdo->DeviceExtension; in _IRQL_requires_min_()
7850 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in ClasspStorageEventNotification() local
[all …]
H A Dclass.c2167 fdoExtension->PrivateFdoData->Perf.OriginalSrbFlags = fdoExtension->SrbFlags; in ClassPnpStartDevice()
2314 ClasspEnableTimer(fdoExtension); in ClassPnpStartDevice()
2393 ClasspDisableTimer(fdoExtension); in ClassPnpStartDevice()
9600 fdoExtension->MediaChangeCount;
9604 fdoExtension->DeviceNumber,
10028 ClassAcquireChildLock(fdoExtension);
10123 ClassReleaseChildLock(fdoExtension);
11508 fdoExtension->ReleaseQueueIrp = NULL;
11541 if (fdoExtension->ReleaseQueueIrp) {
11554 if ((fdoExtension->PrivateFdoData) &&
[all …]
H A Dclntirp.c83 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Fdo->DeviceExtension; in EnqueueDeferredClientIrp() local
84 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in EnqueueDeferredClientIrp()
117 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Fdo->DeviceExtension; in DequeueDeferredClientIrp() local
118 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in DequeueDeferredClientIrp()
475 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Context; in ClasspIdleTimerDpc() local
486 if (fdoExtension == NULL) { in ClasspIdleTimerDpc()
487 NT_ASSERT(fdoExtension != NULL); in ClasspIdleTimerDpc()
491 fdoData = fdoExtension->PrivateFdoData; in ClasspIdleTimerDpc()
517 ClasspServiceIdleRequest(fdoExtension, FALSE); in ClasspIdleTimerDpc()
550 ClasspServiceIdleRequest(fdoExtension, FALSE); in ClasspIdleTimerDpc()
[all …]
H A Dcreate.c303 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = in ClasspCleanupProtectedLocks() local
342 InterlockedDecrement(&fdoExtension->ProtectedLockCount); in ClasspCleanupProtectedLocks()
354 fdoExtension->ProtectedLockCount, in ClasspCleanupProtectedLocks()
355 fdoExtension->LockCount)); in ClasspCleanupProtectedLocks()
380 srbEx->TimeOutValue = fdoExtension->TimeOutValue; in ClasspCleanupProtectedLocks()
389 srb.TimeOutValue = fdoExtension->TimeOutValue; in ClasspCleanupProtectedLocks()
397 srb.TimeOutValue = fdoExtension->TimeOutValue; in ClasspCleanupProtectedLocks()
413 status = ClassSendSrbSynchronous(fdoExtension->DeviceObject, in ClasspCleanupProtectedLocks()
425 KeSetEvent(&fdoExtension->EjectSynchronizationEvent, in ClasspCleanupProtectedLocks()
441 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = in ClasspCleanupDisableMcn() local
[all …]
H A Dobsolete.c117 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Fdo->DeviceExtension; local
186 if (PORT_ALLOCATED_SENSE(fdoExtension, srb)) {
187 FREE_PORT_ALLOCATED_SENSE_BUFFER(fdoExtension, srb);
209 if (PORT_ALLOCATED_SENSE(fdoExtension, srb)) {
210 FREE_PORT_ALLOCATED_SENSE_BUFFER(fdoExtension, srb);
213 ClassFreeOrReuseSrb(fdoExtension, srb);
287 if (fdoExtension->CommonExtension.DriverExtension->InitData.ClassStartIo) {
510 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Fdo->DeviceExtension; local
521 srb = ClasspAllocateSrb(fdoExtension);
527 ClasspBuildRequestEx(fdoExtension, Irp, srb);
H A Dretry.c42 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Pkt->Fdo->DeviceExtension; in InterpretTransferPacketError() local
43 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in InterpretTransferPacketError()
77 ((fdoExtension->CommonExtension.DriverExtension->SrbSupport & in InterpretTransferPacketError()
457 …PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = (PFUNCTIONAL_DEVICE_EXTENSION)Pkt->Fdo->DeviceExtensio… in RetryTransferPacket() local
458 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in RetryTransferPacket()
631 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in TransferPacketRetryTimerDpc() local
638 fdoExtension = fdo->DeviceExtension; in TransferPacketRetryTimerDpc()
652 if (PORT_ALLOCATED_SENSE_EX(fdoExtension, pkt->Srb)) { in TransferPacketRetryTimerDpc()
654 FREE_PORT_ALLOCATED_SENSE_BUFFER_EX(fdoExtension, pkt->Srb); in TransferPacketRetryTimerDpc()
H A Dautorun.c62 _In_ PFUNCTIONAL_DEVICE_EXTENSION fdoExtension in ClasspCanSendPollingIrp() argument
1055 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension; in ClasspMediaChangeDetectionCompletion() local
1071 fdoExtension = DeviceObject->DeviceExtension; in ClasspMediaChangeDetectionCompletion()
1072 fdoData = fdoExtension->PrivateFdoData; in ClasspMediaChangeDetectionCompletion()
1203 ClassResetMediaChangeTimer(fdoExtension); in ClasspMediaChangeDetectionCompletion()
2386 ClassSetDeviceParameter(fdoExtension, in ClasspDisableGesn()
3519 NT_ASSERT(fdoExtension != NULL); in _IRQL_requires_max_()
3520 _Analysis_assume_(fdoExtension != NULL); in _IRQL_requires_max_()
3523 DeviceObject = fdoExtension->DeviceObject; in _IRQL_requires_max_()
3557 ClassCheckMediaState(fdoExtension); in _IRQL_requires_max_()
[all …]
H A Dhistory.c58 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Pkt->Fdo->DeviceExtension; in HistoryLogSendPacket() local
59 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in HistoryLogSendPacket()
62 fdoData->InterpretSenseInfo->Compress( fdoExtension->DeviceObject, history ); in HistoryLogSendPacket()
H A Dclassp.h1840 _In_ PFUNCTIONAL_DEVICE_EXTENSION fdoExtension,
2465 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Pkt->Fdo->DeviceExtension; in ClasspTransferPacketGetNumberOfRetriesDone() local
2466 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in ClasspTransferPacketGetNumberOfRetriesDone()
H A Dxferpkt.c854 PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Pkt->Fdo->DeviceExtension; in SubmitTransferPacket() local
855 PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData; in SubmitTransferPacket()
/reactos/drivers/storage/partmgr/
H A Dpartition.c440 PartMgrAcquireLayoutLock(fdoExtension); in PartitionHandleQueryId()
468 PartMgrReleaseLayoutLock(fdoExtension); in PartitionHandleQueryId()
600 PartMgrAcquireLayoutLock(fdoExtension); in PartitionHandleDeviceControl()
623 PartMgrReleaseLayoutLock(fdoExtension); in PartitionHandleDeviceControl()
639 PartMgrAcquireLayoutLock(fdoExtension); in PartitionHandleDeviceControl()
671 PartMgrReleaseLayoutLock(fdoExtension); in PartitionHandleDeviceControl()
686 PartMgrAcquireLayoutLock(fdoExtension); in PartitionHandleDeviceControl()
777 fdoExtension->LayoutValid = FALSE; in PartitionHandleDeviceControl()
943 if (fdoExtension->IsSuperFloppy) in PartitionHandleDeviceControl()
948 !fdoExtension->IsSuperFloppy) in PartitionHandleDeviceControl()
[all …]
H A Dpartmgr.c1238 PFDO_EXTENSION fdoExtension = DeviceObject->DeviceExtension; in PartMgrDeviceControl() local
1247 if (!fdoExtension->IsFDO) in PartMgrDeviceControl()
1287 status = FdoIoctlDiskCreateDisk(fdoExtension, Irp); in PartMgrDeviceControl()
1313 PFDO_EXTENSION fdoExtension = DeviceObject->DeviceExtension; in PartMgrPnp() local
1319 if (!fdoExtension->IsFDO) in PartMgrPnp()
1339 status = FdoHandleStartDevice(fdoExtension, Irp); in PartMgrPnp()
1348 return FdoHandleDeviceRelations(fdoExtension, Irp); in PartMgrPnp()
1352 return FdoHandleSurpriseRemoval(fdoExtension, Irp); in PartMgrPnp()
1356 return FdoHandleRemoveDevice(fdoExtension, Irp); in PartMgrPnp()
1370 return IoCallDriver(fdoExtension->LowerDevice, Irp); in PartMgrPnp()
[all …]
/reactos/drivers/storage/class/sfloppy/
H A Dfloppy.c745 fdoExtension->CommonExtension.PartitionZeroExtension = fdoExtension; in CreateFlopDeviceObject()
761 fdoExtension->LockCount = 0; in CreateFlopDeviceObject()
767 fdoExtension->DeviceNumber = DeviceCount; in CreateFlopDeviceObject()
788 fdoExtension->LowerPdo = Pdo; in CreateFlopDeviceObject()
859 fdoExtension->SenseData = senseData; in ScsiFlopInitDevice()
880 fdoExtension->TimeOutValue = timeOut; in ScsiFlopInitDevice()
1766 geometry = &(fdoExtension->DiskGeometry); in DetermineMediaType()
2478 fdoExtension->MediaChangeCount = 0; in ScsiFlopProcessError()
3483 fdoExtension->SectorShift, in USBFlopFormatTracks()
3493 fdoExtension->SectorShift); in USBFlopFormatTracks()
[all …]
/reactos/sdk/include/ddk/
H A Dclasspnp.h35 #define DO_MCD(fdoExtension) \ argument
36 (((fdoExtension)->MediaChangeDetectionInfo != NULL) && \
37 ((fdoExtension)->MediaChangeDetectionInfo->MediaChangeDetectionDisableCount == 0))