Home
last modified time | relevance | path

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

/reactos/drivers/filesystems/ntfs/
H A Dcreate.c688 PFILE_RECORD_HEADER FileRecord; in NtfsCreateDirectory() local
706 if (!FileRecord) in NtfsCreateDirectory()
716 NextAttribute = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->AttributeOffset); in NtfsCreateDirectory()
827 if (!FileRecord) in NtfsCreateEmptyFileRecord()
846 FileRecord->AttributeOffset = FileRecord->Ntfs.UsaOffset + (2 * FileRecord->Ntfs.UsaCount); in NtfsCreateEmptyFileRecord()
847 FileRecord->AttributeOffset = ALIGN_UP_BY(FileRecord->AttributeOffset, ATTR_RECORD_ALIGNMENT); in NtfsCreateEmptyFileRecord()
849 FileRecord->BytesInUse = FileRecord->AttributeOffset + sizeof(ULONG) * 2; in NtfsCreateEmptyFileRecord()
852 NextAttribute = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->AttributeOffset); in NtfsCreateEmptyFileRecord()
858 return FileRecord; in NtfsCreateEmptyFileRecord()
906 if (!FileRecord) in NtfsCreateFileRecord()
[all …]
H A Ddirctl.c39 PFILE_RECORD_HEADER FileRecord, in NtfsGetFileSize() argument
68 PFILE_RECORD_HEADER FileRecord, in NtfsGetNamesInformation() argument
89 FileName = GetBestFileNameFromRecord(DeviceExt, FileRecord); in NtfsGetNamesInformation()
93 NtfsDumpFileAttributes(DeviceExt, FileRecord); in NtfsGetNamesInformation()
125 PFILE_RECORD_HEADER FileRecord, in NtfsGetDirectoryInformation() argument
151 NtfsDumpFileAttributes(DeviceExt, FileRecord); in NtfsGetDirectoryInformation()
198 PFILE_RECORD_HEADER FileRecord, in NtfsGetFullDirectoryInformation() argument
224 NtfsDumpFileAttributes(DeviceExt, FileRecord); in NtfsGetFullDirectoryInformation()
298 NtfsDumpFileAttributes(DeviceExt, FileRecord); in NtfsGetBothDirectoryInformation()
376 PFILE_RECORD_HEADER FileRecord; in NtfsQueryDirectory() local
[all …]
H A Drw.c53 PFILE_RECORD_HEADER FileRecord; in NtfsReadFile() local
90 if (FileRecord == NULL) in NtfsReadFile()
96 Status = ReadFileRecord(DeviceExt, Fcb->MFTIndex, FileRecord); in NtfsReadFile()
100 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in NtfsReadFile()
132 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in NtfsReadFile()
141 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in NtfsReadFile()
190 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in NtfsReadFile()
322 PFILE_RECORD_HEADER FileRecord; in NtfsWriteFile() local
366 if (FileRecord == NULL) in NtfsWriteFile()
374 Status = ReadFileRecord(DeviceExt, Fcb->MFTIndex, FileRecord); in NtfsWriteFile()
[all …]
H A Dattrib.c73 PFILE_RECORD_HEADER FileRecord, in AddBitmap() argument
160 AddData(PFILE_RECORD_HEADER FileRecord, in AddData() argument
230 AddFileName(PFILE_RECORD_HEADER FileRecord, in AddFileName() argument
265 if(FileRecord->Flags & FRH_DIRECTORY) in AddFileName()
338 FileRecord->LinkCount++; in AddFileName()
389 PFILE_RECORD_HEADER FileRecord, in AddIndexAllocation() argument
496 PFILE_RECORD_HEADER FileRecord, in AddIndexRoot() argument
602 PFILE_RECORD_HEADER FileRecord, in AddRun() argument
1060 PFILE_RECORD_HEADER FileRecord, in FreeClusters() argument
1395 Context->FirstAttr = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->AttributeOffset); in FindFirstAttribute()
[all …]
H A Dfinfo.c235 PFILE_RECORD_HEADER FileRecord; in NtfsGetStreamInformation() local
242 if (FileRecord == NULL) in NtfsGetStreamInformation()
248 Status = ReadFileRecord(DeviceExt, Fcb->MFTIndex, FileRecord); in NtfsGetStreamInformation()
252 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in NtfsGetStreamInformation()
290 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in NtfsGetStreamInformation()
571 PFILE_RECORD_HEADER FileRecord; in NtfsSetEndOfFile() local
583 if (FileRecord == NULL) in NtfsSetEndOfFile()
591 Status = ReadFileRecord(DeviceExt, Fcb->MFTIndex, FileRecord); in NtfsSetEndOfFile()
620 FileRecord, in NtfsSetEndOfFile()
663 FileNameAttribute = GetBestFileNameFromRecord(Fcb->Vcb, FileRecord); in NtfsSetEndOfFile()
[all …]
H A Dntfs.h586 PFILE_RECORD_HEADER FileRecord,
592 AddData(PFILE_RECORD_HEADER FileRecord,
599 PFILE_RECORD_HEADER FileRecord,
612 PFILE_RECORD_HEADER FileRecord,
620 AddFileName(PFILE_RECORD_HEADER FileRecord,
705 PFILE_RECORD_HEADER FileRecord,
829 PFILE_RECORD_HEADER FileRecord,
881 PFILE_RECORD_HEADER FileRecord,
1031 AddNewMftEntry(PFILE_RECORD_HEADER FileRecord,
1059 PFILE_RECORD_HEADER FileRecord);
[all …]
H A Dmft.c629 FileRecord, in SetAttributeDataLength()
720 FileRecord->BytesInUse = (ULONG_PTR)AttrEnd - (ULONG_PTR)FileRecord + sizeof(ULONG) * 2; in SetFileRecordEnd()
1360 if (FileRecord == NULL) in WriteAttribute()
1363 if (!FileRecord) in WriteAttribute()
1941 AddFixupArray(Vcb, &FileRecord->Ntfs); in UpdateFileRecord()
1950 FileRecord); in UpdateFileRecord()
2121 FileRecord->MFTRecordNumber = MftIndex; in AddNewMftEntry()
3244 FileRecord, in NtfsLookupFileAt()
3267 if (*FileRecord == NULL) in NtfsLookupFileAt()
3369 FileRecord, in NtfsFindFileAt()
[all …]
H A Dfcb.c524 PFILE_RECORD_HEADER FileRecord; in NtfsDirFindFile() local
580 if ((FileRecord->Flags & FRH_DIRECTORY) && Colon != 0) in NtfsDirFindFile()
582 ExFreeToNPagedLookasideList(&Vcb->FileRecLookasideList, FileRecord); in NtfsDirFindFile()
596 ExFreeToNPagedLookasideList(&Vcb->FileRecLookasideList, FileRecord); in NtfsDirFindFile()
743 PFILE_RECORD_HEADER FileRecord; in NtfsReadFCBAttribute() local
748 if (FileRecord == NULL) in NtfsReadFCBAttribute()
753 Status = ReadFileRecord(Vcb, pFCB->MFTIndex, FileRecord); in NtfsReadFCBAttribute()
756 ExFreeToNPagedLookasideList(&Vcb->FileRecLookasideList, FileRecord); in NtfsReadFCBAttribute()
763 ExFreeToNPagedLookasideList(&Vcb->FileRecLookasideList, FileRecord); in NtfsReadFCBAttribute()
772 ExFreeToNPagedLookasideList(&Vcb->FileRecLookasideList, FileRecord); in NtfsReadFCBAttribute()
[all …]
H A Dbtree.c118 PFILE_RECORD_HEADER FileRecord, in AllocateIndexNode() argument
137 FileRecord, in AllocateIndexNode()
148 FileRecord, in AllocateIndexNode()
259 FileRecord); in AllocateIndexNode()
1185 PFILE_RECORD_HEADER FileRecord) in UpdateIndexAllocation() argument
1217 …PNTFS_ATTR_RECORD EndMarker = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->BytesInUse -… in UpdateIndexAllocation()
1222 FileRecord, in UpdateIndexAllocation()
1245 FileRecord, in UpdateIndexAllocation()
1320 PFILE_RECORD_HEADER FileRecord, in UpdateIndexNode() argument
1334 FileRecord, in UpdateIndexNode()
[all …]
H A Dfsctl.c666 PFILE_RECORD_HEADER FileRecord; in GetNtfsFileRecord() local
686 FileRecord = ExAllocateFromNPagedLookasideList(&DeviceExt->FileRecLookasideList); in GetNtfsFileRecord()
687 if (FileRecord == NULL) in GetNtfsFileRecord()
699 Status = ReadFileRecord(DeviceExt, MFTRecord, FileRecord); in GetNtfsFileRecord()
702 if (FileRecord->Flags & FRH_IN_USE) in GetNtfsFileRecord()
715 … RtlCopyMemory(OutputBuffer->FileRecordBuffer, FileRecord, DeviceExt->NtfsInfo.BytesPerFileRecord); in GetNtfsFileRecord()
717 ExFreeToNPagedLookasideList(&DeviceExt->FileRecLookasideList, FileRecord); in GetNtfsFileRecord()
/reactos/modules/rosapps/applications/rosinternals/ntfsinfo/
H A Dntfsinfo.c159 PFILE_RECORD_HEADER FileRecord; in _tmain() local
184 FileRecord = (PFILE_RECORD_HEADER)OutputBuffer->FileRecordBuffer; in _tmain()
185 if (FileRecord->Ntfs.Type != NRH_FILE_TYPE) in _tmain()
191 Attribute = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->AttributeOffset); in _tmain()
192 while (Attribute < (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->BytesInUse) && in _tmain()
/reactos/modules/rosapps/applications/rosinternals/nfi/
H A Dnfi.c510 PFILE_RECORD_HEADER FileRecord; in HandleFile() local
534 FileRecord = (PFILE_RECORD_HEADER)OutputBuffer->FileRecordBuffer; in HandleFile()
535 if (FileRecord->Ntfs.Type != NRH_FILE_TYPE) in HandleFile()
547 Attribute = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->AttributeOffset); in HandleFile()
548 AttributesEnd = (PNTFS_ATTR_RECORD)((ULONG_PTR)FileRecord + FileRecord->BytesInUse); in HandleFile()