Home
last modified time | relevance | path

Searched refs:SectorOffset (Results 1 – 21 of 21) sorted by relevance

/reactos/boot/freeldr/freeldr/arch/i386/
H A Dhwdisk.c38 ULONGLONG SectorOffset; member
76 Information->StartingAddress.QuadPart = Context->SectorOffset * Context->SectorSize; in DiskGetFileInformation()
89 ULONGLONG SectorOffset = 0; in DiskOpen() local
124 SectorOffset = PartitionTableEntry.SectorCountBeforePartition; in DiskOpen()
139 SectorOffset = 0; in DiskOpen()
149 Context->SectorOffset = SectorOffset; in DiskOpen()
163 ULONGLONG SectorOffset; in DiskRead() local
170 SectorOffset = Context->SectorOffset + Context->SectorNumber; in DiskRead()
185 SectorOffset, in DiskRead()
199 SectorOffset += ReadSectors; in DiskRead()
[all …]
/reactos/boot/freeldr/freeldr/arch/uefi/
H A Duefidisk.c24 ULONGLONG SectorOffset; member
131 Information->StartingAddress.QuadPart = Context->SectorOffset * Context->SectorSize; in UefiDiskGetFileInformation()
145 ULONGLONG SectorOffset = 0; in UefiDiskOpen() local
172 SectorOffset = PartitionTableEntry.SectorCountBeforePartition; in UefiDiskOpen()
187 SectorOffset = 0; in UefiDiskOpen()
197 Context->SectorOffset = SectorOffset; in UefiDiskOpen()
211 ULONGLONG SectorOffset; in UefiDiskRead() local
218 SectorOffset = Context->SectorOffset + Context->SectorNumber; in UefiDiskRead()
231 SectorOffset, in UefiDiskRead()
244 SectorOffset += ReadSectors; in UefiDiskRead()
[all …]
/reactos/sdk/lib/fslib/vfatxlib/
H A Dfatx.c106 IN ULONG SectorOffset, in Fatx16WriteFAT() argument
136 FileOffset.QuadPart = (SectorOffset * 512) + sizeof(FATX_BOOT_SECTOR); in Fatx16WriteFAT()
163 FileOffset.QuadPart = (SectorOffset + i) * 512 + sizeof(FATX_BOOT_SECTOR) ; in Fatx16WriteFAT()
196 IN ULONG SectorOffset, in Fatx32WriteFAT() argument
230 FileOffset.QuadPart = (SectorOffset * 512) + sizeof(FATX_BOOT_SECTOR); in Fatx32WriteFAT()
257 FileOffset.QuadPart = (SectorOffset + i) * 512 + sizeof(FATX_BOOT_SECTOR); in Fatx32WriteFAT()
/reactos/drivers/filesystems/cdfs/
H A Ddirsup.c89 Add2Ptr( (DC)->Sector, (DC)->SectorOffset, PRAW_DIRENT )
174 DirContext->SectorOffset = SectorOffset( DirentOffset ); in CdLookupDirent()
294 NextDirContext->SectorOffset = CurrentDirContext->SectorOffset; in CdLookupNextDirent()
319 NextDirContext->SectorOffset += CurrentDirContext->NextDirentOffset; in CdLookupNextDirent()
359 NextDirContext->SectorOffset = 0; in CdLookupNextDirent()
444 Dirent->DirentOffset = DirContext->BaseOffset + DirContext->SectorOffset; in CdUpdateDirentFromRawDirent()
1731 NT_ASSERT( (DirContext->DataLength - DirContext->SectorOffset) >= 1 ); in CdCheckRawDirentBounds()
1753 if ((RawDirent->DirLen > (DirContext->DataLength - DirContext->SectorOffset)) || in CdCheckRawDirentBounds()
1771 if (NextDirentOffset == (DirContext->DataLength - DirContext->SectorOffset)) { in CdCheckRawDirentBounds()
H A Dfsctrl.c2874 ULONG SectorOffset; local
3018 SectorOffset = FIRST_VD_SECTOR;
3042 LlBytesFromSectors( BaseSector + SectorOffset ),
3113 Vcb->VdSectorOffset = SectorOffset;
3114 Vcb->PrimaryVdSectorOffset = SectorOffset;
3125 SectorOffset += 1;
3327 ULONG SectorOffset = FIRST_VD_SECTOR; local
3346 SectorOffset = FIRST_VD_SECTOR;
3356 LlBytesFromSectors( Vcb->BaseSector + SectorOffset ),
3399 Vcb->VdSectorOffset = SectorOffset;
[all …]
H A Dwrite.c208 if (SectorOffset( StartingOffset ) || in _Requires_lock_held_()
209 SectorOffset( WriteByteCount ) || in _Requires_lock_held_()
H A Ddeviosup.c1648 ThisIoRun->TransferBufferOffset = SectorOffset( DiskOffset ); in _Requires_lock_held_()
3826 ULONG SectorOffset; in SafeNodeType() local
3927 SectorOffset = RawDirent->DirLen; in SafeNodeType()
3929 RawDirent = Add2Ptr( RawDirent, SectorOffset, PRAW_DIRENT ); in SafeNodeType()
3954 SectorOffset += RawDirent->DirLen; in SafeNodeType()
3982 SectorOffset = 0; in SafeNodeType()
4023 RawDirent = Add2Ptr( CurrentSector, SectorOffset, PRAW_DIRENT ); in SafeNodeType()
4076 SectorOffset += CdAudioDirentSize; in SafeNodeType()
4085 RtlZeroMemory( Add2Ptr( CurrentSector, SectorOffset, PVOID ), in SafeNodeType()
4086 SECTOR_SIZE - SectorOffset ); in SafeNodeType()
[all …]
H A Dread.c311 if (SectorOffset( StartingOffset ) || in _Requires_lock_held_()
312 SectorOffset( ReadByteCount ) || in _Requires_lock_held_()
H A Dcdstruc.h1560 ULONG SectorOffset; member
H A Dfieldoff.c274 doit( DIRENT_ENUM_CONTEXT, SectorOffset );
H A Dcdprocs.h1622 #define SectorOffset(L) ( \ macro
/reactos/hal/halx86/xbox/
H A Dpart_xbox.c51 IN PLARGE_INTEGER SectorOffset, in HalpXboxReadSector() argument
60 DeviceObject, SectorSize, SectorOffset->u.HighPart, SectorOffset->u.LowPart, Sector); in HalpXboxReadSector()
74 SectorOffset, in HalpXboxReadSector()
/reactos/sdk/lib/fslib/vfatlib/
H A Dfat12.c76 IN ULONG SectorOffset, in Fat12WriteFAT() argument
104 FileOffset.QuadPart = (SectorOffset + BootSector->ReservedSectors) * BootSector->BytesPerSector; in Fat12WriteFAT()
130 …FileOffset.QuadPart = (SectorOffset + BootSector->ReservedSectors + i) * BootSector->BytesPerSecto… in Fat12WriteFAT()
H A Dfat16.c76 IN ULONG SectorOffset, in Fat16WriteFAT() argument
106 FileOffset.QuadPart = (SectorOffset + BootSector->ReservedSectors) * BootSector->BytesPerSector; in Fat16WriteFAT()
132 …FileOffset.QuadPart = (SectorOffset + BootSector->ReservedSectors + i) * BootSector->BytesPerSecto… in Fat16WriteFAT()
H A Dfat32.c224 IN ULONG SectorOffset, in Fat32WriteFAT() argument
264 FileOffset.QuadPart = (SectorOffset + BootSector->ReservedSectors) * BootSector->BytesPerSector; in Fat32WriteFAT()
290 …FileOffset.QuadPart = (SectorOffset + BootSector->ReservedSectors + i) * BootSector->BytesPerSecto… in Fat32WriteFAT()
/reactos/boot/freeldr/freeldr/disk/
H A Dscsiport.c103 ULONGLONG SectorOffset; member
195 Information->StartingAddress.QuadPart = Context->SectorOffset * Context->SectorSize; in DiskGetFileInformation()
196 …Information->EndingAddress.QuadPart = (Context->SectorOffset + Context->SectorCount) * Context->… in DiskGetFileInformation()
212 ULONGLONG SectorOffset = 0; in DiskOpen() local
264 Context->SectorOffset = SectorOffset; in DiskOpen()
294 Lba = (ULONG)(Context->SectorOffset + Context->SectorNumber); in DiskRead()
/reactos/boot/environ/lib/io/
H A Detfs.c101 ULONG SectorOffset; in EtfspGetDirectoryInfo() local
107 SectorOffset = ALIGN_DOWN_BY(*FileOffset, CD_SECTOR_SIZE); in EtfspGetDirectoryInfo()
114 *FileSize += ALIGN_UP_BY(SectorOffset, CD_SECTOR_SIZE) - SectorOffset; in EtfspGetDirectoryInfo()
/reactos/boot/freeldr/freeldr/lib/fs/
H A Dfat.c1158 ULONG SectorOffset, ReadSize, SectorCount; in FatReadPartialCluster() local
1167 SectorOffset = (StartingOffset / Volume->BytesPerSector); in FatReadPartialCluster()
1182 if (FatReadVolumeSectors(Volume, ClusterStartSector + SectorOffset, SectorCount, ReadBuffer)) in FatReadPartialCluster()
/reactos/ntoskrnl/fstub/
H A Ddisksup.c2401 LARGE_INTEGER Offset, NextOffset, ExtendedOffset, SectorOffset; in xHalIoWritePartitionTable() local
2569 SectorOffset.QuadPart = TableEntry-> in xHalIoWritePartitionTable()
2574 StartOffset.QuadPart = SectorOffset.QuadPart >> k; in xHalIoWritePartitionTable()
/reactos/drivers/filesystems/udfs/udf_info/
H A Dextent.cpp32 OUT uint32* SectorOffset, in UDFExtentOffsetToLba() argument
64 if(SectorOffset) in UDFExtentOffsetToLba()
65 (*SectorOffset) = Offs & (Vcb->BlockSize-1);// offset in 1st Lba in UDFExtentOffsetToLba()
H A Dudf_info.h26 OUT uint32* SectorOffset,