/reactos/modules/rostests/kmtests/ntos_cc/ |
H A D | CcCopyRead_user.c | 14 LARGE_INTEGER ByteOffset; in START_TEST() local 34 ByteOffset.QuadPart = 3; in START_TEST() 39 ByteOffset.QuadPart = 514; in START_TEST() 45 ByteOffset.QuadPart = 1000; in START_TEST() 57 ByteOffset.QuadPart = 3; in START_TEST() 62 ByteOffset.QuadPart = 514; in START_TEST() 68 ByteOffset.QuadPart = 300000; in START_TEST() 78 ByteOffset.QuadPart = 1000; in START_TEST() 90 ByteOffset.QuadPart = 1; in START_TEST() 101 ByteOffset.QuadPart = 0; in START_TEST() [all …]
|
H A D | CcCopyWrite_user.c | 14 LARGE_INTEGER ByteOffset; in START_TEST() local 34 ByteOffset.QuadPart = 0; in START_TEST() 35 Status = NtWriteFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 62, &ByteOffset, NULL); in START_TEST() 47 ByteOffset.QuadPart = 0; in START_TEST() 48 Status = NtWriteFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 512, &ByteOffset, NULL); in START_TEST() 60 ByteOffset.QuadPart = 0; in START_TEST() 61 Status = NtWriteFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 1004, &ByteOffset, NULL); in START_TEST() 73 ByteOffset.QuadPart = 0; in START_TEST() 74 Status = NtWriteFile(Handle, NULL, NULL, NULL, &IoStatusBlock, Buffer, 4097, &ByteOffset, NULL); in START_TEST() 86 ByteOffset.QuadPart = 4097; in START_TEST() [all …]
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | write.c | 251 LARGE_INTEGER ByteOffset; in Ext2WriteVolume() local 290 ByteOffset = IoStackLocation->Parameters.Write.ByteOffset; in Ext2WriteVolume() 322 if (ByteOffset.QuadPart >= in Ext2WriteVolume() 392 &ByteOffset, in Ext2WriteVolume() 423 &ByteOffset, in Ext2WriteVolume() 474 DirtyLba = ByteOffset.QuadPart; in Ext2WriteVolume() 776 LARGE_INTEGER ByteOffset; in Ext2WriteFile() local 822 ByteOffset = IoStackLocation->Parameters.Write.ByteOffset; in Ext2WriteFile() 853 ByteOffset.HighPart == -1) { in Ext2WriteFile() 986 &ByteOffset, in Ext2WriteFile() [all …]
|
H A D | read.c | 79 LARGE_INTEGER ByteOffset; in Ext2ReadVolume() local 117 ByteOffset = IoStackLocation->Parameters.Read.ByteOffset; in Ext2ReadVolume() 139 if (ByteOffset.QuadPart >= in Ext2ReadVolume() 189 &ByteOffset, in Ext2ReadVolume() 207 &ByteOffset, in Ext2ReadVolume() 487 LARGE_INTEGER ByteOffset; in Ext2ReadFile() local 522 ByteOffset = IoStackLocation->Parameters.Read.ByteOffset; in Ext2ReadFile() 553 ByteOffset.HighPart == -1) { in Ext2ReadFile() 596 &ByteOffset, in Ext2ReadFile() 682 (&ByteOffset), in Ext2ReadFile() [all …]
|
H A D | debug.c | 308 IoStackLocation->Parameters.Read.ByteOffset.QuadPart, in Ext2DbgPrintCall() 334 IoStackLocation->Parameters.Read.ByteOffset.QuadPart, in Ext2DbgPrintCall() 595 IoStackLocation->Parameters.LockControl.ByteOffset.QuadPart, in Ext2DbgPrintCall() 607 IoStackLocation)->Parameters.LockControl.ByteOffset.QuadPart, in Ext2DbgPrintCall() 622 IoStackLocation->Parameters.LockControl.ByteOffset.QuadPart, in Ext2DbgPrintCall() 632 IoStackLocation)->Parameters.LockControl.ByteOffset.QuadPart, in Ext2DbgPrintCall()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | NtReadFile.c | 48 LARGE_INTEGER ByteOffset; in START_TEST() local 58 ByteOffset.QuadPart = 0; in START_TEST() 93 ByteOffset.QuadPart = 0x10000; in START_TEST() 101 &ByteOffset, in START_TEST() 104 ByteOffset.QuadPart = 0; in START_TEST() 114 &ByteOffset, in START_TEST() 126 &ByteOffset, in START_TEST() 139 &ByteOffset, in START_TEST() 151 &ByteOffset, in START_TEST() 178 ByteOffset.QuadPart = 0x10000; in START_TEST() [all …]
|
H A D | NtWriteFile.c | 66 LARGE_INTEGER ByteOffset; in START_TEST() local 76 ByteOffset.QuadPart = 0; in START_TEST() 119 &ByteOffset, in START_TEST() 131 &ByteOffset, in START_TEST() 144 &ByteOffset, in START_TEST() 156 &ByteOffset, in START_TEST() 191 &ByteOffset, in START_TEST() 202 &ByteOffset, in START_TEST() 266 ByteOffset.QuadPart = 0; in START_TEST() 279 ByteOffset.QuadPart = 4; in START_TEST() [all …]
|
/reactos/drivers/filesystems/udfs/ |
H A D | write.cpp | 118 LARGE_INTEGER ByteOffset; in UDFCommonWrite() local 236 ByteOffset = IrpSp->Parameters.Write.ByteOffset; in UDFCommonWrite() 415 if(ByteOffset.HighPart == (LONG)0xFFFFFFFF) { in UDFCommonWrite() 416 if(ByteOffset.LowPart == FILE_WRITE_TO_END_OF_FILE) { in UDFCommonWrite() 418 ByteOffset = NtReqFcb->CommonFCBHeader.FileSize; in UDFCommonWrite() 421 ByteOffset = FileObject->CurrentByteOffset; in UDFCommonWrite() 619 ZeroBlock = (ByteOffset.QuadPart > OldVDL); in UDFCommonWrite() 763 if(ByteOffset.LowPart & (PAGE_SIZE-1)) { in UDFCommonWrite() 786 ByteOffset.LowPart && in UDFCommonWrite() 787 !(ByteOffset.LowPart & 0x00ffffff)) { in UDFCommonWrite() [all …]
|
H A D | read.cpp | 236 LARGE_INTEGER ByteOffset; in UDFCommonRead() local 342 ByteOffset = IrpSp->Parameters.Read.ByteOffset; in UDFCommonRead() 433 RC = UDFReadData(Vcb, TRUE, ByteOffset.QuadPart, in UDFCommonRead() 438 (ULONG)(ByteOffset.QuadPart >> Vcb->BlockSizeBits), in UDFCommonRead() 455 if(ByteOffset.HighPart == -1) { in UDFCommonRead() 456 if(ByteOffset.LowPart == FILE_USE_FILE_POINTER_POSITION) { in UDFCommonRead() 457 ByteOffset = FileObject->CurrentByteOffset; in UDFCommonRead() 508 if (ByteOffset.QuadPart >= NtReqFcb->CommonFCBHeader.FileSize.QuadPart) { in UDFCommonRead() 514 if( NtReqFcb->CommonFCBHeader.FileSize.QuadPart < (ByteOffset.QuadPart + ReadLength) ) { in UDFCommonRead() 738 RC = UDFReadFile__(Vcb, Fcb->FileInfo, ByteOffset.QuadPart, TruncatedLength, in UDFCommonRead() [all …]
|
/reactos/drivers/filesystems/vfatfs/ |
H A D | rw.c | 553 LARGE_INTEGER ByteOffset; in VfatCommonRead() local 563 ByteOffset = IrpContext->Stack->Parameters.Read.ByteOffset; in VfatCommonRead() 603 &ByteOffset, in VfatCommonRead() 715 LARGE_INTEGER ByteOffset; in VfatRead() local 757 ByteOffset = IrpContext->Stack->Parameters.Read.ByteOffset; in VfatRead() 770 if (ByteOffset.u.HighPart && !IsVolume) in VfatRead() 879 LARGE_INTEGER ByteOffset; in VfatWrite() local 933 ByteOffset = IrpContext->Stack->Parameters.Write.ByteOffset; in VfatWrite() 935 ByteOffset.u.HighPart == -1) in VfatWrite() 942 if (ByteOffset.u.HighPart && !IsVolume) in VfatWrite() [all …]
|
/reactos/sdk/lib/rtl/ |
H A D | bootdata.c | 104 LARGE_INTEGER ByteOffset; in RtlCreateBootStatusDataFile() local 138 ByteOffset.QuadPart = 0; in RtlCreateBootStatusDataFile() 146 &ByteOffset, in RtlCreateBootStatusDataFile() 171 LARGE_INTEGER ByteOffset; in RtlGetSetBootStatusData() local 187 ByteOffset.HighPart = 0; in RtlGetSetBootStatusData() 188 ByteOffset.LowPart = BsdItemTable[DataClass].Offset; in RtlGetSetBootStatusData() 199 &ByteOffset, in RtlGetSetBootStatusData() 211 &ByteOffset, in RtlGetSetBootStatusData()
|
/reactos/drivers/filesystems/npfs/ |
H A D | datasup.c | 40 DataQueue->ByteOffset = 0; in NpInitializeDataQueue() 52 ULONG QuotaLeft, ByteOffset, DataLeft, NewQuotaLeft; in NpCompleteStalledWrites() local 58 ByteOffset = DataQueue->ByteOffset; in NpCompleteStalledWrites() 97 ByteOffset = 0; in NpCompleteStalledWrites() 168 DataQueue->ByteOffset = 0; in NpRemoveDataQueueEntry() 234 DataQueue->ByteOffset = 0; in NpCancelDataQueueIrp() 303 IN ULONG ByteOffset) in NpAddDataQueueEntry() argument 368 QuotaInEntry = DataSize - ByteOffset; in NpAddDataQueueEntry() 457 if (ByteOffset) in NpAddDataQueueEntry() 459 DataQueue->ByteOffset = ByteOffset; in NpAddDataQueueEntry() [all …]
|
H A D | readsup.c | 76 Offset -= DataQueue->ByteOffset; in NpReadDataQueue() 103 DataQueue->ByteOffset += DataLength; in NpReadDataQueue()
|
/reactos/drivers/filesystems/fastfat/ |
H A D | dirsup.c | 234 ULONG ByteOffset; in _Requires_lock_held_() local 303 ByteOffset = UnusedVbo; in _Requires_lock_held_() 315 ByteOffset = in _Requires_lock_held_() 338 if (ByteOffset != -1) { in _Requires_lock_held_() 545 return ByteOffset; in _Requires_lock_held_() 1085 OUT PVBO ByteOffset, in _Requires_lock_held_() 1727 OUT PVBO ByteOffset in _Requires_lock_held_() 1805 OUT PVBO ByteOffset in _Requires_lock_held_() 1860 *ByteOffset = 0; in _Requires_lock_held_() 1896 *ByteOffset = 0; in _Requires_lock_held_() [all …]
|
H A D | volinfo.c | 1027 ULONG ByteOffset; in FatSetFsLabelInfo() local 1179 (PVBO)&ByteOffset ); in FatSetFsLabelInfo() 1189 ByteOffset = FatCreateNewDirent( IrpContext, in FatSetFsLabelInfo() 1196 ByteOffset, in FatSetFsLabelInfo() 1256 (PVBO)&ByteOffset ); in FatSetFsLabelInfo() 1275 ByteOffset / sizeof(DIRENT), in FatSetFsLabelInfo() 1279 ByteOffset / sizeof(DIRENT), in FatSetFsLabelInfo()
|
/reactos/drivers/filesystems/ntfs/ |
H A D | rw.c | 238 ReadOffset = Stack->Parameters.Read.ByteOffset; in NtfsRead() 541 LARGE_INTEGER ByteOffset; in NtfsWrite() local 582 ByteOffset = IrpContext->Stack->Parameters.Write.ByteOffset; in NtfsWrite() 583 if (ByteOffset.u.LowPart == FILE_WRITE_TO_END_OF_FILE && in NtfsWrite() 584 ByteOffset.u.HighPart == -1) in NtfsWrite() 586 ByteOffset.QuadPart = Fcb->RFCB.FileSize.QuadPart; in NtfsWrite() 589 DPRINT("ByteOffset: %I64u\tLength: %lu\tBytes per sector: %lu\n", ByteOffset.QuadPart, in NtfsWrite() 592 if (ByteOffset.u.HighPart && !(Fcb->Flags & FCB_IS_VOLUME)) in NtfsWrite() 604 if (ByteOffset.u.LowPart % BytesPerSector != 0 || Length % BytesPerSector != 0) in NtfsWrite() 693 ByteOffset.LowPart, in NtfsWrite() [all …]
|
/reactos/sdk/lib/drivers/hidparser/ |
H A D | api.c | 422 ASSERT(ReportItem->ByteOffset < ReportDescriptorLength); in HidParser_GetUsagesWithReport() 428 Data = ReportDescriptor[ReportItem->ByteOffset + 1]; in HidParser_GetUsagesWithReport() 612 ASSERT(ReportItem->ByteOffset < ReportDescriptorLength); in HidParser_GetUsageValueWithReport() 618 …ta, &ReportDescriptor[ReportItem->ByteOffset + 1], min(sizeof(ULONG), ReportDescriptorLength - (Re… in HidParser_GetUsageValueWithReport() 708 ASSERT(ReportItem->ByteOffset < ReportDescriptorLength); in HidParser_GetScaledUsageValueWithReport() 714 …ta, &ReportDescriptor[ReportItem->ByteOffset + 1], min(sizeof(ULONG), ReportDescriptorLength - (Re… in HidParser_GetScaledUsageValueWithReport()
|
/reactos/sdk/include/ndk/ |
H A D | iofuncs.h | 265 _In_ PLARGE_INTEGER ByteOffset, 458 _In_opt_ PLARGE_INTEGER ByteOffset, 473 _In_ PLARGE_INTEGER ByteOffset, 590 _In_ PLARGE_INTEGER ByteOffset, 607 _In_opt_ PLARGE_INTEGER ByteOffset, 622 _In_ PLARGE_INTEGER ByteOffset, 785 _In_ PLARGE_INTEGER ByteOffset, 941 _In_opt_ PLARGE_INTEGER ByteOffset, 956 _In_ PLARGE_INTEGER ByteOffset, 1041 _In_ PLARGE_INTEGER ByteOffset, [all …]
|
/reactos/ntoskrnl/io/iomgr/ |
H A D | iofunc.c | 1769 IN PLARGE_INTEGER ByteOffset, in NtLockFile() argument 2758 if (ByteOffset) in NtReadFile() 2798 if (ByteOffset) in NtReadFile() 2825 if (ByteOffset) CapturedByteOffset = *ByteOffset; in NtReadFile() 2871 if (!(ByteOffset) || in NtReadFile() 2939 else if (!(ByteOffset) && in NtReadFile() 3815 if (ByteOffset) in NtWriteFile() 3855 if (ByteOffset) in NtWriteFile() 3888 if (ByteOffset) CapturedByteOffset = *ByteOffset; in NtWriteFile() 3944 if (!(ByteOffset) || in NtWriteFile() [all …]
|
H A D | iomdl.c | 112 SourceMdl->ByteOffset; in IoBuildPartialMdl() 121 TargetMdl->ByteOffset = BYTE_OFFSET(VirtualAddress); in IoBuildPartialMdl()
|
H A D | bootlog.c | 231 LARGE_INTEGER ByteOffset; in IopCreateLogFile() local 264 ByteOffset.QuadPart = (LONGLONG)0; in IopCreateLogFile() 274 &ByteOffset, in IopCreateLogFile()
|
/reactos/sdk/include/ddk/ |
H A D | mrx.h | 173 _In_ PLARGE_INTEGER ByteOffset, 258 RXVBO ByteOffset; member 292 RXVBO ByteOffset; member 305 RXVBO ByteOffset; member
|
/reactos/hal/halx86/generic/ |
H A D | dma.c | 1841 ULONG ByteOffset; in HalpCopyBufferMap() local 1860 ByteOffset = BYTE_OFFSET(CurrentAddress); in HalpCopyBufferMap() 1861 CurrentLength = PAGE_SIZE - ByteOffset; in HalpCopyBufferMap() 1866 RtlCopyMemory((PVOID)((ULONG_PTR)MapRegisterBase->VirtualAddress + ByteOffset), in HalpCopyBufferMap() 2040 ULONG ByteOffset; in IoMapTransfer() local 2065 ByteOffset = BYTE_OFFSET(CurrentVa); in IoMapTransfer() 2071 PhysicalAddress.QuadPart += ByteOffset; in IoMapTransfer() 2073 TransferLength = PAGE_SIZE - ByteOffset; in IoMapTransfer() 2132 PhysicalAddress.QuadPart += ByteOffset; in IoMapTransfer() 2146 RealMapRegisterBase->Counter += BYTES_TO_PAGES(ByteOffset + TransferLength); in IoMapTransfer() [all …]
|
/reactos/ntoskrnl/mm/ARM3/ |
H A D | mdlsup.c | 454 Mdl->MappedSystemVa = (PVOID)((ULONG_PTR)Base + Mdl->ByteOffset); in MmBuildMdlForNonPagedPool() 583 Base = (PVOID)((ULONG_PTR)Mdl->StartVa + Mdl->ByteOffset); in MmFreePagesFromMdl() 683 Base = (PVOID)((ULONG_PTR)Mdl->StartVa + Mdl->ByteOffset); in MmMapLockedPagesSpecifyCache() 736 Base = (PVOID)((ULONG_PTR)MiPteToAddress(PointerPte) + Mdl->ByteOffset); in MmMapLockedPagesSpecifyCache() 858 Base = (PVOID)((ULONG_PTR)Mdl->StartVa + Mdl->ByteOffset); in MmUnmapLockedPages() 959 ASSERT(((ULONG)Mdl->ByteOffset & ~(PAGE_SIZE - 1)) == 0); in MmProbeAndLockPages() 976 Address = (PVOID)((ULONG_PTR)Base + Mdl->ByteOffset); in MmProbeAndLockPages() 1474 Base = (PVOID)((ULONG_PTR)Mdl->StartVa + Mdl->ByteOffset); in MmUnlockPages() 1741 return (PVOID)((ULONG_PTR)MappingAddress + Mdl->ByteOffset); in MmMapLockedPagesWithReservedMapping() 1765 Base = (PVOID)((ULONG_PTR)Mdl->StartVa + Mdl->ByteOffset); in MmUnmapReservedMapping()
|
/reactos/sdk/lib/drivers/rdbsslib/ |
H A D | rdbss.c | 3194 LARGE_INTEGER ByteOffset; in RxCommonRead() local 3216 ByteOffset.QuadPart = Stack->Parameters.Read.ByteOffset.QuadPart; in RxCommonRead() 3232 ByteOffset, ReadLength, in RxCommonRead() 3500 ByteOffset.QuadPart >= 4096) in RxCommonRead() 3511 LowIoContext->ParamsFor.ReadWrite.ByteOffset = ByteOffset.QuadPart; in RxCommonRead() 3941 LARGE_INTEGER ByteOffset; in RxCommonWrite() local 3982 ByteOffset.QuadPart = Stack->Parameters.Write.ByteOffset.QuadPart; in RxCommonWrite() 3996 ByteOffset, WriteLength, in RxCommonWrite() 4051 WriteToEof = ((ByteOffset.LowPart == FILE_WRITE_TO_END_OF_FILE) && (ByteOffset.HighPart == -1)); in RxCommonWrite() 4465 ByteOffset.QuadPart = FileSize; in RxCommonWrite() [all …]
|