ReactOS 0.4.16-dev-257-g6aa11ac
|
#include "udf.h"
Go to the source code of this file.
Macros | |
#define | UDF_BUG_CHECK_ID UDF_FILE_UDF_INFO |
#define | DOS_CRC_MODULUS 41 |
#define | hexChar crcChar |
#define | DOS_CRC_LEN 4 |
#define | DOS_CRC_MODULUS 41 |
#define | lba WrittenBytes |
Variables | |
static const char | valid_char_arr [] = {"*/:?\"<>|\\"} |
static const char | crcChar [] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ#_~-@" |
static const uint16 | CrcTable [256] |
static const uint32 | crc32_tab [] |
#define DOS_CRC_LEN 4 |
#define DOS_CRC_MODULUS 41 |
Definition at line 44 of file udf_info.cpp.
#define DOS_CRC_MODULUS 41 |
Definition at line 44 of file udf_info.cpp.
Definition at line 45 of file udf_info.cpp.
#define lba WrittenBytes |
#define UDF_BUG_CHECK_ID UDF_FILE_UDF_INFO |
Definition at line 19 of file udf_info.cpp.
Definition at line 4290 of file udf_info.cpp.
Definition at line 1445 of file udf_info.cpp.
Referenced by UDFHardLinkFile__(), and UDFSetFileUID().
OSSTATUS UDFBuildFileEntry | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | DirInfo, | ||
IN PUDF_FILE_INFO | FileInfo, | ||
IN uint32 | PartNum, | ||
IN uint16 | AllocMode, | ||
IN uint32 | ExtAttrSz, | ||
IN BOOLEAN | Extended | ||
) |
Definition at line 971 of file udf_info.cpp.
Referenced by UDFCreateFile__(), and UDFCreateRootFile__().
OSSTATUS UDFBuildFileIdent | ( | IN PVCB | Vcb, |
IN PUNICODE_STRING | fn, | ||
IN PLONG_AD | FileEntryIcb, | ||
IN uint32 | ImpUseLen, | ||
OUT PFILE_IDENT_DESC * | _FileId, | ||
OUT uint32 * | FileIdLen | ||
) |
Definition at line 1107 of file udf_info.cpp.
Referenced by UDFCreateFile__(), and UDFRecordDirectory__().
Definition at line 1520 of file udf_info.cpp.
Referenced by UDFUnlinkFile__().
void UDFChangeFileLinkCount | ( | IN PUDF_FILE_INFO | FileInfo, |
IN BOOLEAN | Increase | ||
) |
Definition at line 1315 of file udf_info.cpp.
uint32 UDFCleanUpFile__ | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 2276 of file udf_info.cpp.
Referenced by UDFBlankMount(), UDFCleanUpFcbChain(), UDFCloseResidual(), UDFCommonCreate(), UDFCompareVcb(), UDFCompleteMount(), UDFCreateFile__(), UDFCreateStreamDir__(), UDFHardLinkFile__(), UDFLoadVAT(), UDFMarkStreamsForDeletion(), UDFReadSecurity(), UDFRenameMoveFile__(), UDFUnlinkAllFilesInDir(), UDFUnlinkFile__(), and UDFWriteSecurity().
OSSTATUS UDFCloseFile__ | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 2994 of file udf_info.cpp.
Referenced by UDFCleanUpFcbChain(), UDFCloseFileInfoChain(), UDFCloseResidual(), UDFCommonCreate(), UDFCompareVcb(), UDFCompleteMount(), UDFCreateFile__(), UDFCreateStreamDir__(), UDFHardLinkFile__(), UDFLoadVAT(), UDFMarkStreamsForDeletion(), UDFReadSecurity(), UDFRename(), UDFRenameMoveFile__(), UDFSetEOF(), UDFUnlinkAllFilesInDir(), UDFUnlinkFile__(), and UDFWriteSecurity().
BOOLEAN UDFCompareFileInfo | ( | IN PUDF_FILE_INFO | f1, |
IN PUDF_FILE_INFO | f2 | ||
) |
Definition at line 4218 of file udf_info.cpp.
Referenced by UDFCompareVcb().
void __fastcall UDFCompressUnicode | ( | IN PUNICODE_STRING | UName, |
IN OUT uint8 ** | _CS0, | ||
IN OUT PSIZE_T | Length | ||
) |
Definition at line 240 of file udf_info.cpp.
Referenced by UDFBuildFileIdent(), UDFRenameMoveFile__(), and UDFSetDstring().
OSSTATUS UDFConvertFEToExtended | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 5458 of file udf_info.cpp.
Referenced by UDFCreateStreamDir__().
Definition at line 5358 of file udf_info.cpp.
Referenced by UDFSetFileAllocModeFromICB().
Definition at line 4527 of file udf_info.cpp.
Referenced by UDFDecompressUnicode(), UDFReadTagged(), and UDFSetUpTag().
OSSTATUS UDFCreateFile__ | ( | IN PVCB | Vcb, |
IN BOOLEAN | IgnoreCase, | ||
IN PUNICODE_STRING | _fn, | ||
IN uint32 | ExtAttrSz, | ||
IN uint32 | ImpUseLen, | ||
IN BOOLEAN | Extended, | ||
IN BOOLEAN | CreateNew, | ||
IN OUT PUDF_FILE_INFO | DirInfo, | ||
OUT PUDF_FILE_INFO * | _FileInfo | ||
) |
Definition at line 2577 of file udf_info.cpp.
Referenced by UDFCommonCreate(), UDFHardLinkFile__(), UDFRenameMoveFile__(), and UDFWriteSecurity().
OSSTATUS UDFCreateRootFile__ | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
IN uint32 | ExtAttrSz, | ||
IN uint32 | ImpUseLen, | ||
IN BOOLEAN | Extended, | ||
OUT PUDF_FILE_INFO * | _FileInfo | ||
) |
Definition at line 4827 of file udf_info.cpp.
Referenced by UDFCreateStreamDir__().
OSSTATUS UDFCreateStreamDir__ | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | FileInfo, | ||
OUT PUDF_FILE_INFO * | _SDirInfo | ||
) |
Definition at line 4888 of file udf_info.cpp.
Referenced by UDFCommonCreate(), and UDFWriteSecurity().
void __fastcall UDFDecompressUnicode | ( | IN OUT PUNICODE_STRING | UName, |
IN uint8 * | CS0, | ||
IN SIZE_T | Length, | ||
OUT uint16 * | valueCRC | ||
) |
Definition at line 170 of file udf_info.cpp.
Referenced by UDFGetDstring(), and UDFIndexDirectory().
void __fastcall UDFDOSName | ( | IN PVCB | Vcb, |
IN OUT PUNICODE_STRING | DosName, | ||
IN PUNICODE_STRING | UdfName, | ||
IN BOOLEAN | KeepIntact | ||
) |
Definition at line 427 of file udf_info.cpp.
Referenced by UDFBuildHashEntry(), UDFFileDirInfoToNT(), UDFFindFile(), and UDFIsNameInExpression().
void __fastcall UDFDOSName100 | ( | IN OUT PUNICODE_STRING | DosName, |
IN PUNICODE_STRING | UdfName, | ||
IN BOOLEAN | KeepIntact | ||
) |
Definition at line 465 of file udf_info.cpp.
Referenced by UDFDOSName().
void __fastcall UDFDOSName200 | ( | IN OUT PUNICODE_STRING | DosName, |
IN PUNICODE_STRING | UdfName, | ||
IN BOOLEAN | KeepIntact, | ||
IN BOOLEAN | Mode150 | ||
) |
Definition at line 582 of file udf_info.cpp.
Referenced by UDFDOSName().
void __fastcall UDFDOSName201 | ( | IN OUT PUNICODE_STRING | DosName, |
IN PUNICODE_STRING | UdfName, | ||
IN BOOLEAN | KeepIntact | ||
) |
Definition at line 700 of file udf_info.cpp.
Referenced by UDFDOSName().
Definition at line 3864 of file udf_info.cpp.
Referenced by UDFCloseFile__(), UDFCreateFile__(), and UDFFlushFile__().
Definition at line 4051 of file udf_info.cpp.
Referenced by UDFCloseFile__(), UDFCreateFile__(), UDFFlushFile__(), and UDFRenameMoveFile__().
Definition at line 4119 of file udf_info.cpp.
Referenced by UDFCleanUpFcbChain(), UDFCommonCleanup(), UDFCommonCreate(), UDFFlushADirectory(), UDFFlushAFile(), UDFRecordVAT(), UDFRenameMoveFile__(), UDFUnlinkAllFilesInDir(), UDFUnlinkFile__(), UDFUpdateNonAllocated(), and UDFWriteSecurity().
uint32 UDFGetFileEALength | ( | IN PUDF_FILE_INFO | FileInfo | ) |
Definition at line 1420 of file udf_info.cpp.
Referenced by UDFHardLinkFile__(), and UDFRenameMoveFile__().
uint16 UDFGetFileLinkCount | ( | IN PUDF_FILE_INFO | FileInfo | ) |
Definition at line 1355 of file udf_info.cpp.
Referenced by UDFCleanUpFile__(), UDFCloseFile__(), UDFCommonCleanup(), UDFFileDirInfoToNT(), UDFGetStandardInformation(), UDFHardLinkFile__(), UDFMarkStreamsForDeletion(), UDFOpenFile__(), UDFPrepareForRenameMoveLink(), UDFRenameMoveFile__(), UDFSetDispositionInformation(), UDFSetEOF(), and UDFUnlinkFile__().
int64 UDFGetFileSize | ( | IN PUDF_FILE_INFO | FileInfo | ) |
Definition at line 1236 of file udf_info.cpp.
Referenced by UDFCloseFile__(), UDFCompleteMount(), UDFFlushFE(), UDFFlushFile__(), UDFGetNetworkInformation(), UDFGetStandardInformation(), UDFLoadVAT(), UDFReadSecurity(), UDFRecordDirectory__(), UDFRecordVAT(), UDFResizeFile__(), and UDFWriteFile__().
int64 UDFGetFileSizeFromDirNdx | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 1256 of file udf_info.cpp.
Referenced by UDFSetEOF().
int64 UDFGetFileUID | ( | IN PUDF_FILE_INFO | FileInfo | ) |
Definition at line 1509 of file udf_info.cpp.
Definition at line 1491 of file udf_info.cpp.
Referenced by UDFGetFileUID().
OSSTATUS UDFHardLinkFile__ | ( | IN PVCB | Vcb, |
IN BOOLEAN | IgnoreCase, | ||
IN OUT BOOLEAN * | Replace, | ||
IN PUNICODE_STRING | fn, | ||
IN OUT PUDF_FILE_INFO | DirInfo1, | ||
IN OUT PUDF_FILE_INFO | DirInfo2, | ||
IN OUT PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 4672 of file udf_info.cpp.
Referenced by UDFHardLink().
BOOLEAN UDFIsDirEmpty | ( | IN PDIR_INDEX_HDR | hCurDirNdx | ) |
Definition at line 3844 of file udf_info.cpp.
Referenced by UDFUnlinkFile__().
BOOLEAN __fastcall UDFIsIllegalChar | ( | IN WCHAR | chr | ) |
Definition at line 370 of file udf_info.cpp.
Referenced by UDFDOSName100(), UDFDOSName200(), and UDFDOSName201().
OSSTATUS UDFLoadExtInfo | ( | IN PVCB | Vcb, |
IN PFILE_ENTRY | fe, | ||
IN PLONG_AD | fe_loc, | ||
IN OUT PEXTENT_INFO | FExtInfo, | ||
IN OUT PEXTENT_INFO | AExtInfo | ||
) |
Definition at line 1062 of file udf_info.cpp.
Referenced by UDFOpenFile__(), and UDFOpenRootFile__().
Definition at line 3602 of file udf_info.cpp.
Referenced by UDFLoadPartDesc().
OSSTATUS UDFOpenFile__ | ( | IN PVCB | Vcb, |
IN BOOLEAN | IgnoreCase, | ||
IN BOOLEAN | NotDeleted, | ||
IN PUNICODE_STRING | fn, | ||
IN PUDF_FILE_INFO | DirInfo, | ||
OUT PUDF_FILE_INFO * | _FileInfo, | ||
IN uint_di * | IndexToOpen | ||
) |
Definition at line 2004 of file udf_info.cpp.
Referenced by UDFCommonCreate(), UDFCompleteMount(), UDFCreateFile__(), UDFHardLinkFile__(), UDFMarkStreamsForDeletion(), UDFReadSecurity(), UDFRenameMoveFile__(), UDFUnlinkAllFilesInDir(), and UDFWriteSecurity().
Definition at line 2187 of file udf_info.cpp.
Referenced by UDFCompareVcb(), UDFCompleteMount(), UDFLoadVAT(), and UDFOpenStreamDir__().
OSSTATUS UDFOpenStreamDir__ | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | FileInfo, | ||
OUT PUDF_FILE_INFO * | _SDirInfo | ||
) |
Definition at line 4965 of file udf_info.cpp.
Referenced by UDFCommonCreate(), UDFMarkStreamsForDeletion(), UDFReadSecurity(), UDFUnlinkFile__(), and UDFWriteSecurity().
OSSTATUS UDFPadLastSector | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo | ||
) |
Definition at line 2962 of file udf_info.cpp.