/reactos/drivers/filesystems/fastfat/ |
H A D | deviosup.c | 144 IN ULONG ByteCount, 243 ULONG ByteCount; in FatPagingFileIo() local 763 IN ULONG ByteCount in FatUpdateDiskStats() argument 804 BytesToRead = ByteCount; in FatUpdateDiskStats() 841 BytesToWrite = ByteCount; in FatUpdateDiskStats() 887 IN ULONG ByteCount, in _Requires_lock_held_() 987 OriginalByteCount = ByteCount; in _Requires_lock_held_() 1131 ByteCount, in _Requires_lock_held_() 1300 IN ULONG ByteCount in _Requires_lock_held_() 1994 IN ULONG ByteCount, in FatSingleAsync() argument [all …]
|
H A D | read.c | 558 ULONG ByteCount; local 626 RequestedByteCount = ByteCount; 632 if (ByteCount == 0) { 722 ByteCount; 828 ByteCount; 857 ByteCount, 984 ByteCount, 1226 ByteCount = (ValidDataLength - StartingVbo < ByteCount) ? 1450 ByteCount, 1530 ByteCount, [all …]
|
H A D | write.c | 255 ULONG ByteCount; local 337 if (ByteCount == 0) { 350 ByteCount, 364 ByteCount, 484 ByteCount; 754 RaiseIosb.Information = ByteCount; 1030 ByteCount; 1068 ByteCount, 1230 ByteCount, 1724 ByteCount; [all …]
|
H A D | cachesup.c | 106 IN ULONG ByteCount, in FatReadVolumeFile() argument 165 ByteCount, in FatReadVolumeFile() 193 IN ULONG ByteCount, in _Requires_lock_held_() 263 ByteCount, in _Requires_lock_held_() 313 IN ULONG ByteCount, in _Requires_lock_held_() 362 if (ByteCount == 0) { in _Requires_lock_held_() 402 ByteCount = (Dcb->Header.AllocationSize.LowPart - StartingVbo < ByteCount) ? in _Requires_lock_held_() 417 ByteCount, in _Requires_lock_held_() 455 IN ULONG ByteCount, in _Requires_lock_held_() 1664 IN ULONG ByteCount in FatZeroData() argument [all …]
|
H A D | allocsup.c | 624 OUT PULONG ByteCount, in _Requires_lock_held_() 1705 ULONG ByteCount; in _Requires_lock_held_() local 1749 IN PULONG ByteCount, in _Requires_lock_held_() 1835 if (*ByteCount == 0) { in _Requires_lock_held_() 1852 *ByteCount = (*ByteCount + (BytesPerCluster - 1)) in _Requires_lock_held_() 1860 if (*ByteCount == 0) { in _Requires_lock_held_() 2511 *ByteCount = 0; in _Requires_lock_held_() 2650 ULONG ByteCount; in _Requires_lock_held_() local 2744 MdlSizeMapped = min( ByteCount, Mdl->ByteCount ); in _Requires_lock_held_() 3226 ULONG ByteCount; in _Requires_lock_held_() local [all …]
|
/reactos/dll/win32/netapi32/ |
H A D | apibuf.c | 28 NET_API_STATUS WINAPI NetApiBufferAllocate(DWORD ByteCount, LPVOID* Buffer) in NetApiBufferAllocate() argument 30 TRACE("(%d, %p)\n", ByteCount, Buffer); in NetApiBufferAllocate() 33 *Buffer = HeapAlloc(GetProcessHeap(), 0, ByteCount); in NetApiBufferAllocate() 77 NET_API_STATUS WINAPI NetApiBufferSize(LPVOID Buffer, LPDWORD ByteCount) in NetApiBufferSize() argument 81 TRACE("(%p, %p)\n", Buffer, ByteCount); in NetApiBufferSize() 87 *ByteCount = dw; in NetApiBufferSize() 89 *ByteCount = 0; in NetApiBufferSize()
|
/reactos/drivers/filesystems/cdfs/ |
H A D | allocsup.c | 72 _Out_ PULONG ByteCount 98 _Out_ PULONG ByteCount in _Requires_lock_held_() 198 ByteCount ); in _Requires_lock_held_() 430 McbEntry->ByteCount = Dirent->DataLength; in CdAddAllocationFromDirent() 439 McbEntry->ByteCount = BlockAlign( Fcb->Vcb, McbEntry->ByteCount ); in CdAddAllocationFromDirent() 545 McbEntry->ByteCount = DataLength; in CdAddInitialAllocation() 561 McbEntry->TotalBlockByteCount = McbEntry->ByteCount; in CdAddInitialAllocation() 817 _Out_ PULONG ByteCount in CdDiskOffsetFromMcbEntry() argument 914 CurrentExtentOffset = McbEntry->ByteCount; in CdDiskOffsetFromMcbEntry() 926 *ByteCount = MAXULONG; in CdDiskOffsetFromMcbEntry() [all …]
|
H A D | write.c | 101 ULONG ByteCount; in _Requires_lock_held_() local 151 OriginalByteCount = ByteCount = IrpSp->Parameters.Write.Length; in _Requires_lock_held_() 153 ByteRange = StartingOffset + ByteCount; in _Requires_lock_held_() 194 ByteCount = (ULONG) (Fcb->FileSize.QuadPart - StartingOffset); in _Requires_lock_held_() 206 WriteByteCount = BlockAlign( Fcb->Vcb, ByteCount ); in _Requires_lock_held_() 221 WriteByteCount = ByteCount; in _Requires_lock_held_() 270 IrpContext->IoContext->RequestedByteCount = ByteCount; in _Requires_lock_held_() 334 } else if (WriteByteCount != ByteCount) { in _Requires_lock_held_() 340 ByteCount, in _Requires_lock_held_() 342 WriteByteCount - ByteCount ); in _Requires_lock_held_() [all …]
|
H A D | read.c | 110 ULONG ByteCount; in _Requires_lock_held_() local 165 OriginalByteCount = ByteCount = IrpSp->Parameters.Read.Length; in _Requires_lock_held_() 167 ByteRange = StartingOffset + ByteCount; in _Requires_lock_held_() 309 ReadByteCount = BlockAlign( Fcb->Vcb, ByteCount ); in _Requires_lock_held_() 324 ReadByteCount = ByteCount; in _Requires_lock_held_() 435 } else if (ReadByteCount != ByteCount) { in _Requires_lock_held_() 441 ByteCount, in _Requires_lock_held_() 443 ReadByteCount - ByteCount ); in _Requires_lock_held_() 445 Irp->IoStatus.Information = ByteCount; in _Requires_lock_held_() 501 ByteCount, in _Requires_lock_held_() [all …]
|
H A D | deviosup.c | 111 _In_ ULONG ByteCount, 126 _In_ ULONG ByteCount, 307 _In_ ULONG ByteCount in _Requires_lock_held_() 350 ULONG RemainingByteCount = ByteCount; in _Requires_lock_held_() 594 _In_ ULONG ByteCount in _Requires_lock_held_() 1003 _In_ ULONG ByteCount in _Requires_lock_held_() 1049 IoRun.DiskByteCount = ByteCount; in _Requires_lock_held_() 1083 _In_ ULONG ByteCount, in CdReadSectors() argument 1486 _In_ ULONG ByteCount, in _Requires_lock_held_() 1786 _In_ ULONG ByteCount, in _Requires_lock_held_() [all …]
|
H A D | namesup.c | 112 _In_reads_bytes_(ByteCount) PCHAR BigEndian, in CdConvertBigToLittleEndian() 113 _In_ ULONG ByteCount, in CdConvertBigToLittleEndian() argument 114 _Out_writes_bytes_(ByteCount) PCHAR LittleEndian in CdConvertBigToLittleEndian() 141 ULONG RemainingByteCount = ByteCount; in CdConvertBigToLittleEndian() 152 if (FlagOn( ByteCount, 1 )) { in CdConvertBigToLittleEndian()
|
/reactos/drivers/base/kdcom/ |
H A D | kddll.c | 53 Packet.ByteCount = 0; in KdpSendControlPacket() 128 KdStatus = KdpReceiveBuffer(&Packet.ByteCount, sizeof(USHORT)); in KdReceivePacket() 208 if (Packet.ByteCount < MessageHeader->Length || in KdReceivePacket() 209 Packet.ByteCount > PACKET_MAX_SIZE) in KdReceivePacket() 212 Packet.ByteCount, MessageHeader->Length); in KdReceivePacket() 213 MessageHeader->Length = Packet.ByteCount; in KdReceivePacket() 238 *DataLength = Packet.ByteCount - MessageHeader->Length; in KdReceivePacket() 327 Packet.ByteCount = MessageHeader->Length; in KdSendPacket() 334 Packet.ByteCount += MessageData->Length; in KdSendPacket()
|
/reactos/drivers/sac/driver/ |
H A D | rawchan.c | 61 OUT PULONG ByteCount) in RawChannelORead() argument 69 CHECK_PARAMETER4(ByteCount); in RawChannelORead() 71 *ByteCount = 0; in RawChannelORead() 79 Buffer[(*ByteCount)++] = Channel->OBuffer[Channel->OBufferFirstGoodIndex]; in RawChannelORead() 90 ASSERT(*ByteCount > 0); in RawChannelORead() 92 if (*ByteCount >= BufferSize) break; in RawChannelORead() 175 ULONG ByteCount; in RawChannelOFlush() local 181 Status = RawChannelORead(Channel, &Dummy, sizeof(Dummy), &ByteCount); in RawChannelOFlush() 184 CHECK_PARAMETER_WITH_STATUS(ByteCount == 1, STATUS_UNSUCCESSFUL); in RawChannelOFlush()
|
/reactos/drivers/multimedia/audio/mpu401_nt4/ |
H A D | mpu401.c | 243 ULONG ByteCount; in MPU401DeviceControl() local 263 … for (ByteCount = 0; ByteCount < Stack->Parameters.DeviceIoControl.InputBufferLength; ByteCount ++) in MPU401DeviceControl() 265 DPRINT("0x%x ", Data[ByteCount]); in MPU401DeviceControl() 267 MPU401_WRITE_BYTE(DeviceExtension->Port, Data[ByteCount]); in MPU401DeviceControl()
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | dma_slave.cpp | 144 IN ULONG ByteCount in CopyFrom() argument 147 …_CopyFrom: this %p Destination %p Source %p ByteCount %u\n", this, Destination, Source, ByteCount); in CopyFrom() 149 CopyTo(Destination, Source, ByteCount); in CopyFrom() 157 IN ULONG ByteCount in CopyTo() argument 160 …it_CopyTo: this %p Destination %p Source %p ByteCount %u\n", this, Destination, Source, ByteCount); in CopyTo() 161 RtlCopyMemory(Destination, Source, ByteCount); in CopyTo()
|
H A D | irpstream.cpp | 588 OUT PULONG ByteCount, in GetMappingWithTag() argument 599 PC_ASSERT(ByteCount); in GetMappingWithTag() 657 *ByteCount = (LPBYTE)ROUND_TO_PAGES(Data+1)-Data; in GetMappingWithTag() 658 if (*ByteCount > (Size - m_CurrentOffset)) in GetMappingWithTag() 659 *ByteCount = (Size - m_CurrentOffset); in GetMappingWithTag() 660 m_CurrentOffset += *ByteCount; in GetMappingWithTag() 700 …ppingWithTag Tag %p Buffer %p Flags %lu ByteCount %lx\n", Tag, VirtualAddress, *Flags, *ByteCount); in GetMappingWithTag()
|
H A D | interfaces.hpp | 347 OUT PULONG ByteCount, in DECLARE_INTERFACE_() 389 OUT PULONG ByteCount, \ 560 OUT PULONG ByteCount, in DECLARE_INTERFACE_() 913 IN ULONG ByteCount); \ 918 IN ULONG ByteCount) 944 IN ULONG ByteCount); \ 949 IN ULONG ByteCount) 997 IN ULONG ByteCount) PURE; \ 1002 IN ULONG ByteCount) PURE; 1027 IN ULONG ByteCount) PURE; \ [all …]
|
/reactos/drivers/multimedia/audio/sndblst.old/ |
H A D | sndblst.c | 265 ULONG ByteCount; in BlasterWrite() local 277 for (ByteCount = 0; ByteCount < Stack->Parameters.Write.Length; ByteCount ++) in BlasterWrite()
|
/reactos/drivers/bus/acpi/acpica/parser/ |
H A D | psargs.c | 86 UINT32 ByteCount; in AcpiPsGetNextPackageLength() local 97 ByteCount = (Aml[0] >> 6); in AcpiPsGetNextPackageLength() 98 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1); in AcpiPsGetNextPackageLength() 102 while (ByteCount) in AcpiPsGetNextPackageLength() 111 PackageLength |= (Aml[ByteCount] << ((ByteCount << 3) - 4)); in AcpiPsGetNextPackageLength() 114 ByteCount--; in AcpiPsGetNextPackageLength()
|
/reactos/ntoskrnl/mm/ARM3/ |
H A D | mdlsup.c | 434 ASSERT(Mdl->ByteCount != 0); in MmBuildMdlForNonPagedPool() 456 Mdl->ByteCount); in MmBuildMdlForNonPagedPool() 584 NumberOfPages = ADDRESS_AND_SIZE_TO_SPAN_PAGES(Base, Mdl->ByteCount); in MmFreePagesFromMdl() 678 ASSERT(Mdl->ByteCount != 0); in MmMapLockedPagesSpecifyCache() 694 PageCount = ADDRESS_AND_SIZE_TO_SPAN_PAGES(Base, Mdl->ByteCount); in MmMapLockedPagesSpecifyCache() 848 ASSERT(Mdl->ByteCount != 0); in MmUnmapLockedPages() 958 ASSERT(Mdl->ByteCount != 0); in MmProbeAndLockPages() 977 LastAddress = (PVOID)((ULONG_PTR)Address + Mdl->ByteCount); in MmProbeAndLockPages() 978 LockPages = ADDRESS_AND_SIZE_TO_SPAN_PAGES(Address, Mdl->ByteCount); in MmProbeAndLockPages() 1451 ASSERT(Mdl->ByteCount != 0); in MmUnlockPages() [all …]
|
/reactos/dll/win32/rpcrt4/ |
H A D | ndr_es.c | 356 *(DWORD *)pEsMsg->StubMsg.Buffer = pEsMsg->ByteCount; in mes_proc_header_marshal() 391 pEsMsg->ByteCount = *(DWORD *)pEsMsg->StubMsg.Buffer; in mes_proc_header_unmarshal() 393 if (pEsMsg->ByteCount + mes_proc_header_buffer_size() < pEsMsg->ByteCount) in mes_proc_header_unmarshal() 491 pEsMsg->ByteCount = pEsMsg->StubMsg.BufferLength - mes_proc_header_buffer_size(); in NdrMesProcEncodeDecode() 498 es_data_write(pEsMsg, pEsMsg->ByteCount); in NdrMesProcEncodeDecode() 503 es_data_read(pEsMsg, pEsMsg->ByteCount); in NdrMesProcEncodeDecode()
|
/reactos/sdk/tools/cabman/ |
H A D | cabman.cxx | 450 ULONG ByteCount = 0; in DisplayCabinet() local 473 ByteCount += Search.File->FileSize; in DisplayCabinet() 489 if (ByteCount == 1) in DisplayCabinet() 493 sprintf(Str, "%u", (UINT)ByteCount); in DisplayCabinet()
|
/reactos/sdk/include/xdk/ |
H A D | mmfuncs.h | 94 ((_Mdl)->ByteCount) 163 (_MemoryDescriptorList)->ByteCount = (ULONG) _Length; \ 313 _Post_writable_byte_size_(MemoryDescriptorList->ByteCount) 316 …_(MemoryDescriptorList->MappedSystemVa, _Post_writable_byte_size_(MemoryDescriptorList->ByteCount)) 339 _Field_size_bytes_opt_(MemoryDescriptorList->ByteCount)) 659 _Post_writable_byte_size_(MemoryDescriptorList->ByteCount) 662 _Post_writable_byte_size_(MemoryDescriptorList->ByteCount))
|
/reactos/modules/rostests/kmtests/ntos_io/ |
H A D | IoMdl.c | 38 ok(Mdl->ByteCount == MdlSize, in START_TEST() 40 (UINT_PTR)Mdl->ByteCount); in START_TEST()
|
/reactos/drivers/network/tcpip/tcpip/ |
H A D | mockbuffer.c | 55 *Length = ((PMDL)Buffer)->ByteCount; in XNdisQueryBuffer() 362 NdisBuffer->ByteCount -= Adjust; in AdjustPacket() 386 OldSize = NdisBuffer->ByteCount; in ResizePacket() 389 NdisBuffer->ByteCount = Size; in ResizePacket()
|