/reactos/drivers/storage/class/classpnp/ |
H A D | obsolete.c | 700 cdb->CDB10.LogicalBlockByte0 = ((PFOUR_BYTE)&logicalBlockAddress)->Byte3; 701 cdb->CDB10.LogicalBlockByte1 = ((PFOUR_BYTE)&logicalBlockAddress)->Byte2; 702 cdb->CDB10.LogicalBlockByte2 = ((PFOUR_BYTE)&logicalBlockAddress)->Byte1; 703 cdb->CDB10.LogicalBlockByte3 = ((PFOUR_BYTE)&logicalBlockAddress)->Byte0; 705 cdb->CDB10.TransferBlocksMsb = ((PFOUR_BYTE)&transferBlocks)->Byte1; 706 cdb->CDB10.TransferBlocksLsb = ((PFOUR_BYTE)&transferBlocks)->Byte0; 717 cdb->CDB10.OperationCode = SCSIOP_READ; 724 cdb->CDB10.OperationCode = SCSIOP_WRITE; 743 cdb->CDB10.ForceUnitAccess = FdoExtension->CdbForceUnitAccess;
|
H A D | retry.c | 60 …or packet %p (did miniport change Srb.Cdb.OperationCode ?)", (ULONG)pCdb->CDB10.OperationCode, Pkt… in InterpretTransferPacketError() 225 else if ((pCdb->CDB10.OperationCode == SCSIOP_READ_CAPACITY) || in InterpretTransferPacketError() 274 else if (IS_SCSIOP_READWRITE(pCdb->CDB10.OperationCode)) { in InterpretTransferPacketError() 437 …or packet %p (did miniport change Srb.Cdb.OperationCode ?)", (ULONG)pCdb->CDB10.OperationCode, Pkt… in InterpretTransferPacketError() 463 (pCdb != NULL) && IS_SCSIOP_READWRITE(pCdb->CDB10.OperationCode)) { in RetryTransferPacket() 525 cdbOpcode = pCdb->CDB10.OperationCode; in RetryTransferPacket()
|
H A D | xferpkt.c | 786 pCdb->CDB10.LogicalBlockByte0 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte3; in SetupReadWriteTransferPacket() 787 pCdb->CDB10.LogicalBlockByte1 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte2; in SetupReadWriteTransferPacket() 788 pCdb->CDB10.LogicalBlockByte2 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte1; in SetupReadWriteTransferPacket() 789 pCdb->CDB10.LogicalBlockByte3 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte0; in SetupReadWriteTransferPacket() 790 pCdb->CDB10.TransferBlocksMsb = ((PFOUR_BYTE)&numTransferBlocks)->Byte1; in SetupReadWriteTransferPacket() 791 pCdb->CDB10.TransferBlocksLsb = ((PFOUR_BYTE)&numTransferBlocks)->Byte0; in SetupReadWriteTransferPacket() 792 pCdb->CDB10.OperationCode = (majorFunc==IRP_MJ_READ) ? SCSIOP_READ : SCSIOP_WRITE; in SetupReadWriteTransferPacket() 813 pCdb->CDB10.ForceUnitAccess = fdoExt->CdbForceUnitAccess; in SetupReadWriteTransferPacket() 838 DBGLOGFLUSHINFO(fdoData, TRUE, (BOOLEAN)(pCdb->CDB10.ForceUnitAccess), FALSE); in SetupReadWriteTransferPacket() 1523 pCdb->CDB10.OperationCode = SCSIOP_READ_CAPACITY; in SetupDriveCapacityTransferPacket()
|
H A D | classp.h | 2477 else if ((Cdb->CDB10.OperationCode == SCSIOP_READ_CAPACITY) || in ClasspTransferPacketGetNumberOfRetriesDone() 2482 else if (IS_SCSIOP_READWRITE(Cdb->CDB10.OperationCode)) in ClasspTransferPacketGetNumberOfRetriesDone()
|
H A D | debug.c | 323 switch (pCdb->CDB10.OperationCode){ in DbgCheckReturnedPkt()
|
H A D | utils.c | 1285 cdb->CDB10.OperationCode = SCSIOP_SYNCHRONIZE_CACHE; in ClasspWriteCacheProperty() 6073 ((PFOUR_BYTE)&lba.LowPart)->Byte3 = Cdb->CDB10.LogicalBlockByte0; in ClasspQueueLogIOEventWithContextWorker() 6074 ((PFOUR_BYTE)&lba.LowPart)->Byte2 = Cdb->CDB10.LogicalBlockByte1; in ClasspQueueLogIOEventWithContextWorker() 6075 ((PFOUR_BYTE)&lba.LowPart)->Byte1 = Cdb->CDB10.LogicalBlockByte2; in ClasspQueueLogIOEventWithContextWorker() 6076 ((PFOUR_BYTE)&lba.LowPart)->Byte0 = Cdb->CDB10.LogicalBlockByte3; in ClasspQueueLogIOEventWithContextWorker()
|
H A D | class.c | 5287 … REVERSE_BYTES(&logicalBlockAddr.LowPart, &cdb->CDB10.LogicalBlockByte0); 5288 … REVERSE_BYTES_SHORT((PUSHORT)&numTransferBlocks, &cdb->CDB10.TransferBlocksMsb); 5960 REVERSE_BYTES_SHORT(&index, &(cdb->CDB10.TransferBlocksMsb)); 6262 …cdb->CDB10.OperationCode = (cdb->CDB6GENERIC.OperationCode == SCSIOP_RESERVE_UNIT) ? SCSIOP_RESERV… 6520 switch (cdb->CDB10.OperationCode) 8152 …cdb->CDB10.OperationCode = (modifiedIoControlCode == IOCTL_STORAGE_RESERVE) ? SCSIOP_RESERVE_UNIT1…
|
/reactos/boot/freeldr/freeldr/disk/ |
H A D | scsiport.c | 239 Cdb->CDB10.OperationCode = SCSIOP_READ_CAPACITY; in DiskOpen() 313 Cdb->CDB10.OperationCode = SCSIOP_READ; in DiskRead() 314 Cdb->CDB10.LogicalUnitNumber = Srb->Lun; in DiskRead() 317 Cdb->CDB10.LogicalBlockByte2 = (Lba >> 8) & 0xff; in DiskRead() 318 Cdb->CDB10.LogicalBlockByte3 = Lba & 0xff; in DiskRead() 360 Cdb->CDB10.OperationCode = SCSIOP_READ; in DiskRead() 361 Cdb->CDB10.LogicalUnitNumber = Srb->Lun; in DiskRead() 364 Cdb->CDB10.LogicalBlockByte2 = (Lba >> 8) & 0xff; in DiskRead() 365 Cdb->CDB10.LogicalBlockByte3 = Lba & 0xff; in DiskRead() 366 Cdb->CDB10.TransferBlocksMsb = 0; in DiskRead() [all …]
|
/reactos/drivers/storage/class/cdrom/ |
H A D | scratch.c | 1325 RtlZeroMemory(&cdb->CDB10, sizeof(cdb->CDB10)); in ScratchBuffer_SetupReadWriteSrb() 1326 cdb->CDB10.LogicalBlockByte0 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte3; in ScratchBuffer_SetupReadWriteSrb() 1327 cdb->CDB10.LogicalBlockByte1 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte2; in ScratchBuffer_SetupReadWriteSrb() 1328 cdb->CDB10.LogicalBlockByte2 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte1; in ScratchBuffer_SetupReadWriteSrb() 1329 cdb->CDB10.LogicalBlockByte3 = ((PFOUR_BYTE)&logicalBlockAddr.LowPart)->Byte0; in ScratchBuffer_SetupReadWriteSrb() 1330 cdb->CDB10.TransferBlocksMsb = ((PFOUR_BYTE)&numTransferBlocks)->Byte1; in ScratchBuffer_SetupReadWriteSrb() 1331 cdb->CDB10.TransferBlocksLsb = ((PFOUR_BYTE)&numTransferBlocks)->Byte0; in ScratchBuffer_SetupReadWriteSrb() 1332 cdb->CDB10.OperationCode = (IsReadRequest) ? SCSIOP_READ : SCSIOP_WRITE; in ScratchBuffer_SetupReadWriteSrb() 1333 srb->CdbLength = sizeof(cdb->CDB10); in ScratchBuffer_SetupReadWriteSrb()
|
H A D | sense.c | 1590 switch (((PCDB)Srb->Cdb)->CDB10.OperationCode) in SenseInfoLogError() 1628 IS_SCSIOP_READ(((PCDB)Srb->Cdb)->CDB10.OperationCode)) in SenseInfoLogError() 1801 … tempCdb->CDB10.OperationCode = (tempCdb->CDB6GENERIC.OperationCode == SCSIOP_RESERVE_UNIT) 2204 if ((IS_SCSIOP_READWRITE(((PCDB)Srb->Cdb)->CDB10.OperationCode)) || 2205 (((PCDB)Srb->Cdb)->CDB10.OperationCode == SCSIOP_VERIFY) || 2206 (((PCDB)Srb->Cdb)->CDB10.OperationCode == SCSIOP_VERIFY16)) 2221 index = (((PCDB)Srb->Cdb)->CDB10.TransferBlocksMsb << 8) | 2222 ((PCDB)Srb->Cdb)->CDB10.TransferBlocksLsb;
|
H A D | ioctl.c | 5028 cdb.CDB10.OperationCode = SCSIOP_VERIFY; in _IRQL_requires_max_() 5031 cdb.CDB10.LogicalBlockByte0 = ((PFOUR_BYTE)§orOffset)->Byte3; in _IRQL_requires_max_() 5032 cdb.CDB10.LogicalBlockByte1 = ((PFOUR_BYTE)§orOffset)->Byte2; in _IRQL_requires_max_() 5033 cdb.CDB10.LogicalBlockByte2 = ((PFOUR_BYTE)§orOffset)->Byte1; in _IRQL_requires_max_() 5034 cdb.CDB10.LogicalBlockByte3 = ((PFOUR_BYTE)§orOffset)->Byte0; in _IRQL_requires_max_() 5036 cdb.CDB10.TransferBlocksMsb = ((PFOUR_BYTE)§orCount)->Byte1; in _IRQL_requires_max_() 5037 cdb.CDB10.TransferBlocksLsb = ((PFOUR_BYTE)§orCount)->Byte0; in _IRQL_requires_max_() 6645 …cdb->CDB10.OperationCode = (ioctlCode == IOCTL_STORAGE_RESERVE) ? SCSIOP_RESERVE_UNIT10 : SCSIOP_R… in _IRQL_requires_max_()
|
H A D | common.c | 2077 cdb->CDB10.OperationCode = SCSIOP_READ_CAPACITY; in _IRQL_requires_max_()
|
/reactos/drivers/storage/port/storahci/ |
H A D | storahci.c | 871 switch(cdb->CDB10.OperationCode) in AhciHwStartIo() 1882 switch(Cdb->CDB10.OperationCode) in AhciATAPICommand() 1945 NT_ASSERT(Cdb->CDB10.OperationCode == SCSIOP_MODE_SENSE); in DeviceRequestSense() 2003 …NT_ASSERT((Cdb->CDB10.OperationCode == SCSIOP_READ) || (Cdb->CDB10.OperationCode == SCSIOP_WRITE)); in DeviceRequestReadWrite() 2025 IsReading = (Cdb->CDB10.OperationCode == SCSIOP_READ); in DeviceRequestReadWrite() 2124 if (Cdb->CDB10.OperationCode == SCSIOP_READ_CAPACITY) in DeviceRequestCapacity() 2264 NT_ASSERT(Cdb->CDB10.OperationCode == SCSIOP_INQUIRY); in DeviceInquiryRequest() 2611 lba |= Cdb->CDB10.LogicalBlockByte3 << 0; in AhciGetLba() 2612 lba |= Cdb->CDB10.LogicalBlockByte2 << 8; in AhciGetLba() 2613 lba |= Cdb->CDB10.LogicalBlockByte1 << 16; in AhciGetLba() [all …]
|
/reactos/drivers/usb/usbstor_new/ |
H A D | scsi.c | 1193 Cmd.ContiguousLogicBlocksByte0 = pCDB->CDB10.TransferBlocksMsb; in USBSTOR_SendReadWrite() 1194 Cmd.ContiguousLogicBlocksByte1 = pCDB->CDB10.TransferBlocksLsb; in USBSTOR_SendReadWrite() 1195 Cmd.LogicalBlockByte0 = pCDB->CDB10.LogicalBlockByte0; in USBSTOR_SendReadWrite() 1196 Cmd.LogicalBlockByte1 = pCDB->CDB10.LogicalBlockByte1; in USBSTOR_SendReadWrite() 1197 Cmd.LogicalBlockByte2 = pCDB->CDB10.LogicalBlockByte2; in USBSTOR_SendReadWrite() 1198 Cmd.LogicalBlockByte3 = pCDB->CDB10.LogicalBlockByte3; in USBSTOR_SendReadWrite()
|
/reactos/drivers/storage/class/sfloppy/ |
H A D | floppy.c | 1238 cdb->CDB10.OperationCode = SCSIOP_VERIFY; in ScsiFlopDeviceControl() 1263 cdb->CDB10.LogicalBlockByte0 = ((PFOUR_BYTE)§orOffset)->Byte3; in ScsiFlopDeviceControl() 1264 cdb->CDB10.LogicalBlockByte1 = ((PFOUR_BYTE)§orOffset)->Byte2; in ScsiFlopDeviceControl() 1265 cdb->CDB10.LogicalBlockByte2 = ((PFOUR_BYTE)§orOffset)->Byte1; in ScsiFlopDeviceControl() 1266 cdb->CDB10.LogicalBlockByte3 = ((PFOUR_BYTE)§orOffset)->Byte0; in ScsiFlopDeviceControl() 1268 cdb->CDB10.TransferBlocksMsb = ((PFOUR_BYTE)§orCount)->Byte1; in ScsiFlopDeviceControl() 1269 cdb->CDB10.TransferBlocksLsb = ((PFOUR_BYTE)§orCount)->Byte0; in ScsiFlopDeviceControl()
|
/reactos/drivers/storage/class/disk/ |
H A D | disk.c | 1410 cdb->CDB10.OperationCode = SCSIOP_SYNCHRONIZE_CACHE; in DiskShutdownFlush() 2160 Cdb->CDB10.OperationCode = SCSIOP_VERIFY; in DiskIoctlVerifyThread() 2183 Cdb->CDB10.OperationCode = SCSIOP_VERIFY; in DiskIoctlVerifyThread() 2240 Cdb->CDB10.LogicalBlockByte0 = ((PFOUR_BYTE)§orOffset)->Byte3; in DiskIoctlVerifyThread() 2241 Cdb->CDB10.LogicalBlockByte1 = ((PFOUR_BYTE)§orOffset)->Byte2; in DiskIoctlVerifyThread() 2242 Cdb->CDB10.LogicalBlockByte2 = ((PFOUR_BYTE)§orOffset)->Byte1; in DiskIoctlVerifyThread() 2245 Cdb->CDB10.TransferBlocksMsb = ((PFOUR_BYTE)&numSectors)->Byte1; in DiskIoctlVerifyThread() 2246 Cdb->CDB10.TransferBlocksLsb = ((PFOUR_BYTE)&numSectors)->Byte0; in DiskIoctlVerifyThread() 2355 (IS_SCSIOP_READWRITE(cdb->CDB10.OperationCode))) { in DiskFdoProcessError() 2419 (cdb->CDB10.ForceUnitAccess)) in DiskFdoProcessError() [all …]
|
/reactos/drivers/storage/ide/atapi/ |
H A D | atapi.c | 4569 startingSector = ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte3 | in IdeReadWrite() 4570 ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte2 << 8 | in IdeReadWrite() 4571 ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte1 << 16 | in IdeReadWrite() 4572 ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte0 << 24; in IdeReadWrite() 4790 startingSector = ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte3 | in IdeVerify() 4791 ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte2 << 8 | in IdeVerify() 4792 ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte1 << 16 | in IdeVerify() 4793 ((PCDB)Srb->Cdb)->CDB10.LogicalBlockByte0 << 24; in IdeVerify() 4798 ((PCDB)Srb->Cdb)->CDB10.TransferBlocksLsb)); in IdeVerify() 4800 sectorCount = (USHORT)(((PCDB)Srb->Cdb)->CDB10.TransferBlocksMsb << 8 | in IdeVerify() [all …]
|
/reactos/drivers/usb/usbstor/ |
H A D | scsi.c | 553 …DPRINT("USBSTOR_HandleExecuteSCSI Operation Code %x, Length %lu\n", SrbGetCdb(Request)->CDB10.Oper… in USBSTOR_HandleExecuteSCSI() 556 ASSERT(SrbGetCdb(Request)->CDB10.LogicalUnitNumber == PDODeviceExtension->LUN); in USBSTOR_HandleExecuteSCSI()
|
/reactos/drivers/storage/ide/uniata/ |
H A D | id_ata.cpp | 6968 MOV_DD_SWP(startingSector, ((PCDB)Srb->Cdb)->CDB10.LBA); 6969 MOV_SWP_DW2DD(AtaReq->bcount, ((PCDB)Srb->Cdb)->CDB10.TransferBlocks); 7296 MOV_DD_SWP(startingSector, ((PCDB)Srb->Cdb)->CDB10.LBA); 7297 MOV_SWP_DW2DD(sectorCount, ((PCDB)Srb->Cdb)->CDB10.TransferBlocks); 7614 MOV_SWP_DW2DD(AtaReq->bcount, ((PCDB)Srb->Cdb)->CDB10.TransferBlocks); 7616 MOV_DD_SWP(AtaReq->lba, ((PCDB)Srb->Cdb)->CDB10.LBA);
|
H A D | scsi.h | 146 } CDB10, *PCDB10; member
|
/reactos/drivers/filesystems/udfs/CDRW/ |
H A D | cdrw_hw.h | 122 } CDB10, *PCDB10; member
|
/reactos/sdk/include/ddk/ |
H A D | storport.h | 849 } CDB10, *PCDB10; member
|
H A D | scsi.h | 1075 } CDB10, *PCDB10; member
|