Lines Matching refs:ByteCount
558 ULONG ByteCount; local
625 ByteCount = IrpSp->Parameters.Read.Length;
626 RequestedByteCount = ByteCount;
632 if (ByteCount == 0) {
664 CollectReadStats(Vcb, TypeOfOpen, ByteCount);
722 ByteCount;
816 if (ByteCount > VolumeSize - StartingLbo) {
818 ByteCount = RequestedByteCount = (ULONG) (VolumeSize - StartingLbo);
828 ByteCount;
837 FatLockUserBuffer( IrpContext, Irp, IoWriteAccess, ByteCount );
857 ByteCount,
871 ByteCount,
984 ByteCount,
1129 if (ByteCount > FileSize - StartingVbo) {
1131 ByteCount = RequestedByteCount = FileSize - StartingVbo;
1168 if ( StartingVbo + ByteCount > ValidDataLength ) {
1197 if (ByteCount > ZeroingOffset) {
1200 ByteCount - ZeroingOffset);
1211 SafeZeroMemory( (PUCHAR)SystemBuffer, ByteCount );
1213 Irp->IoStatus.Information = ByteCount;
1226 ByteCount = (ValidDataLength - StartingVbo < ByteCount) ?
1227 ValidDataLength - StartingVbo : ByteCount;
1234 BytesToRead = (ByteCount + (SectorSize - 1))
1278 ByteCount );
1287 BytesToRead = ByteCount;
1301 ByteCount,
1411 ByteCount,
1419 ByteCount,
1450 ByteCount,
1499 NT_ASSERT( ((StartingVbo | ByteCount) & (SectorSize - 1)) == 0 );
1515 if ( StartingVbo + ByteCount > FcbOrDcb->Header.AllocationSize.LowPart ) {
1518 ByteCount = FcbOrDcb->Header.AllocationSize.LowPart - StartingVbo;
1530 ByteCount,
1531 ByteCount,
1552 NT_ASSERT( Irp->IoStatus.Information == ByteCount );