Home
last modified time | relevance | path

Searched refs:DirContext (Results 1 – 15 of 15) sorted by relevance

/reactos/drivers/filesystems/vfatfs/
H A Ddirentry.c331 DirContext->StartIndex = DirContext->DirIndex; in FATGetNextDirEntry()
347 DirContext->StartIndex = DirContext->DirIndex + 1; in FATGetNextDirEntry()
426 DirContext->DirIndex++; in FATGetNextDirEntry()
461 DirContext->LongNameU.Buffer[DirContext->LongNameU.MaximumLength / sizeof(WCHAR) - 1] in FATGetNextDirEntry()
466 vfat8Dot3ToString(&DirContext->DirEntry.Fat, &DirContext->ShortNameU); in FATGetNextDirEntry()
470 RtlCopyUnicodeString(&DirContext->LongNameU, &DirContext->ShortNameU); in FATGetNextDirEntry()
501 DirContext->ShortNameU = DirContext->LongNameU; in FATXGetNextDirEntry()
511 DirContext->ShortNameU = DirContext->LongNameU; in FATXGetNextDirEntry()
556 DirContext->StartIndex = DirContext->DirIndex; in FATXGetNextDirEntry()
572 DirContext->DirIndex++; in FATXGetNextDirEntry()
[all …]
H A Ddir.c91 PVFAT_DIRENTRY_CONTEXT DirContext, in VfatGetFileNamesInformation() argument
135 PVFAT_DIRENTRY_CONTEXT DirContext, in VfatGetFileDirectoryInformation() argument
252 PVFAT_DIRENTRY_CONTEXT DirContext, in VfatGetFileFullDirectoryInformation() argument
348 PVFAT_DIRENTRY_CONTEXT DirContext, in VfatGetFileBothInformation() argument
487 VFAT_DIRENTRY_CONTEXT DirContext; in DoQuery() local
586 DirContext.DirIndex = pCcb->Entry = 0; in DoQuery()
590 DirContext.DirIndex = pCcb->Entry; in DoQuery()
595 DirContext.DeviceExt = IrpContext->DeviceExt; in DoQuery()
607 &DirContext, in DoQuery()
609 pCcb->Entry = DirContext.DirIndex; in DoQuery()
[all …]
H A Ddirwr.c551 RtlUpcaseUnicodeString(&DirContext.ShortNameU, &DirContext.LongNameU, FALSE); in FATAddEntry()
609 DirContext.DirEntry.Fat.UpdateDate = DirContext.DirEntry.Fat.CreationDate; in FATAddEntry()
610 DirContext.DirEntry.Fat.UpdateTime = DirContext.DirEntry.Fat.CreationTime; in FATAddEntry()
611 DirContext.DirEntry.Fat.AccessDate = DirContext.DirEntry.Fat.CreationDate; in FATAddEntry()
654 DirContext.DirIndex = DirContext.StartIndex + nbSlots - 1; in FATAddEntry()
705 if (DirContext.StartIndex / i == DirContext.DirIndex / i) in FATAddEntry()
863 Index = DirContext.DirIndex = DirContext.StartIndex; in FATXAddEntry()
905 DirContext.DirEntry.FatX.UpdateDate = DirContext.DirEntry.FatX.CreationDate; in FATXAddEntry()
906 DirContext.DirEntry.FatX.UpdateTime = DirContext.DirEntry.FatX.CreationTime; in FATXAddEntry()
907 DirContext.DirEntry.FatX.AccessDate = DirContext.DirEntry.FatX.CreationDate; in FATXAddEntry()
[all …]
H A Dfcb.c432 PVFAT_DIRENTRY_CONTEXT DirContext) in vfatInitFCBFromDirEntry() argument
482 ASSERT(DirContext->DirIndex >= 2 && DirContext->StartIndex >= 2); in vfatInitFCBFromDirEntry()
735 … Status = vfatMakeFullName(directoryFCB, &DirContext->LongNameU, &DirContext->ShortNameU, &NameU); in vfatMakeFCBFromDirEntry()
800 VFAT_DIRENTRY_CONTEXT DirContext; in vfatDirFindFile() local
817 DirContext.DirIndex = 0; in vfatDirFindFile()
819 DirContext.LongNameU.Length = 0; in vfatDirFindFile()
822 DirContext.ShortNameU.Length = 0; in vfatDirFindFile()
832 &DirContext, in vfatDirFindFile()
845 DirContext.DirIndex, &DirContext.LongNameU); in vfatDirFindFile()
870 &DirContext, in vfatDirFindFile()
[all …]
H A Dcreate.c87 PVFAT_DIRENTRY_CONTEXT DirContext, in FindFile() argument
117 DirContext->LongNameU.Length = 0; in FindFile()
118 DirContext->ShortNameU.Length = 0; in FindFile()
141 if(startIndex >= DirContext->DirIndex) in FindFile()
149 &DirContext->LongNameU, DirContext->DirIndex, DirContext->StartIndex); in FindFile()
182 DirContext->DirIndex++; in FindFile()
185 if (DirContext->LongNameU.Length == 0 || in FindFile()
186 DirContext->ShortNameU.Length == 0) in FindFile()
194 DirContext->DirIndex++; in FindFile()
229 &DirContext->LongNameU, DirContext->DirIndex); in FindFile()
[all …]
H A Dvfat.h401 struct _VFAT_DIRENTRY_CONTEXT* DirContext, in VfatGetNextDirEntry() argument
404 return DeviceExt->Dispatch.GetNextDirEntry(pContext, pPage, pDirFcb, DirContext, First); in VfatGetNextDirEntry()
749 PVFAT_DIRENTRY_CONTEXT DirContext,
986 PVFAT_DIRENTRY_CONTEXT DirContext,
1079 PVFAT_DIRENTRY_CONTEXT DirContext,
/reactos/drivers/filesystems/cdfs/
H A Ddirsup.c98 _In_ PDIRENT_ENUM_CONTEXT DirContext
129 _Out_ PDIRENT_ENUM_CONTEXT DirContext in CdLookupDirent() argument
170 BaseOffset = DirContext->BaseOffset; in CdLookupDirent()
172 DirContext->DataLength = SECTOR_SIZE; in CdLookupDirent()
191 DirContext->DataLength, in CdLookupDirent()
193 &DirContext->Bcb, in CdLookupDirent()
194 &DirContext->Sector ); in CdLookupDirent()
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()
[all …]
H A Dcachesup.c74 DIRENT_ENUM_CONTEXT DirContext = {0}; in CdCreateInternalStream() local
184 CdInitializeDirContext( IrpContext, &DirContext ); in CdCreateInternalStream()
196 &DirContext ); in CdCreateInternalStream()
198 CdUpdateDirentFromRawDirent( IrpContext, Fcb, &DirContext, &Dirent ); in CdCreateInternalStream()
271 CdCleanupDirContext( IrpContext, &DirContext ); in CdCreateInternalStream()
292 CdCleanupDirContext( IrpContext, &DirContext ); in CdCreateInternalStream()
H A Dallocsup.c145 DIRENT_ENUM_CONTEXT DirContext = {0}; in _Requires_lock_held_() local
218 CdInitializeDirContext( IrpContext, &DirContext ); in _Requires_lock_held_()
248 &DirContext ); in _Requires_lock_held_()
260 CdUpdateDirentFromRawDirent( IrpContext, ParentFcb, &DirContext, &Dirent ); in _Requires_lock_held_()
291 if (!CdLookupNextDirent( IrpContext, ParentFcb, &DirContext, &DirContext )) { in _Requires_lock_held_()
323 CdCleanupDirContext( IrpContext, &DirContext ); in _Requires_lock_held_()
H A Dfileinfo.c1274 DIRENT_ENUM_CONTEXT DirContext = {0}; in _Requires_lock_held_() local
1369 CdInitializeDirContext( IrpContext, &DirContext ); in _Requires_lock_held_()
1377 &DirContext ); in _Requires_lock_held_()
1381 &DirContext, in _Requires_lock_held_()
1430 CdCleanupDirContext( IrpContext, &DirContext ); in _Requires_lock_held_()
H A Dcdprocs.h409 _Out_ PDIRENT_ENUM_CONTEXT DirContext
425 _In_ PDIRENT_ENUM_CONTEXT DirContext,
555 &(FC)->InitialDirent->DirContext ); \
558 &(FC)->InitialDirent->DirContext, \
H A Dstrucsup.c1362 &CurrentCompoundDirent->DirContext, in CdInitializeFcbFromFileContext()
1363 &FileContext->CurrentDirent->DirContext )) { in CdInitializeFcbFromFileContext()
1372 &CurrentCompoundDirent->DirContext, in CdInitializeFcbFromFileContext()
H A Dcdstruc.h1683 DIRENT_ENUM_CONTEXT DirContext; member
H A Dfieldoff.c302 doit( COMPOUND_DIRENT, DirContext );
/reactos/base/setup/lib/
H A Dinstall.c78 INFCONTEXT DirContext; in GetSourceFileAndTargetLocation() local
131 Success = SpInfFindFirstLine(InfHandle, L"SourceDisksNames", SourceRootDirId, &DirContext); in GetSourceFileAndTargetLocation()
144 if (!INF_GetDataField(&DirContext, 4, &SourceRootDir)) in GetSourceFileAndTargetLocation()
196 Success = LookupDirectoryById(InfHandle, &DirContext, TargetDirId, &TargetDir); in GetSourceFileAndTargetLocation()
296 INFCONTEXT DirContext; in AddSectionToCopyQueueCab() local
335 Success = LookupDirectoryById(InfFile, &DirContext, TargetDirId, &TargetDir); in AddSectionToCopyQueueCab()
511 INFCONTEXT DirContext; in PrepareCopyInfFile() local
615 if (!SpInfFindFirstLine(InfFile, L"Directories", NULL, &DirContext)) in PrepareCopyInfFile()
618 if (!SpInfFindFirstLine(InfFile, L"WinntDirectories", NULL, &DirContext)) in PrepareCopyInfFile()
634 if (!INF_GetData(&DirContext, NULL, &DirKeyValue)) in PrepareCopyInfFile()
[all …]