Home
last modified time | relevance | path

Searched refs:DirNdx (Results 1 – 12 of 12) sorted by relevance

/reactos/drivers/filesystems/udfs/udf_info/
H A Ddirtree.cpp372 Context->DirNdx--; in UDFDirIndexInitScan()
388 Context->DirNdx++; in UDFDirIndexScan()
399 if(!Context->DirNdx) { in UDFDirIndexScan()
422 return (Context->DirNdx); in UDFDirIndexScan()
513 PDIR_INDEX_ITEM DirNdx; in UDFIndexDirectory() local
626 DirNdx->FI_Flags |= UDFBuildHashEntry(Vcb, &(DirNdx->FName), &(DirNdx->hashes), in UDFIndexDirectory()
668DirNdx->FI_Flags |= UDFBuildHashEntry(Vcb, &(DirNdx->FName), &(DirNdx->hashes), HASH_ALL | HASH_KE… in UDFIndexDirectory()
678DirNdx->FI_Flags |= UDFBuildHashEntry(Vcb, &(DirNdx->FName), &(DirNdx->hashes), HASH_ALL); in UDFIndexDirectory()
864 *DirNdx2 = *DirNdx; in UDFPackDirectory__()
906 PDIR_INDEX_ITEM DirNdx; in UDFReTagDirectory() local
[all …]
H A Dudf_info.cpp1809 if(DirNdx && DirNdx->FName.Buffer) { in UDFUnlinkFile__()
1818 (DirNdx && (DirNdx->FI_Flags & UDF_FI_FLAG_FI_MODIFIED)) )) { in UDFUnlinkFile__()
2500 if(DirNdx && (DirNdx->FileInfo == FileInfo)) in UDFCleanUpFile__()
2503 if(DirNdx && (DirNdx->FileInfo == FileInfo)) in UDFCleanUpFile__()
2528 ASSERT(DirNdx); in UDFCleanUpFile__()
2532 ASSERT(!DirNdx || !(OldFI = DirNdx->FileInfo) || in UDFCleanUpFile__()
2535 ASSERT(!DirNdx || !(OldFI = DirNdx->FileInfo) || in UDFCleanUpFile__()
2539 if( DirNdx && (DirNdx->FileInfo == FileInfo) ) { in UDFCleanUpFile__()
2747 if((DirNdx->Length == l) && UDFIsDeleted(DirNdx) && in UDFCreateFile__()
2776 UDFDirIndex(hDirNdx,i)->Offset = DirNdx->Offset + DirNdx->Length; in UDFCreateFile__()
[all …]
H A Dudf_rel.h443 PDIR_INDEX_ITEM DirNdx; member
H A Dudf_info.h788 #define UDFIsDeleted(DirNdx) \ argument
789 (((DirNdx)->FileCharacteristics & FILE_DELETED) ? TRUE : FALSE)
/reactos/drivers/filesystems/udfs/Include/
H A DSys_spec_lib.cpp443 PDIR_INDEX_ITEM DirNdx; in UDFSetFileXTime() local
455 if(DirNdx && *AccTime) DirNdx->LastAccessTime = *AccTime; in UDFSetFileXTime()
459 if(DirNdx && *AttrTime) DirNdx->ChangeTime = *AttrTime; in UDFSetFileXTime()
463 if(DirNdx && *ChgTime) DirNdx->CreationTime = in UDFSetFileXTime()
468 if(DirNdx && *CrtTime) DirNdx->CreationTime = in UDFSetFileXTime()
477 if(DirNdx && *AccTime) DirNdx->LastAccessTime = *AccTime; in UDFSetFileXTime()
481 if(DirNdx && *AttrTime) DirNdx->ChangeTime = *AttrTime; in UDFSetFileXTime()
485 if(DirNdx && *ChgTime) DirNdx->LastWriteTime = *ChgTime; in UDFSetFileXTime()
489 if(DirNdx && *CrtTime) DirNdx->CreationTime = *CrtTime; in UDFSetFileXTime()
937 PDIR_INDEX_ITEM DirNdx; in UDFIsDirInfoCached() local
[all …]
H A DSys_spec_lib.h69 PDIR_INDEX_ITEM DirNdx; \
72 DirNdx = UDFDirIndex(UDFGetDirIndexByFileInfo(FileInfo), (FileInfo)->Index); \
73 Attr = UDFAttributesToNT(DirNdx, (FileInfo)->Dloc->FileEntry); \
75 UDFAttributesToUDF(DirNdx, (FileInfo)->Dloc->FileEntry, Attr); \
/reactos/drivers/filesystems/udfs/
H A Ddircntrl.cpp255 PDIR_INDEX_ITEM DirNdx; in UDFQueryDirectory() local
634 PDIR_INDEX_ITEM DirNdx; in UDFFindNextMatch() local
640 for(;(DirNdx = UDFDirIndex(hDirIndex, EntryNumber));EntryNumber++) { in UDFFindNextMatch()
641 if(!DirNdx->FName.Buffer || in UDFFindNextMatch()
642 UDFIsDeleted(DirNdx)) in UDFFindNextMatch()
645 (DirNdx->hashes.hLfn != hashes->hLfn) && in UDFFindNextMatch()
646 (DirNdx->hashes.hPosix != hashes->hPosix) && in UDFFindNextMatch()
647 …(!CanBe8dot3 || ((DirNdx->hashes.hDos != hashes->hLfn) && (DirNdx->hashes.hDos != hashes->hPosix))… in UDFFindNextMatch()
652 !(DirNdx->FI_Flags & UDF_FI_FLAG_FI_INTERNAL)) in UDFFindNextMatch()
656 if(DirNdx) { in UDFFindNextMatch()
[all …]
H A Dcleanup.cpp155 PDIR_INDEX_HDR DirNdx; in UDFCommonCleanup() local
247 DirNdx = UDFGetDirIndexByFileInfo(Fcb->FileInfo); in UDFCommonCleanup()
248 if(DirNdx) { in UDFCommonCleanup()
249 CurName.Buffer = UDFDirIndex(DirNdx, Fcb->FileInfo->Index)->FName.Buffer; in UDFCommonCleanup()
561 PDIR_INDEX_ITEM DirNdx; in UDFCommonCleanup()
562 DirNdx = UDFDirIndex(UDFGetDirIndexByFileInfo(NextFileInfo), NextFileInfo->Index); in UDFCommonCleanup()
563 ASSERT(DirNdx); in UDFCommonCleanup()
567 Attr = UDFAttributesToNT(DirNdx, NextFileInfo->Dloc->FileEntry); in UDFCommonCleanup()
569 … UDFAttributesToUDF(DirNdx, NextFileInfo->Dloc->FileEntry, Attr | FILE_ATTRIBUTE_ARCHIVE); in UDFCommonCleanup()
H A Dfileinfo.cpp541 PDIR_INDEX_ITEM DirNdx; in UDFGetBasicInformation() local
566 DirNdx->CreationTime = PtrBuffer->CreationTime.QuadPart; in UDFGetBasicInformation()
569 DirNdx->LastAccessTime = PtrBuffer->LastAccessTime.QuadPart; in UDFGetBasicInformation()
572 DirNdx->LastWriteTime = PtrBuffer->LastWriteTime.QuadPart; in UDFGetBasicInformation()
575 DirNdx->ChangeTime = PtrBuffer->ChangeTime.QuadPart; in UDFGetBasicInformation()
587 PtrBuffer->FileAttributes |= UDFAttributesToNT(DirNdx,NULL); in UDFGetBasicInformation()
875 PDIR_INDEX_ITEM DirNdx; in UDFGetAltNameInformation() local
1180 PDIR_INDEX_ITEM DirNdx; in UDFMarkStreamsForDeletion()
1641 PDIR_INDEX_ITEM DirNdx; in UDFSetEOF() local
2000 PDIR_INDEX_ITEM DirNdx; in UDFRename() local
[all …]
H A Dfscntrl.cpp1222 PDIR_INDEX_ITEM DirNdx; in UDFBlankMount() local
1266 DirNdx = UDFDirIndex(hDirNdx,0); in UDFBlankMount()
1268 DirNdx->FI_Flags = UDF_FI_FLAG_SYS_ATTR; in UDFBlankMount()
1269 DirNdx->SysAttr = FILE_ATTRIBUTE_READONLY; in UDFBlankMount()
1270 RtlInitUnicodeString(&DirNdx->FName, L"."); in UDFBlankMount()
1271 DirNdx->FileInfo = RootFcb->FileInfo; in UDFBlankMount()
1272DirNdx->FI_Flags |= UDFBuildHashEntry(Vcb, &(DirNdx->FName), &(DirNdx->hashes), HASH_ALL | HASH_KE… in UDFBlankMount()
1274 DirNdx = UDFDirIndex(hDirNdx,1); in UDFBlankMount()
1275 DirNdx->FI_Flags = UDF_FI_FLAG_SYS_ATTR; in UDFBlankMount()
1279 DirNdx->SysAttr = FILE_ATTRIBUTE_READONLY; in UDFBlankMount()
[all …]
H A Dflush.cpp374 PDIR_INDEX_ITEM DirNdx; in UDFFlushAFile()
375 DirNdx = UDFDirIndex(UDFGetDirIndexByFileInfo(Fcb->FileInfo), Fcb->FileInfo->Index); in UDFFlushAFile()
377 Attr = UDFAttributesToNT(DirNdx, Fcb->FileInfo->Dloc->FileEntry); in UDFFlushAFile()
379 … UDFAttributesToUDF(DirNdx, Fcb->FileInfo->Dloc->FileEntry, Attr | FILE_ATTRIBUTE_ARCHIVE); in UDFFlushAFile()
H A Dclose.cpp160 PDIR_INDEX_HDR DirNdx; in UDFCommonClose() local
328 DirNdx = UDFGetDirIndexByFileInfo(fi); in UDFCommonClose()
329 if(DirNdx) { in UDFCommonClose()
330 CurName.Buffer = UDFDirIndex(DirNdx,fi->Index)->FName.Buffer; in UDFCommonClose()
878 PDIR_INDEX_ITEM DirNdx; in UDFBuildTreeItemsList() local
882 while((DirNdx = UDFDirIndexScan(&ScanContext, &CurFileInfo))) { in UDFBuildTreeItemsList()