Lines Matching refs:ByteCount

255     ULONG ByteCount;  local
331 ByteCount = IrpSp->Parameters.Write.Length;
337 if (ByteCount == 0) {
350 ByteCount,
364 ByteCount,
407 CollectWriteStats(Vcb, TypeOfOpen, ByteCount);
427 if (!FatIsIoRangeValid( Vcb, StartingByte, ByteCount)) {
484 ByteCount;
592 || ( (DirtyLbo == 0) && (DirtyByteCount >= ByteCount) ) ) {
660 NT_ASSERT((DirtyVbo != 0) && (DirtyVbo < StartingVbo + ByteCount));
684 if (DirtyVbo + DirtyByteCount >= StartingVbo + ByteCount) {
686 DirtyByteCount = StartingVbo + ByteCount - DirtyVbo;
721 StartingVbo + ByteCount) {
754 RaiseIosb.Information = ByteCount;
786 IoRuns[Fat].ByteCount = WriteLength;
928 (ByteCount > (FatReservedBytes( &(Vcb->Bpb) ) - StartingLbo))) {
1018 if (ByteCount > VolumeSize - StartingLbo) {
1020 ByteCount = (ULONG) (VolumeSize - StartingLbo);
1030 ByteCount;
1050 FatLockUserBuffer( IrpContext, Irp, IoReadAccess, ByteCount );
1068 ByteCount,
1083 ByteCount,
1220 ByteCount,
1230 ByteCount,
1256 ByteCount,
1424 if (ByteCount > FileSize - StartingVbo) {
1428 ByteCount = FileSize - StartingVbo;
1449 if ((StartingVbo + ByteCount > ValidDataLength) &&
1457 … if (StartingVbo + ByteCount > ((ValidDataLength + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))) {
1548 StartingVbo + ByteCount > ValidDataLength)) {
1645 (StartingVbo + ByteCount > FcbOrDcb->Header.ValidDataLength.LowPart) ||
1709 ByteCount = IrpSp->Parameters.Write.Length;
1711 if (ByteCount > FileSize - StartingVbo) {
1712 ByteCount = FileSize - StartingVbo;
1724 ByteCount;
1759 if (!FatIsIoRangeValid( Vcb, StartingByte, ByteCount)) {
1820 if (!PagingIo && (StartingVbo + ByteCount > FileSize)) {
1846 FileSize = StartingVbo + ByteCount;
2043 (StartingVbo + ByteCount > ValidDataLength) ) {
2106 BytesToWrite = (ByteCount + (SectorSize - 1))
2116 ((BytesToWrite != ByteCount) &&
2117 (StartingVbo + ByteCount < ValidDataLength))) {
2317 Irp->IoStatus.Information = ByteCount;
2323 NewValidDataToDisk = StartingVbo + ByteCount;
2402 (ByteCount >= PAGE_SIZE)) {
2495 ByteCount,
2502 ByteCount,
2513 Irp->IoStatus.Information = ByteCount;
2529 ByteCount,
2627 NT_ASSERT( ((StartingVbo | ByteCount) & (SectorSize - 1)) == 0 );
2645 if ( StartingVbo + ByteCount > FcbOrDcb->Header.FileSize.LowPart ) {
2648 ByteCount = FcbOrDcb->Header.FileSize.LowPart - StartingVbo;
2660 ByteCount,
2661 ByteCount,