Home | History | Annotate | Download | only in ScsiDiskDxe

Lines Matching defs:SectorCount

2842   UINT32              SectorCount;

2870 SectorCount = (UINT16) BlocksRemaining;
2872 SectorCount = (UINT32) BlocksRemaining;
2875 SectorCount = MaxBlock;
2878 ByteCount = SectorCount * BlockSize;
2923 SectorCount
2933 SectorCount
2947 // SectorCount accordingly. SectorCount will be encoded in the CDB, and
2956 if (NextSectorCount < SectorCount) {
2957 SectorCount = NextSectorCount;
2961 ByteCount = SectorCount * BlockSize;
2972 SectorCount = ByteCount / BlockSize;
2974 Lba += SectorCount;
2975 PtrBuffer = PtrBuffer + SectorCount * BlockSize;
2976 BlocksRemaining -= SectorCount;
3007 UINT32 SectorCount;
3035 SectorCount = (UINT16) BlocksRemaining;
3037 SectorCount = (UINT32) BlocksRemaining;
3040 SectorCount = MaxBlock;
3043 ByteCount = SectorCount * BlockSize;
3087 SectorCount
3097 SectorCount
3111 // SectorCount accordingly. SectorCount will be encoded in the CDB, and
3120 if (NextSectorCount < SectorCount) {
3121 SectorCount = NextSectorCount;
3125 ByteCount = SectorCount * BlockSize;
3135 SectorCount = ByteCount / BlockSize;
3137 Lba += SectorCount;
3138 PtrBuffer = PtrBuffer + SectorCount * BlockSize;
3139 BlocksRemaining -= SectorCount;
3174 UINT32 SectorCount;
3218 SectorCount = (UINT16) BlocksRemaining;
3220 SectorCount = (UINT32) BlocksRemaining;
3223 SectorCount = MaxBlock;
3226 ByteCount = SectorCount * BlockSize;
3270 SectorCount,
3282 SectorCount,
3295 if ((MaxBlock > 1) && (SectorCount > 1)) {
3296 MaxBlock = MIN (MaxBlock, SectorCount) >> 1;
3335 SectorCount = ByteCount / BlockSize;
3337 Lba += SectorCount;
3338 PtrBuffer = PtrBuffer + SectorCount * BlockSize;
3339 BlocksRemaining -= SectorCount;
3391 UINT32 SectorCount;
3435 SectorCount = (UINT16) BlocksRemaining;
3437 SectorCount = (UINT32) BlocksRemaining;
3440 SectorCount = MaxBlock;
3443 ByteCount = SectorCount * BlockSize;
3487 SectorCount,
3499 SectorCount,
3512 if ((MaxBlock > 1) && (SectorCount > 1)) {
3513 MaxBlock = MIN (MaxBlock, SectorCount) >> 1;
3552 SectorCount = ByteCount / BlockSize;
3554 Lba += SectorCount;
3555 PtrBuffer = PtrBuffer + SectorCount * BlockSize;
3556 BlocksRemaining -= SectorCount;
3589 @param SectorCount The number of blocks to read
3601 IN UINT32 SectorCount
3633 SectorCount
3681 if (SectorCount <= 1) {
3691 SectorCount >>= 1;
3692 *DataLength = SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize;
3713 @param SectorCount The number of blocks to write
3726 IN UINT32 SectorCount
3758 SectorCount
3805 if (SectorCount <= 1) {
3815 SectorCount >>= 1;
3816 *DataLength = SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize;
3837 @param SectorCount The number of blocks to read
3849 IN UINT32 SectorCount
3881 SectorCount
3928 if (SectorCount <= 1) {
3938 SectorCount >>= 1;
3939 *DataLength = SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize;
3960 @param SectorCount The number of blocks to write
3973 IN UINT32 SectorCount
4005 SectorCount
4052 if (SectorCount <= 1) {
4062 SectorCount >>= 1;
4063 *DataLength = SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize;
4106 OldSectorCount = Request->SectorCount;
4171 if (Request->SectorCount <= 1) {
4183 Request->SectorCount >>= 1;
4184 Request->DataLength = Request->SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize;
4212 Request->SectorCount,
4224 Request->SectorCount,
4233 } else if (OldSectorCount != Request->SectorCount) {
4243 Request->InBuffer + Request->SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize,
4245 (UINT32) Request->StartLba + Request->SectorCount,
4246 OldSectorCount - Request->SectorCount,
4255 Request->InBuffer + Request->SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize,
4257 Request->StartLba + Request->SectorCount,
4258 OldSectorCount - Request->SectorCount,
4280 Request->SectorCount,
4292 Request->SectorCount,
4301 } else if (OldSectorCount != Request->SectorCount) {
4311 Request->OutBuffer + Request->SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize,
4313 (UINT32) Request->StartLba + Request->SectorCount,
4314 OldSectorCount - Request->SectorCount,
4323 Request->OutBuffer + Request->SectorCount * ScsiDiskDevice->BlkIo.Media->BlockSize,
4325 Request->StartLba + Request->SectorCount,
4326 OldSectorCount - Request->SectorCount,
4364 @param SectorCount The number of blocks to read.
4383 IN UINT32 SectorCount,
4417 Request->SectorCount = SectorCount;
4444 Request->SectorCount,
4483 @param SectorCount The number of blocks to write.
4502 IN UINT32 SectorCount,
4536 Request->SectorCount = SectorCount;
4563 Request->SectorCount,
4602 @param SectorCount The number of blocks to read.
4621 IN UINT32 SectorCount,
4655 Request->SectorCount = SectorCount;
4682 Request->SectorCount,
4721 @param SectorCount The number of blocks to write.
4740 IN UINT32 SectorCount,
4774 Request->SectorCount = SectorCount;
4801 Request->SectorCount,