ReactOS 0.4.16-dev-125-g798ea90
|
#include "udf.h"
Go to the source code of this file.
Macros | |
#define | UDF_BUG_CHECK_ID UDF_FILE_UDF_INFO_EXTENT |
#define | UDF_EXT_MAP_MULT 2 |
#define UDF_BUG_CHECK_ID UDF_FILE_UDF_INFO_EXTENT |
Definition at line 20 of file extent.cpp.
#define UDF_EXT_MAP_MULT 2 |
OSSTATUS UDFAllocateFESpace | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | DirInfo, | ||
IN uint32 | PartNum, | ||
IN PEXTENT_INFO | FEExtInfo, | ||
IN uint32 | Len | ||
) |
Definition at line 1563 of file extent.cpp.
Referenced by UDFBuildFileEntry(), and UDFFlushFE().
OSSTATUS UDFBuildAllocDescs | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
IN OUT PUDF_FILE_INFO | FileInfo, | ||
OUT int8 ** | AllocData | ||
) |
Definition at line 2628 of file extent.cpp.
Referenced by UDFFlushFE().
OSSTATUS UDFBuildLongAllocDescs | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
OUT int8 ** | Buff, | ||
IN uint32 | InitSz, | ||
IN OUT PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 1012 of file extent.cpp.
Referenced by UDFBuildAllocDescs().
OSSTATUS UDFBuildShortAllocDescs | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
OUT int8 ** | Buff, | ||
IN uint32 | InitSz, | ||
IN OUT PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 825 of file extent.cpp.
Referenced by UDFBuildAllocDescs().
Definition at line 1329 of file extent.cpp.
Referenced by UDFFlushAllCachedAllocations(), UDFFlushFESpace(), and UDFStoreCachedAllocation().
PEXTENT_MAP UDFExtAllocDescToMapping | ( | IN PVCB | Vcb, |
IN PEXT_AD | AllocDesc, | ||
IN uint32 | AllocDescLength, | ||
IN uint32 | SubCallCount, | ||
OUT PEXTENT_INFO | AllocLoc | ||
) |
Definition at line 595 of file extent.cpp.
Referenced by UDFExtAllocDescToMapping(), and UDFReadMappingFromXEntry().
uint32 UDFExtentOffsetToLba | ( | IN PVCB | Vcb, |
IN PEXTENT_MAP | Extent, | ||
IN int64 | Offset, | ||
OUT uint32 * | SectorOffset, | ||
OUT PSIZE_T | AvailLength, | ||
OUT uint32 * | Flags, | ||
OUT uint32 * | Index | ||
) |
Definition at line 28 of file extent.cpp.
Referenced by UDFBuildLongAllocDescs(), UDFBuildShortAllocDescs(), UDFFlushFI(), UDFIndexDirectory(), UDFIsExtentCached(), UDFMarkAllocatedAsNotXXX(), UDFMarkAllocatedAsRecorded(), UDFMarkNotAllocatedAsAllocated(), UDFPackDirectory__(), UDFPadLastSector(), UDFReadExtent(), UDFReadExtentLocation(), UDFResizeExtent(), UDFReTagDirectory(), UDFWriteExtent(), and UDFZeroExtent().
PEXTENT_MAP __fastcall UDFExtentToMapping_ | ( | IN PEXTENT_AD | Extent | ) |
Definition at line 189 of file extent.cpp.
Referenced by UDFAllocFreeExtent_().
Definition at line 1508 of file extent.cpp.
Referenced by UDFEjectReqWaiter(), and UDFUmount__().
Definition at line 1776 of file extent.cpp.
Referenced by UDFCleanUpFile__(), UDFCloseFile__(), UDFFlushFile__(), and UDFUnlinkFile__().
void UDFFreeFESpace | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | DirInfo, | ||
IN PEXTENT_INFO | FEExtInfo | ||
) |
Definition at line 1725 of file extent.cpp.
Referenced by UDFBuildFileEntry(), UDFCreateFile__(), UDFFreeFileAllocation(), UDFHardLinkFile__(), and UDFRenameMoveFile__().
void UDFFreeFileAllocation | ( | IN PVCB | Vcb, |
IN PUDF_FILE_INFO | DirInfo, | ||
IN PUDF_FILE_INFO | FileInfo | ||
) |
Definition at line 2696 of file extent.cpp.
Referenced by UDFUnlinkFile__().
OSSTATUS UDFGetCachedAllocation | ( | IN PVCB | Vcb, |
IN uint32 | ParentLocation, | ||
OUT PEXTENT_INFO | Ext, | ||
OUT uint32 * | Items, | ||
IN uint32 | AllocClass | ||
) |
Definition at line 1417 of file extent.cpp.
Referenced by UDFAllocateFESpace(), and UDFResizeExtent().
int64 UDFGetExtentLength | ( | IN PEXTENT_MAP | Extent | ) |
Definition at line 142 of file extent.cpp.
Referenced by UDFAllocFreeExtent_(), UDFBuildLongAllocDescs(), UDFBuildShortAllocDescs(), UDFFlushFE(), UDFLoadExtInfo(), UDFMarkAllocatedAsRecorded(), UDFPackMapping(), UDFRecordDirectory__(), UDFResizeExtent(), UDFResizeFile__(), UDFUnPackMapping(), UDFUpdateNonAllocated(), and UDFWriteFile__().
uint32 UDFGetMappingLength | ( | IN PEXTENT_MAP | Extent | ) |
Definition at line 223 of file extent.cpp.
Referenced by UDFMarkAllocatedAsNotXXX(), UDFMarkAllocatedAsRecorded(), UDFMarkNotAllocatedAsAllocated(), UDFMergeMappings(), UDFPackMapping(), UDFRecordVAT(), and UDFResizeExtent().
Definition at line 3163 of file extent.cpp.
OSSTATUS UDFInitAllocationCache | ( | IN PVCB | Vcb, |
IN uint32 | AllocClass, | ||
OUT PUDF_ALLOCATION_CACHE_ITEM * | _AllocCache, | ||
OUT uint32 * | _lim, | ||
IN BOOLEAN | Init | ||
) |
Definition at line 1361 of file extent.cpp.
Referenced by UDFFlushAllCachedAllocations(), UDFGetCachedAllocation(), and UDFStoreCachedAllocation().
BOOLEAN UDFIsExtentCached | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo, | ||
IN int64 | Offset, | ||
IN uint32 | Length, | ||
IN BOOLEAN | ForWrite | ||
) |
Definition at line 2918 of file extent.cpp.
Definition at line 116 of file extent.cpp.
Referenced by UDFUpdateNonAllocated().
PEXTENT_MAP UDFLongAllocDescToMapping | ( | IN PVCB | Vcb, |
IN PLONG_AD | AllocDesc, | ||
IN uint32 | AllocDescLength, | ||
IN uint32 | SubCallCount, | ||
OUT PEXTENT_INFO | AllocLoc | ||
) |
Definition at line 457 of file extent.cpp.
Referenced by UDFLongAllocDescToMapping(), and UDFReadMappingFromXEntry().
OSSTATUS UDFMarkAllocatedAsNotXXX | ( | IN PVCB | Vcb, |
IN int64 | Offset, | ||
IN uint32 | Length, | ||
IN PEXTENT_INFO | ExtInfo, | ||
IN BOOLEAN | Deallocate | ||
) |
Definition at line 2094 of file extent.cpp.
OSSTATUS UDFMarkAllocatedAsRecorded | ( | IN PVCB | Vcb, |
IN int64 | Offset, | ||
IN uint32 | Length, | ||
IN PEXTENT_INFO | ExtInfo | ||
) |
Definition at line 1814 of file extent.cpp.
Referenced by UDFWriteExtent().
OSSTATUS UDFMarkNotAllocatedAsAllocated | ( | IN PVCB | Vcb, |
IN int64 | Offset, | ||
IN uint32 | Length, | ||
IN PEXTENT_INFO | ExtInfo | ||
) |
Definition at line 1948 of file extent.cpp.
Referenced by UDFWriteExtent().
PEXTENT_MAP __fastcall UDFMergeMappings | ( | IN PEXTENT_MAP | Extent, |
IN PEXTENT_MAP | Extent2 | ||
) |
Definition at line 266 of file extent.cpp.
Referenced by UDFAllocFreeExtent_(), UDFBuildFreeSpaceBitmap(), UDFExtAllocDescToMapping(), UDFLongAllocDescToMapping(), UDFRelocateSectors(), UDFResizeExtent(), UDFShortAllocDescToMapping(), UDFUpdateNonAllocated(), and UDFVerifyFreeSpaceBitmap().
uint32 UDFNextExtentToLba | ( | IN PVCB | Vcb, |
IN PEXTENT_MAP | Extent, | ||
OUT PSIZE_T | AvailLength, | ||
OUT uint32 * | Flags, | ||
OUT uint32 * | Index | ||
) |
Definition at line 79 of file extent.cpp.
Referenced by UDFIsExtentCached(), UDFReadExtent(), and UDFReadExtentLocation().
void __fastcall UDFPackMapping | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo | ||
) |
Definition at line 2747 of file extent.cpp.
Referenced by UDFMarkAllocatedAsRecorded(), UDFRecordVAT(), UDFResizeExtent(), and UDFUpdateNonAllocated().
OSSTATUS UDFReadExtent | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo, | ||
IN int64 | Offset, | ||
IN SIZE_T | Length, | ||
IN BOOLEAN | Direct, | ||
OUT int8 * | Buffer, | ||
OUT PSIZE_T | ReadBytes | ||
) |
Definition at line 3021 of file extent.cpp.
Referenced by UDFConvertFEToNonInICB(), UDFCreateFile__(), UDFExtAllocDescToMapping(), UDFIndexDirectory(), UDFLongAllocDescToMapping(), UDFOpenFile__(), UDFPrepareXSpaceBitmap(), UDFReadFile__(), UDFResizeFile__(), UDFShortAllocDescToMapping(), and UDFWriteFile__().
OSSTATUS UDFReadExtentLocation | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo, | ||
IN int64 | Offset, | ||
OUT PEXTENT_MAP * | _SubExtInfo, | ||
IN OUT uint32 * | _SubExtInfoSz, | ||
OUT int64 * | _NextOffset | ||
) |
Definition at line 3083 of file extent.cpp.
Referenced by UDFReadFileLocation__().
PEXTENT_MAP UDFReadMappingFromXEntry | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
IN tag * | XEntry, | ||
IN OUT uint32 * | Offset, | ||
OUT PEXTENT_INFO | AllocLoc | ||
) |
Definition at line 735 of file extent.cpp.
Referenced by UDFLoadExtInfo().
OSSTATUS UDFRelocateExtent | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo, | ||
IN uint32 | ExtBlock, | ||
IN uint32 | Lba, | ||
IN uint32 | BC | ||
) |
Definition at line 2903 of file extent.cpp.
OSSTATUS UDFResizeExtent | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
IN int64 | Length, | ||
IN BOOLEAN | AlwaysInIcb, | ||
OUT PEXTENT_INFO | ExtInfo | ||
) |
Definition at line 2235 of file extent.cpp.
Referenced by UDFBuildLongAllocDescs(), UDFBuildShortAllocDescs(), UDFCloseFile__(), UDFConvertFEToNonInICB(), UDFFlushFile__(), UDFResizeExtent(), UDFResizeFile__(), and UDFWriteFile__().
PEXTENT_MAP UDFShortAllocDescToMapping | ( | IN PVCB | Vcb, |
IN uint32 | PartNum, | ||
IN PSHORT_AD | AllocDesc, | ||
IN uint32 | AllocDescLength, | ||
IN uint32 | SubCallCount, | ||
OUT PEXTENT_INFO | AllocLoc | ||
) |
SubCallCount &&
SubCallCount &&
Definition at line 294 of file extent.cpp.
Referenced by UDFReadMappingFromXEntry(), and UDFShortAllocDescToMapping().
OSSTATUS UDFStoreCachedAllocation | ( | IN PVCB | Vcb, |
IN uint32 | ParentLocation, | ||
IN PEXTENT_INFO | Ext, | ||
IN uint32 | Items, | ||
IN uint32 | AllocClass | ||
) |
Definition at line 1457 of file extent.cpp.
Referenced by UDFFlushFESpace(), and UDFResizeExtent().
OSSTATUS __fastcall UDFUnPackMapping | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo | ||
) |
Definition at line 2860 of file extent.cpp.
Referenced by UDFAllocateFESpace(), and UDFRecordVAT().
OSSTATUS UDFWriteExtent | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo, | ||
IN int64 | Offset, | ||
IN SIZE_T | Length, | ||
IN BOOLEAN | Direct, | ||
IN int8 * | Buffer, | ||
OUT PSIZE_T | WrittenBytes | ||
) |
Definition at line 3186 of file extent.cpp.
Referenced by UDFConvertFEToNonInICB(), UDFFlushFE(), UDFResizeFile__(), UDFUpdateXSpaceBitmaps(), and UDFWriteFile__().
OSSTATUS UDFZeroExtent | ( | IN PVCB | Vcb, |
IN PEXTENT_INFO | ExtInfo, | ||
IN int64 | Offset, | ||
IN SIZE_T | Length, | ||
IN BOOLEAN | Deallocate, | ||
IN BOOLEAN | Direct, | ||
OUT PSIZE_T | WrittenBytes | ||
) |
Definition at line 3337 of file extent.cpp.