/reactos/drivers/usb/usbstor_new/ |
H A D | scsi.c | 20 IN ULONG DataTransferLength, in USBSTOR_BuildCBW() argument 36 Control->DataTransferLength = DataTransferLength; in USBSTOR_BuildCBW() 301 if (Request->DataTransferLength == sizeof(READ_CAPACITY_DATA_EX)) in USBSTOR_CSWCompletionRoutine() 856 Cmd.AllocationLengthMsb = HTONS(Request->DataTransferLength & 0xFFFF) >> 8; in USBSTOR_SendFormatCapacity() 902 ASSERT(Request->DataTransferLength >= sizeof(UFI_INQUIRY_RESPONSE)); in USBSTOR_SendInquiry() 988 RtlZeroMemory(Request->DataBuffer, Request->DataTransferLength); in USBSTOR_SendModeSense() 990 Irp->IoStatus.Information = Request->DataTransferLength; in USBSTOR_SendModeSense() 1115 *TransferBufferLength = Request->DataTransferLength - CSW.DataResidue; in USBSTOR_SendModeSense() 1185 BlockCount = Request->DataTransferLength / PDODeviceExtension->BlockLength; in USBSTOR_SendReadWrite() 1238 ASSERT(Request->DataTransferLength == 0); in USBSTOR_SendTestUnit() [all …]
|
H A D | pdo.c | 990 IN ULONG DataTransferLength, in USBSTOR_AllocateIrp() argument 1042 DataTransferLength, in USBSTOR_AllocateIrp() 1057 Irp->MdlAddress = IoAllocateMdl(Request->DataBuffer, DataTransferLength, FALSE, FALSE, NULL); in USBSTOR_AllocateIrp() 1077 Request->DataTransferLength = DataTransferLength; in USBSTOR_AllocateIrp() 1081 RtlZeroMemory(Request->DataBuffer, DataTransferLength); in USBSTOR_AllocateIrp() 1122 IN ULONG DataTransferLength, in USBSTOR_SendIrp() argument 1135 … Status = USBSTOR_AllocateIrp(PDODeviceObject, DataTransferLength, OpCode, &Event, &Request, &Irp); in USBSTOR_SendIrp()
|
H A D | disk.c | 67 Request->DataTransferLength == 0 || in USBSTOR_HandleInternalDeviceControl() 82 if (Request->DataTransferLength || in USBSTOR_HandleInternalDeviceControl()
|
/reactos/drivers/usb/usbstor/ |
H A D | scsi.c | 185 FDODeviceExtension->ActiveSrb->SenseInfoBufferLength = Request->DataTransferLength; in USBSTOR_CSWCompletionRoutine() 204 Request->DataTransferLength = 0; in USBSTOR_CSWCompletionRoutine() 219 Irp->IoStatus.Information = Request->DataTransferLength; in USBSTOR_CSWCompletionRoutine() 288 … if (Context->Urb.UrbBulkOrInterruptTransfer.TransferBufferLength < Request->DataTransferLength) in USBSTOR_DataCompletionRoutine() 297 Request->DataTransferLength = Context->Urb.UrbBulkOrInterruptTransfer.TransferBufferLength; in USBSTOR_DataCompletionRoutine() 305 Request->DataTransferLength = Context->Urb.UrbBulkOrInterruptTransfer.TransferBufferLength; in USBSTOR_DataCompletionRoutine() 393 Request->DataTransferLength, in USBSTOR_CBWCompletionRoutine() 403 Request->DataTransferLength); in USBSTOR_CBWCompletionRoutine() 423 Request->DataTransferLength, in USBSTOR_CBWCompletionRoutine() 475 Context->cbw.DataTransferLength = Request->DataTransferLength; in USBSTOR_SendCBWRequest() [all …]
|
H A D | pdo.c | 758 Srb->DataTransferLength = *OutDataTransferLength; in USBSTOR_SendInternalCdb() 794 *OutDataTransferLength = Srb->DataTransferLength; in USBSTOR_SendInternalCdb() 830 ULONG DataTransferLength = INQUIRYDATABUFFERSIZE; in USBSTOR_FillInquiryData() local 837 …R_SendInternalCdb(PDODeviceObject, &Cdb, CDB6GENERIC_LENGTH, 20, InquiryData, &DataTransferLength); in USBSTOR_FillInquiryData()
|
H A D | disk.c | 36 TransferLength = Srb->DataTransferLength; in IsRequestValid() 58 if (Srb->DataTransferLength) in IsRequestValid()
|
/reactos/sdk/include/psdk/ |
H A D | ntddscsi.h | 52 ULONG DataTransferLength; member 68 ULONG DataTransferLength; member 85 ULONG DataTransferLength; member 101 ULONG DataTransferLength; member 198 ULONG DataTransferLength; member 213 ULONG DataTransferLength; member 230 ULONG DataTransferLength; member 245 ULONG DataTransferLength; member
|
/reactos/drivers/storage/port/buslogic/ |
H A D | wmi.c | 108 ASSERT(Srb->DataTransferLength >= sizeof(ULONG)); in BT958WmiSrb() 119 Srb->DataTransferLength = 0; in BT958WmiSrb() 131 Srb->DataTransferLength, in BT958WmiSrb() 145 Srb->DataTransferLength = retSize; in BT958WmiSrb()
|
/reactos/sdk/include/ddk/ |
H A D | srbhelper.h | 769 ULONG DataTransferLength; in SrbGetDataTransferLength() local 773 DataTransferLength = srb->DataTransferLength; in SrbGetDataTransferLength() 777 DataTransferLength = ((PSCSI_REQUEST_BLOCK)srb)->DataTransferLength; in SrbGetDataTransferLength() 779 return DataTransferLength; in SrbGetDataTransferLength() 786 _In_ ULONG DataTransferLength) in SrbSetDataTransferLength() argument 792 srb->DataTransferLength = DataTransferLength; in SrbSetDataTransferLength() 796 ((PSCSI_REQUEST_BLOCK)srb)->DataTransferLength = DataTransferLength; in SrbSetDataTransferLength()
|
H A D | srb.h | 309 ULONG DataTransferLength; member 311 _Field_size_bytes_(DataTransferLength) PVOID DataBuffer; 341 ULONG DataTransferLength; member 385 ULONG DataTransferLength; member 433 ULONG DataTransferLength; member 649 ULONG DataTransferLength; 650 _Field_size_bytes_full_(DataTransferLength)
|
/reactos/drivers/storage/port/storahci/ |
H A D | storahci.c | 1789 if (Srb->DataTransferLength < INQUIRYDATABUFFERSIZE) in InquiryCompletion() 1796 Srb->DataTransferLength = INQUIRYDATABUFFERSIZE; in InquiryCompletion() 1857 DataBufferLength = Srb->DataTransferLength; in AhciATAPICommand() 1998 ULONG DataTransferLength, BytesPerSector, SectorCount; in DeviceRequestReadWrite() local 2013 DataTransferLength = Srb->DataTransferLength; in DeviceRequestReadWrite() 2020 SectorCount = DataTransferLength / BytesPerSector; in DeviceRequestReadWrite() 2022 Srb->DataTransferLength = SectorCount * BytesPerSector; in DeviceRequestReadWrite() 2211 NT_ASSERT(Srb->DataTransferLength >= sizeof(LUN_LIST)); in DeviceReportLuns() 2228 Srb->DataTransferLength = sizeof(LUN_LIST); in DeviceReportLuns() 2317 DataBufferLength = Srb->DataTransferLength; in DeviceInquiryRequest() [all …]
|
/reactos/drivers/storage/ide/uniata/ |
H A D | ntddscsi.h | 69 ULONG DataTransferLength; member 89 ULONG DataTransferLength; member
|
H A D | id_ata.cpp | 6129 CdbDataLen = Srb->DataTransferLength; 6441 srb->DataTransferLength = 0; 7339 AtaReq->WordsLeft = Srb->DataTransferLength / 2; 7417 CdbDataLen = Srb->DataTransferLength; 7739 if(!Srb->DataTransferLength) { 7745 Srb->DataTransferLength)) { 7770 … (Srb->DataTransferLength >= 0x10000) ? (USHORT)(0xffff) : (USHORT)(Srb->DataTransferLength), 8024 if (Srb->DataTransferLength >= 0x10000) { 8447 Srb->DataTransferLength = 16; 9822 len = Srb->DataTransferLength; [all …]
|
/reactos/drivers/filesystems/udfs/CDRW/ |
H A D | scsi_port.h | 67 ULONG DataTransferLength; member 85 ULONG DataTransferLength; member
|
/reactos/drivers/storage/ide/atapi/ |
H A D | atapi.c | 4123 deviceExtension->WordsLeft = srb->DataTransferLength; in AtapiInterrupt() 4230 srb->DataTransferLength = 0; in AtapiInterrupt() 4550 deviceExtension->WordsLeft = Srb->DataTransferLength / 2; in IdeReadWrite() 4577 Srb->DataTransferLength)); in IdeReadWrite() 4839 deviceExtension->WordsLeft = Srb->DataTransferLength / 2; in IdeVerify() 5243 deviceExtension->WordsLeft = Srb->DataTransferLength / 2; in AtapiSendCommand() 5251 byteCountLow = (UCHAR)(Srb->DataTransferLength & 0xFF); in AtapiSendCommand() 5252 byteCountHigh = (UCHAR)(Srb->DataTransferLength >> 8); in AtapiSendCommand() 5254 if (Srb->DataTransferLength >= 0x10000) { in AtapiSendCommand() 5403 for (i = 0; i < Srb->DataTransferLength; i++) { in IdeSendCommand() [all …]
|
/reactos/drivers/storage/class/cdrom/ |
H A D | scratch.c | 754 … readWriteContext->DataBuffer += deviceExtension->ScratchContext.ScratchSrb->DataTransferLength; in ScratchBuffer_ReadWriteCompletionRoutine() 755 …Context->StartingOffset.QuadPart += deviceExtension->ScratchContext.ScratchSrb->DataTransferLength; in ScratchBuffer_ReadWriteCompletionRoutine() 756 …eadWriteContext->TransferedBytes += deviceExtension->ScratchContext.ScratchSrb->DataTransferLength; in ScratchBuffer_ReadWriteCompletionRoutine() 884 …srb->DataTransferLength = min(DeviceExtension->ScratchContext.ScratchBufferSize, MaximumTransferLe… in _IRQL_requires_max_() 1285 srb->DataTransferLength = RequiredLength; in ScratchBuffer_SetupReadWriteSrb() 1364 …>MdlAddress, DeviceExtension->ScratchContext.PartialMdl, srb->DataBuffer, srb->DataTransferLength); in ScratchBuffer_SetupReadWriteSrb()
|
H A D | ioctl.c | 4300 *DataLength = DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength; in _IRQL_requires_max_() 4397 *DataLength = DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength; in _IRQL_requires_max_() 4467 totalLength = min(totalLength, Srb->DataTransferLength); in _IRQL_requires_max_() 7340 srb->DataTransferLength = (ULONG)transferByteCount; in _IRQL_requires_max_() 7386 *DataLength = srb->DataTransferLength; in _IRQL_requires_max_() 7671 DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength); in _IRQL_requires_max_() 7673 *DataLength = DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength; in _IRQL_requires_max_() 8252 DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength); in _IRQL_requires_max_() 8265 DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength)); in _IRQL_requires_max_() 8313 DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength)); in _IRQL_requires_max_() [all …]
|
H A D | init.c | 1950 if ((requestedInquiryTransferBytes == srb.DataTransferLength) && in _IRQL_requires_max_() 2019 (srb.DataTransferLength < requestedInquiryTransferBytes) && in _IRQL_requires_max_() 2020 (srb.DataTransferLength >= MINIMUM_CDROM_INQUIRY_SIZE)) in _IRQL_requires_max_() 2024 requestedInquiryTransferBytes = srb.DataTransferLength; in _IRQL_requires_max_() 2056 requestedInquiryTransferBytes = srb.DataTransferLength; in _IRQL_requires_max_()
|
H A D | mmc.c | 646 ULONG returned = srb.DataTransferLength; in _IRQL_requires_max_() 655 _Analysis_assume_(srb.DataTransferLength <= BufferSize); in _IRQL_requires_max_() 1566 temp1 = min(temp1, DeviceExtension->ScratchContext.ScratchSrb->DataTransferLength); in DeviceRetryTimeDetectionBasedOnGetPerformance()
|
/reactos/drivers/storage/port/scsiport/ |
H A D | fdo.c | 95 Srb.DataTransferLength = INQUIRYDATABUFFERSIZE; in FdoSendInquiry() 165 (Srb.DataTransferLength > INQUIRYDATABUFFERSIZE) ? in FdoSendInquiry() 166 INQUIRYDATABUFFERSIZE : Srb.DataTransferLength); in FdoSendInquiry()
|
H A D | scsi.c | 492 InitialSrb->SenseInfoBufferLength = (UCHAR)Srb->DataTransferLength; in SpiSenseCompletionRoutine() 632 Srb->DataTransferLength = InitialSrb->SenseInfoBufferLength; in SpiSendRequestSense() 690 i < SrbInfo->NumberOfMapRegisters && transferLen < Srb->DataTransferLength; in SpiProcessCompletedRequest() 775 Irp->IoStatus.Information = Srb->DataTransferLength; in SpiProcessCompletedRequest() 1728 Srb->DataTransferLength); in ScsiPortStartIo()
|
/reactos/drivers/storage/class/disk/ |
H A D | diskwmi.c | 741 srbEx->DataTransferLength = length; in DiskPerformSmartCommand() 785 srb.DataTransferLength = length; in DiskPerformSmartCommand() 1678 dataLength = srbEx->DataTransferLength; in DiskInfoExceptionComplete() 1685 dataLength = srb->DataTransferLength; in DiskInfoExceptionComplete() 1744 srbEx->DataTransferLength = Irp->MdlAddress->ByteCount; in DiskInfoExceptionComplete() 1773 srb->DataTransferLength = Irp->MdlAddress->ByteCount; in DiskInfoExceptionComplete() 2094 srbEx->DataTransferLength = MODE_DATA_SIZE; in DiskInfoExceptionCheck() 2183 srb->DataTransferLength = MODE_DATA_SIZE; in DiskInfoExceptionCheck()
|
/reactos/drivers/storage/floppy/fdc/ |
H A D | fdo.c | 205 DriveInfo->FloppyDeviceData.DataTransferLength = FloppyDeviceData->DataTransferLength; in FdcFdoConfigCallback()
|
/reactos/boot/freeldr/freeldr/disk/ |
H A D | scsiport.c | 235 Srb->DataTransferLength = sizeof(READ_CAPACITY_DATA); in DiskOpen() 309 Srb->DataTransferLength = FullSectors * Context->SectorSize; in DiskRead() 356 Srb->DataTransferLength = Context->SectorSize; in DiskRead() 916 Srb->DataTransferLength = INQUIRYDATABUFFERSIZE; in SpiScanAdapter() 922 Cdb->CDB6INQUIRY.AllocationLength = (UCHAR)Srb->DataTransferLength; in SpiScanAdapter()
|
/reactos/drivers/storage/class/sfloppy/ |
H A D | floppy.c | 2593 srb->DataTransferLength = 0x2a; in ScsiFlopProcessError() 2640 srb->DataTransferLength, in ScsiFlopProcessError() 3069 srb->DataTransferLength >= sizeof(FORMATTED_CAPACITY_LIST) && in USBFlopGetMediaTypes() 3083 srb->DataTransferLength -= sizeof(FORMATTED_CAPACITY_LIST); in USBFlopGetMediaTypes() 3088 if (srb->DataTransferLength < capList->CapacityListLength) in USBFlopGetMediaTypes() 3090 count = srb->DataTransferLength / in USBFlopGetMediaTypes()
|