Home
last modified time | relevance | path

Searched refs:FileInfo (Results 1 – 25 of 60) sorted by relevance

123

/reactos/drivers/filesystems/udfs/udf_info/
H A Dudf_info.cpp2038 if((FileInfo = DirNdx->FileInfo)) { in UDFOpenFile__()
2084 FileInfo->PrevLinkedFile = FileInfo; in UDFOpenFile__()
2137 DirNdx->FileInfo = FileInfo; in UDFOpenFile__()
2210 FileInfo->PrevLinkedFile = FileInfo; in UDFOpenRootFile__()
2563 FileInfo->PrevLinkedFile = FileInfo; in UDFCleanUpFile__()
2565 FileInfo->ListPtr->FileInfo = NULL;; in UDFCleanUpFile__()
2699 FileInfo->PrevLinkedFile = FileInfo; in UDFCreateFile__()
2823 DirNdx->FileInfo = FileInfo; in UDFCreateFile__()
3002 if(FileInfo->Index<2 && (FileInfo->ParentFile) && !UDFIsAStreamDir(FileInfo)) { in UDFCloseFile__()
3331 DirNdx2->FileInfo = FileInfo; in UDFRenameMoveFile__()
[all …]
H A Ddirtree.cpp383 PUDF_FILE_INFO FileInfo; in UDFDirIndexScan() local
406 if((FileInfo = Context->DirNdx->FileInfo)) { in UDFDirIndexScan()
419 (*_FileInfo) = FileInfo; in UDFDirIndexScan()
509 IN OUT PUDF_FILE_INFO FileInfo in UDFIndexDirectory() argument
526 ValidateFileInfo(FileInfo); in UDFIndexDirectory()
624 DirNdx->FileInfo = FileInfo; in UDFIndexDirectory()
665 DirNdx->FileInfo = (FileInfo->ParentFile) ? in UDFIndexDirectory()
666 FileInfo->ParentFile : FileInfo; in UDFIndexDirectory()
1093 IN PUDF_FILE_INFO FileInfo in UDFGetDirIndexByFileInfo() argument
1098 if(!FileInfo) { in UDFGetDirIndexByFileInfo()
[all …]
H A Dudf_info.h218 UDFDOSName(Vcb, DosName, UdfName, (FileInfo) && ((FileInfo)->Index < 2));
570 int64 UDFGetFileSize(IN PUDF_FILE_INFO FileInfo);
593 IN PUDF_FILE_INFO FileInfo,
609 int64 UDFGetFileUID(IN PUDF_FILE_INFO FileInfo);
674 ValidateFileInfo(FileInfo); in UDFReadFile__()
692 ValidateFileInfo(FileInfo); in UDFReadFileLocation__()
792 #define UDFIsADirectory(FileInfo) \ argument
793 …(((FileInfo) && ((FileInfo)->Dloc) && ((FileInfo)->Dloc->DirIndex || ((FileInfo)->FileIdent && ((F…
798 …(((FileInfo)->Dloc->DataLoc.Mapping) ? UDFGetExtentLength((FileInfo)->Dloc->DataLoc.Mapping) : Vcb…
803 IN PUDF_FILE_INFO FileInfo,
[all …]
H A Dextent.cpp830 IN OUT PUDF_FILE_INFO FileInfo in UDFBuildShortAllocDescs() argument
855 ValidateFileInfo(FileInfo); in UDFBuildShortAllocDescs()
894 FileInfo->Dloc->AllocLoc.Mapping[0] = FileInfo->Dloc->FELoc.Mapping[0]; in UDFBuildShortAllocDescs()
895 FileInfo->Dloc->AllocLoc.Offset = FileInfo->Dloc->FileEntryLen; in UDFBuildShortAllocDescs()
1017 IN OUT PUDF_FILE_INFO FileInfo in UDFBuildLongAllocDescs() argument
1041 ValidateFileInfo(FileInfo); in UDFBuildLongAllocDescs()
1078 FileInfo->Dloc->AllocLoc.Mapping[0] = FileInfo->Dloc->FELoc.Mapping[0]; in UDFBuildLongAllocDescs()
1079 FileInfo->Dloc->AllocLoc.Offset = FileInfo->Dloc->FileEntryLen; in UDFBuildLongAllocDescs()
2631 IN OUT PUDF_FILE_INFO FileInfo, in UDFBuildAllocDescs() argument
2642 ValidateFileInfo(FileInfo); in UDFBuildAllocDescs()
[all …]
/reactos/drivers/filesystems/udfs/
H A Dfileinfo.cpp555 FileInfo = Fcb->FileInfo; in UDFGetBasicInformation()
557 if(!FileInfo) { in UDFGetBasicInformation()
635 FileInfo = Fcb->FileInfo; in UDFGetStandardInformation()
637 if(!FileInfo) { in UDFGetStandardInformation()
702 FileInfo = Fcb->FileInfo; in UDFGetNetworkInformation()
704 if(!FileInfo) { in UDFGetNetworkInformation()
770 FileInfo = Fcb->FileInfo; in UDFGetInternalInformation()
772 if(!FileInfo) { in UDFGetInternalInformation()
954 FileInfo = Fcb->FileInfo; in UDFGetFileStreamInformation()
955 if(!FileInfo) { in UDFGetFileStreamInformation()
[all …]
H A Dsecursup.cpp438 FileInfo = Fcb->FileInfo; in UDFReadSecurity()
439 ASSERT(FileInfo); in UDFReadSecurity()
440 if(!FileInfo) { in UDFReadSecurity()
722 if(UDFIsAStreamDir(Fcb->FileInfo) || UDFIsAStream(Fcb->FileInfo)) { in UDFAssignAcl()
727 if(!Fcb->FileInfo) { in UDFAssignAcl()
826 FileInfo = Fcb->FileInfo; in UDFWriteSecurity()
827 ASSERT(FileInfo); in UDFWriteSecurity()
828 if(!FileInfo) { in UDFWriteSecurity()
1060 ASSERT(Fcb->FileInfo); in UDFSetAccessRights()
1073 ASSERT(Fcb->FileInfo); in UDFSetAccessRights()
[all …]
H A Dclose.cpp28 IN PUDF_FILE_INFO FileInfo,
38 PUDF_FILE_INFO FileInfo);
42 PUDF_FILE_INFO FileInfo);
322 fi = Fcb->FileInfo; in UDFCommonClose()
856 if(CheckItemProc(FileInfo)) { in UDFBuildTreeItemsList()
896 PUDF_FILE_INFO FileInfo) in UDFIsInDelayedCloseQueue() argument
898 ASSERT(FileInfo); in UDFIsInDelayedCloseQueue()
899 return (FileInfo->Fcb && FileInfo->Fcb->IrpContextLite); in UDFIsInDelayedCloseQueue()
904 PUDF_FILE_INFO FileInfo) in UDFIsLastClose() argument
906 ASSERT(FileInfo); in UDFIsLastClose()
[all …]
H A Dflush.cpp319 if(UDFHasAStreamDir(Fcb->FileInfo) && in UDFFlushAFile()
320 Fcb->FileInfo->Dloc->SDirInfo && in UDFFlushAFile()
321 !UDFIsSDirDeleted(Fcb->FileInfo->Dloc->SDirInfo) ) { in UDFFlushAFile()
323 … UDFFlushADirectory(Fcb->Vcb, Fcb->FileInfo->Dloc->SDirInfo, PtrIoStatus, FlushFlags); in UDFFlushAFile()
351 UDFSetFileXTime(Fcb->FileInfo, NULL, NULL, NULL, &NtTime); in UDFFlushAFile()
358 LONGLONG ASize = UDFGetFileAllocationSize(Fcb->Vcb, Fcb->FileInfo); in UDFFlushAFile()
359 UDFSetFileSizeInDirNdx(Fcb->Vcb, Fcb->FileInfo, &ASize); in UDFFlushAFile()
375 DirNdx = UDFDirIndex(UDFGetDirIndexByFileInfo(Fcb->FileInfo), Fcb->FileInfo->Index); in UDFFlushAFile()
377 Attr = UDFAttributesToNT(DirNdx, Fcb->FileInfo->Dloc->FileEntry); in UDFFlushAFile()
382 UDFFlushFile__( Fcb->Vcb, Fcb->FileInfo, FlushFlags); in UDFFlushAFile()
[all …]
H A Dcleanup.cpp247 DirNdx = UDFGetDirIndexByFileInfo(Fcb->FileInfo); in UDFCommonCleanup()
249 CurName.Buffer = UDFDirIndex(DirNdx, Fcb->FileInfo->Index)->FName.Buffer; in UDFCommonCleanup()
259 if(Fcb->FileInfo->ParentFile) { in UDFCommonCleanup()
303 lc = UDFGetFileLinkCount(Fcb->FileInfo); in UDFCommonCleanup()
317 !UDFIsSDirDeleted(Fcb->FileInfo->Dloc->SDirInfo)) { in UDFCommonCleanup()
325 if(Fcb->FileInfo->ParentFile) { in UDFCommonCleanup()
347 if(Fcb->FileInfo->ParentFile) { in UDFCommonCleanup()
382 NextFileInfo = Fcb->FileInfo; in UDFCommonCleanup()
438 UDFPretendFileDeleted__(Vcb, Fcb->FileInfo); in UDFCommonCleanup()
630 if(Fcb->FileInfo->ParentFile) { in UDFCommonCleanup()
[all …]
H A Dfscntrl.cpp948 if(!RootFcb->FileInfo) { in UDFCompleteMount()
966 RootFcb->FileInfo->Fcb = RootFcb; in UDFCompleteMount()
1246 if(!RootFcb->FileInfo) { in UDFBlankMount()
1258 RootFcb->FileInfo = NULL; in UDFBlankMount()
1263 RootFcb->FileInfo->PrevLinkedFile = RootFcb->FileInfo; in UDFBlankMount()
1271 DirNdx->FileInfo = RootFcb->FileInfo; in UDFBlankMount()
1284 RootFcb->FileInfo->Fcb = RootFcb; in UDFBlankMount()
1318 RootFcb->FileInfo->RefCount = in UDFBlankMount()
2219 PUDF_FILE_INFO FileInfo; in UDFGetRetrievalPointers() local
2297 FileInfo = Fcb->FileInfo; in UDFGetRetrievalPointers()
[all …]
H A Dwrite.cpp261 UDFIsAStream(Fcb->FileInfo)) { in UDFCommonWrite()
262 UDFNotifyFullReportChange( Vcb, Fcb->FileInfo, in UDFCommonWrite()
266 UDFNotifyFullReportChange( Vcb, Fcb->FileInfo, in UDFCommonWrite()
310 UDFCloseAllSystemDelayedInDir(Vcb, Vcb->RootDirFCB->FileInfo); in UDFCommonWrite()
718 if(UDFIsAStream(Fcb->FileInfo)) { in UDFCommonWrite()
719 UDFNotifyFullReportChange( Vcb, Fcb->FileInfo, in UDFCommonWrite()
723 UDFNotifyFullReportChange( Vcb, Fcb->FileInfo, in UDFCommonWrite()
734 if(Fcb && Fcb->FileInfo && Fcb->FileInfo->Dloc) { in UDFCommonWrite()
735 …dPrint(("UDFCommonWrite: DataLoc %x, Mapping %x\n", Fcb->FileInfo->Dloc->DataLoc, Fcb->FileInfo->D… in UDFCommonWrite()
986 ASize = UDFGetFileAllocationSize(Vcb, Fcb->FileInfo); in UDFCommonWrite()
[all …]
H A Dread.cpp354 if(UDFIsAStream(Fcb->FileInfo)) { in UDFCommonRead()
355 UDFNotifyFullReportChange( Vcb, Fcb->FileInfo, in UDFCommonRead()
359 UDFNotifyFullReportChange( Vcb, Fcb->FileInfo, in UDFCommonRead()
389 UDFCloseAllSystemDelayedInDir(Vcb, Vcb->RootDirFCB->FileInfo); in UDFCommonRead()
623 if(Fcb && Fcb->FileInfo && Fcb->FileInfo->Dloc) { in UDFCommonRead()
624 …dPrint(("UDFCommonRead: DataLoc %x, Mapping %x\n", &Fcb->FileInfo->Dloc->DataLoc, Fcb->FileInfo->D… in UDFCommonRead()
711 …if(!CanWait && UDFIsFileCached__(Vcb, Fcb->FileInfo, ByteOffset.QuadPart, TruncatedLength, FALSE))… in UDFCommonRead()
738 RC = UDFReadFile__(Vcb, Fcb->FileInfo, ByteOffset.QuadPart, TruncatedLength, in UDFCommonRead()
/reactos/drivers/filesystems/udfs/Include/
H A DSys_spec_lib.h46 VOID UDFSetFileXTime(IN PUDF_FILE_INFO FileInfo,
52 VOID UDFGetFileXTime(IN PUDF_FILE_INFO FileInfo,
58 #define UDFUpdateAccessTime(Vcb, FileInfo) \ argument
62 UDFSetFileXTime(FileInfo, NULL, &NtTime, NULL, NULL); \
65 #define UDFUpdateModifyTime(Vcb, FileInfo) \ argument
71 UDFSetFileXTime(FileInfo, NULL, &NtTime, NULL, &NtTime); \
72 DirNdx = UDFDirIndex(UDFGetDirIndexByFileInfo(FileInfo), (FileInfo)->Index); \
78 #define UDFUpdateAttrTime(Vcb, FileInfo) \ argument
82 UDFSetFileXTime(FileInfo, NULL, &NtTime, &NtTime, NULL); \
85 #define UDFUpdateCreateTime(Vcb, FileInfo) \ argument
[all …]
H A DSys_spec_lib.cpp100 if(!FileDirNdx->FileInfo) in UDFAttributesToNT()
162 if(!FileDirNdx->FileInfo) in UDFAttributesToUDF()
220 if(FileDirNdx->FileInfo) in UDFAttributesToUDF()
260 if(FileDirNdx->FileInfo) { in UDFFileDirInfoToNT()
448 DirNdx = UDFDirIndex(UDFGetDirIndexByFileInfo(FileInfo), FileInfo->Index); in UDFSetFileXTime()
957 if(!FileInfo->ParentFile) in UDFDoesOSAllowFileToBeTargetForRename__()
960 if(UDFAttributesToNT(UDFDirIndex(UDFGetDirIndexByFileInfo(FileInfo),FileInfo->Index), in UDFDoesOSAllowFileToBeTargetForRename__()
964 if(!FileInfo->Fcb) in UDFDoesOSAllowFileToBeTargetForRename__()
971 if(!FileInfo->Fcb) in UDFDoesOSAllowFileToBeTargetForRename__()
997 ASSERT(FileInfo->Dloc); in UDFDoesOSAllowFileToBeUnlinked__()
[all …]
/reactos/modules/rostests/kmtests/tcpip/
H A Dconnect.c54 PFILE_FULL_EA_INFORMATION FileInfo; in TestTcpConnect() local
68 FileInfo = ExAllocatePoolWithTag(NonPagedPool, in TestTcpConnect()
71 ok(FileInfo != NULL, "FileInfo is NULL!\n"); in TestTcpConnect()
72 RtlZeroMemory(FileInfo, FileInfoSize); in TestTcpConnect()
103 FileInfo, in TestTcpConnect()
107 ExFreePoolWithTag(FileInfo, TAG_TEST); in TestTcpConnect()
111 FileInfo = ExAllocatePoolWithTag(NonPagedPool, in TestTcpConnect()
114 ok(FileInfo != NULL, "FileInfo is NULL!\n"); in TestTcpConnect()
115 RtlZeroMemory(FileInfo, FileInfoSize); in TestTcpConnect()
132 FileInfo, in TestTcpConnect()
[all …]
/reactos/modules/rosapps/applications/fraginator/
H A DDriveVolume.h60 } FileInfo; typedef
63 typedef vector<FileInfo> FileList;
83 typedef bool (*ScanCallback) (FileInfo &Info, HANDLE &FileHandle, void *UserData);
86 extern bool BuildDBCallback (FileInfo &Info, HANDLE &FileHandle, void *UserData);
122 FileInfo &GetDBFile (uint32 Indice);
137 friend bool BuildDBCallback (FileInfo &Info, HANDLE &FileHandle, void *UserData);
145 bool GetClusterInfo (FileInfo &Info, HANDLE &HandleResult);
H A DDriveVolume.cpp327 bool BuildDBCallback (FileInfo &Info, HANDLE &FileHandle, void *UserData) in BuildDBCallback()
357 FileInfo &DriveVolume::GetDBFile (uint32 Indice) in GetDBFile()
371 vector<FileInfo>::iterator it; in RemoveDBFile()
398 FileInfo Info; in ScanDirectory()
495 bool DriveVolume::GetClusterInfo (FileInfo &Info, HANDLE &HandleResult) in GetClusterInfo()
500 BY_HANDLE_FILE_INFORMATION FileInfo; in GetClusterInfo() local
537 ZeroMemory (&FileInfo, sizeof (FileInfo)); in GetClusterInfo()
538 Result = GetFileInformationByHandle (Handle, &FileInfo); in GetClusterInfo()
680 FileInfo Info; in MoveFileDumb()
/reactos/boot/environ/lib/io/
H A Dfile.c535 _Out_ PBL_FILE_INFORMATION FileInfo in BlFileSetInformation() argument
541 if (!FileInfo) in BlFileSetInformation()
566 _In_ PBL_FILE_INFORMATION FileInfo in BlFileGetInformation() argument
572 if (!FileInfo) in BlFileGetInformation()
798 BL_FILE_INFORMATION FileInfo; in BlFileReadAtOffsetEx() local
810 FileOffset = FileInfo.Offset; in BlFileReadAtOffsetEx()
811 FileInfo.Offset = ByteOffset; in BlFileReadAtOffsetEx()
815 Status = FileInformationCheck(&FileInfo, in BlFileReadAtOffsetEx()
828 if (FileInfo.Offset != FileOffset) in BlFileReadAtOffsetEx()
848 if (FileInfo.Offset != FileOffset) in BlFileReadAtOffsetEx()
[all …]
H A Detfs.c62 _Out_ PBL_FILE_INFORMATION FileInfo
68 _In_ PBL_FILE_INFORMATION FileInfo
487 _In_ PBL_FILE_INFORMATION FileInfo in EtfsSetInformation() argument
497 LocalFileInfo = *FileInfo; in EtfsSetInformation()
501 if (!RtlEqualMemory(&LocalFileInfo, &EtfsFile->Size, sizeof(*FileInfo))) in EtfsSetInformation()
509 if (FileInfo->Offset >= EtfsFile->Size) in EtfsSetInformation()
512 EfiPrintf(L"Offset too large: %lx vs %lx\r\n", FileInfo->Offset, EtfsFile->Size); in EtfsSetInformation()
517 EtfsFile->Offset = FileInfo->Offset; in EtfsSetInformation()
524 _Out_ PBL_FILE_INFORMATION FileInfo in EtfsGetInformation() argument
533 RtlCopyMemory(FileInfo, &EtfsFile->Size, sizeof(*FileInfo)); in EtfsGetInformation()
/reactos/modules/rostests/apitests/kernel32/
H A DTunnelCache.c197 WIN32_FIND_DATA FileInfo; in Test_ShortTests() local
240 hFind = FindFirstFile("verylongfilename", &FileInfo); in Test_ShortTests()
243 RtlCopyMemory(ShortName, FileInfo.cAlternateFileName, sizeof(ShortName)); in Test_ShortTests()
246 hFind = FindFirstFile("verylongfilename2", &FileInfo); in Test_ShortTests()
249 ok(strcmp(FileInfo.cAlternateFileName, ShortName) == 0, "strcmp() failed\n"); in Test_ShortTests()
261 hFind = FindFirstFile("verylongfilename2", &FileInfo); in Test_ShortTests()
264 ok(strcmp(FileInfo.cAlternateFileName, ShortName) == 0, "strcmp() failed\n"); in Test_ShortTests()
/reactos/dll/win32/avicap32/
H A Davicap32.c214 VS_FIXEDFILEINFO FileInfo; in capGetDriverDescriptionW() local
228 memmove(&FileInfo, Ms, Ls); in capGetDriverDescriptionW()
230 HIWORD(FileInfo.dwFileVersionMS), in capGetDriverDescriptionW()
231 LOWORD(FileInfo.dwFileVersionMS), in capGetDriverDescriptionW()
232 HIWORD(FileInfo.dwFileVersionLS), in capGetDriverDescriptionW()
233 LOWORD(FileInfo.dwFileVersionLS)); in capGetDriverDescriptionW()
/reactos/boot/freeldr/freeldr/ntldr/
H A Dwlregistry.c54 FILEINFORMATION FileInfo; in WinLdrLoadSystemHive() local
77 Status = ArcGetFileInformation(FileId, &FileInfo); in WinLdrLoadSystemHive()
85 HiveFileSize = FileInfo.EndingAddress.LowPart; in WinLdrLoadSystemHive()
415 FILEINFORMATION FileInfo; in WinLdrLoadNLSData() local
438 Status = ArcGetFileInformation(AnsiFileId, &FileInfo); in WinLdrLoadNLSData()
441 AnsiFileSize = FileInfo.EndingAddress.LowPart; in WinLdrLoadNLSData()
460 Status = ArcGetFileInformation(OemFileId, &FileInfo); in WinLdrLoadNLSData()
463 OemFileSize = FileInfo.EndingAddress.LowPart; in WinLdrLoadNLSData()
477 Status = ArcGetFileInformation(LangFileId, &FileInfo); in WinLdrLoadNLSData()
480 LangFileSize = FileInfo.EndingAddress.LowPart; in WinLdrLoadNLSData()
/reactos/boot/freeldr/freeldr/
H A Dlinuxboot.c98 FILEINFORMATION FileInfo; in LoadAndBootLinux() local
213 Status = ArcGetFileInformation(LinuxKernel, &FileInfo); in LoadAndBootLinux()
214 if (Status != ESUCCESS || FileInfo.EndingAddress.HighPart != 0) in LoadAndBootLinux()
217 LinuxKernelSize = FileInfo.EndingAddress.LowPart - (512 + SetupSectorSize); in LoadAndBootLinux()
223 Status = ArcGetFileInformation(LinuxInitrdFile, &FileInfo); in LoadAndBootLinux()
224 if (Status != ESUCCESS || FileInfo.EndingAddress.HighPart != 0) in LoadAndBootLinux()
227 LinuxInitrdSize = FileInfo.EndingAddress.LowPart; in LoadAndBootLinux()
/reactos/dll/win32/shell32/dialogs/
H A Dfiledefext.cpp38 FILE_STANDARD_INFORMATION FileInfo; in GetPhysicalFileSize() local
68 &FileInfo, in GetPhysicalFileSize()
69 sizeof(FileInfo), in GetPhysicalFileSize()
78 Size->QuadPart = FileInfo.AllocationSize.QuadPart; in GetPhysicalFileSize()
539 WIN32_FIND_DATAW FileInfo; // WIN32_FILE_ATTRIBUTE_DATA in InitFileAttr() local
575 HANDLE hFind = FindFirstFileW(m_wszPath, &FileInfo); in InitFileAttr()
584 if (FileInfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) in InitFileAttr()
586 if (FileInfo.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) in InitFileAttr()
588 if (FileInfo.dwFileAttributes & FILE_ATTRIBUTE_ARCHIVE) in InitFileAttr()
606 FileSize.u.LowPart = FileInfo.nFileSizeLow; in InitFileAttr()
[all …]
/reactos/base/setup/lib/utils/
H A Dbldrsup.c526 FILE_BASIC_INFORMATION FileInfo = {0}; in OpenIniBootLoaderStore() local
546 FileInfo.FileAttributes = FILE_ATTRIBUTE_NORMAL; in OpenIniBootLoaderStore()
552 &FileInfo, sizeof(FileInfo), in OpenIniBootLoaderStore()
793 FILE_BASIC_INFORMATION FileInfo; in ProtectFile() local
799 &FileInfo, in ProtectFile()
800 sizeof(FileInfo), in ProtectFile()
807 OldAttributes = FileInfo.FileAttributes; in ProtectFile()
811FileInfo.FileAttributes = (OldAttributes & ~MaskAttributes) | (*Attributes & MaskAttributes); in ProtectFile()
813 FileInfo.FileAttributes = *Attributes; in ProtectFile()
820 &FileInfo, in ProtectFile()
[all …]

123