ReactOS 0.4.16-dev-336-gb667d82
_DIR_INDEX_ITEM Struct Reference

#include <udf_rel.h>

Collaboration diagram for _DIR_INDEX_ITEM:

Public Attributes

uint32 Offset
 
uint32 Length
 
UNICODE_STRING FName
 
lb_addr FileEntryLoc
 
uint8 FileCharacteristics
 
uint8 FI_Flags
 
struct _UDF_FILE_INFOFileInfo
 
HASH_ENTRY hashes
 
uint32 SysAttr
 
int64 CreationTime
 
int64 LastWriteTime
 
int64 LastAccessTime
 
int64 ChangeTime
 
int64 FileSize
 
int64 AllocationSize
 

Detailed Description

This is an entry of file list. Each directory has such a list for fast search & modification. This structure was introduced because on-disk equivalents have variable sizes & record formats.

Definition at line 155 of file udf_rel.h.

Member Data Documentation

◆ AllocationSize

int64 _DIR_INDEX_ITEM::AllocationSize

Definition at line 214 of file udf_rel.h.

Referenced by UDFSetFileSizeInDirNdx().

◆ ChangeTime

int64 _DIR_INDEX_ITEM::ChangeTime

Definition at line 212 of file udf_rel.h.

Referenced by UDFGetBasicInformation(), and UDFSetFileXTime().

◆ CreationTime

int64 _DIR_INDEX_ITEM::CreationTime

Definition at line 209 of file udf_rel.h.

Referenced by UDFGetBasicInformation(), and UDFSetFileXTime().

◆ FI_Flags

uint8 _DIR_INDEX_ITEM::FI_Flags

Set of flags. This is intended for internal use. Valid flags:

  • UDF_FI_FLAG_FI_MODIFIED
    Presence of this bit means that given FileIdent was modified & should be flushed.
  • UDF_FI_FLAG_SYS_ATTR
    Presence of this bit means that given entry of file list contains valid file attributes & times in NT-specific format.
  • UDF_FI_FLAG_FI_INTERNAL
    Presence of this bit means that given entry represents the file used for internal FS purposes & must be invisible.
  • UDF_FI_FLAG_LINKED
    Presence of this bit means that related FileEntry has more than one FileIdent. It happends when we use HardLinks.

Definition at line 199 of file udf_rel.h.

Referenced by UDFBlankMount(), UDFCleanUpFile__(), UDFCloseFile__(), UDFCompleteMount(), UDFCreateFile__(), UDFFindFile(), UDFFindNextMatch(), UDFFlushFE(), UDFFlushFI(), UDFFlushFile__(), UDFGetFileStreamInformation(), UDFHardLinkFile__(), UDFIndexDirectory(), UDFIsDirInfoCached(), UDFOpenFile__(), UDFPackDirectory__(), UDFPretendFileDeleted__(), UDFRenameMoveFile__(), UDFResizeFile__(), UDFReTagDirectory(), and UDFUnlinkFile__().

◆ FileCharacteristics

◆ FileEntryLoc

lb_addr _DIR_INDEX_ITEM::FileEntryLoc

Specifies on-disk location of FileEntry associated with the given file. This value should be used for unopened files.

Definition at line 178 of file udf_rel.h.

Referenced by UDFCompareFileInfo(), UDFCreateFile__(), UDFFlushFE(), UDFHardLinkFile__(), UDFIndexDirectory(), and UDFRenameMoveFile__().

◆ FileInfo

struct _UDF_FILE_INFO* _DIR_INDEX_ITEM::FileInfo

◆ FileSize

int64 _DIR_INDEX_ITEM::FileSize

Definition at line 213 of file udf_rel.h.

Referenced by UDFGetFileSizeFromDirNdx(), and UDFSetFileSizeInDirNdx().

◆ FName

◆ hashes

HASH_ENTRY _DIR_INDEX_ITEM::hashes

◆ LastAccessTime

int64 _DIR_INDEX_ITEM::LastAccessTime

Definition at line 211 of file udf_rel.h.

Referenced by UDFGetBasicInformation(), and UDFSetFileXTime().

◆ LastWriteTime

int64 _DIR_INDEX_ITEM::LastWriteTime

Definition at line 210 of file udf_rel.h.

Referenced by UDFGetBasicInformation(), and UDFSetFileXTime().

◆ Length

uint32 _DIR_INDEX_ITEM::Length

Specifies on-disk size of FileIdent. 0 value of this field means that given entry has no on-disk representation (ex. - pointer to the directory itself). In this case Offset value must be also 0.

Definition at line 168 of file udf_rel.h.

Referenced by UDFCreateFile__(), UDFIndexDirectory(), UDFIsDirEmpty(), UDFOpenFile__(), UDFPackDirectory__(), and UDFReTagDirectory().

◆ Offset

uint32 _DIR_INDEX_ITEM::Offset

Specifies the position of corresponding FileIdent inside the directory (on-disk).

Definition at line 161 of file udf_rel.h.

Referenced by UDFCreateFile__(), UDFFlushFI(), UDFIndexDirectory(), UDFOpenFile__(), UDFPackDirectory__(), and UDFReTagDirectory().

◆ SysAttr

uint32 _DIR_INDEX_ITEM::SysAttr

Definition at line 208 of file udf_rel.h.

Referenced by UDFBlankMount().


The documentation for this struct was generated from the following file: