#include "UdfProcs.h"
Go to the source code of this file.
Defines | |
#define | BugCheckFileId (UDFS_BUG_CHECK_ALLOCSUP) |
#define | Dbg (UDFS_DEBUG_LEVEL_ALLOCSUP) |
Functions | |
PPCB | UdfCreatePcb (IN ULONG NumberOfPartitions) |
NTSTATUS | UdfLoadSparingTables (PIRP_CONTEXT IrpContext, PVCB Vcb, PPCB Pcb, ULONG Reference) |
BOOLEAN | UdfLookupAllocation (IN PIRP_CONTEXT IrpContext, IN PFCB Fcb, IN LONGLONG FileOffset, OUT PLONGLONG DiskOffset, OUT PULONG ByteCount) |
VOID | UdfDeletePcb (IN PPCB Pcb) |
NTSTATUS | UdfInitializePcb (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN OUT PPCB *Pcb, IN PNSR_LVOL LVD) |
VOID | UdfAddToPcb (IN PPCB Pcb, IN PNSR_PART PartitionDescriptor) |
NTSTATUS | UdfCompletePcb (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN PPCB Pcb) |
BOOLEAN | UdfEquivalentPcb (IN PIRP_CONTEXT IrpContext, IN PPCB Pcb1, IN PPCB Pcb2) |
ULONG | UdfLookupPsnOfExtent (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN USHORT Reference, IN ULONG Lbn, IN ULONG Len) |
ULONG | UdfLookupMetaVsnOfExtent (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN USHORT Reference, IN ULONG Lbn, IN ULONG Len, IN BOOLEAN ExactEnd) |
|
Definition at line 29 of file allocsup.c. |
|
Definition at line 35 of file allocsup.c. |
|
Definition at line 724 of file allocsup.c. References ASSERT, ASSERT_PCB, Dbg, DebugTrace, FALSE, PAGED_CODE, Physical, PNSR_PART, PNSR_VD_GENERIC, UdfStoreVolumeDescriptorIfPrevailing(), USHORT, and Virtual. Referenced by UdfFindVolumeDescriptors().
|
|
Definition at line 804 of file allocsup.c. References ASSERT, ASSERT_IRP_CONTEXT, ASSERT_PCB, ASSERT_VCB, Dbg, DebugTrace, FALSE, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, Physical, Status, UdfFreePool(), UdfLoadSparingTables(), and Virtual. Referenced by UdfMountVolume(), and UdfVerifyVolume().
|
|
Definition at line 1357 of file allocsup.c. References ASSERT, FsRtlAllocatePoolWithTag, _PCB::NodeByteSize, _PCB::NodeTypeCode, PAGED_CODE, _PCB::Partitions, PCB, Size, TAG_PCB, UdfPagedPool, UDFS_NTC_PCB, and USHORT. Referenced by UdfInitializePcb().
|
|
Definition at line 309 of file allocsup.c. References ASSERT, ExFreePool(), FALSE, FsRtlUninitializeLargeMcb(), Physical, PPARTITION, UdfFreePool(), Uninitialized, and Virtual. Referenced by UdfDeleteVcb(), UdfInitializePcb(), UdfMountVolume(), and UdfVerifyVolume().
|
|
Definition at line 923 of file allocsup.c. References ASSERT, ASSERT_IRP_CONTEXT, FALSE, Index, PAGED_CODE, Physical, TRUE, and Virtual. Referenced by UdfVerifyVolume().
|
|
Definition at line 367 of file allocsup.c. References Add2Ptr, ASSERT_OPTIONAL_PCB, Dbg, DebugTrace, FALSE, FlagOn, FsRtlAllocatePoolWithTag, ISONsrLvolSize, _PARTMAP_UDF_GENERIC::Length, NTSTATUS(), NULL, PAGED_CODE, PagedPool, _PARTMAP_UDF_GENERIC::PartID, PARTITION, PARTMAP_PHYSICAL::Partition, _PARTMAP_VIRTUAL::Partition, _PARTMAP_SPARABLE::Partition, _tagPARTITION::PartitionNumber, PARTMAP_SPARABLE, PARTMAP_TYPE_PHYSICAL, PARTMAP_TYPE_PROXY, PCB_FLAG_PHYSICAL_PARTITION, PCB_FLAG_SPARABLE_PARTITION, PCB_FLAG_VIRTUAL_PARTITION, Physical, PNSR_LVOL, PPARTMAP_PHYSICAL, PPARTMAP_SPARABLE, PPARTMAP_UDF_GENERIC, PPARTMAP_VIRTUAL, SetFlag, Status, TAG_NSR_FSD, TRUE, _PARTMAP_UDF_GENERIC::Type, UDF_VERSION_150, UDF_VERSION_RECOGNIZED, UdfCreatePcb(), UdfDeletePcb(), UdfDomainIdentifierContained(), UdfSparablePartitionDomainIdentifier, UdfVirtualPartitionDomainIdentifier, USHORT, Virtual, PARTMAP_PHYSICAL::VolSetSeq, and _PARTMAP_SPARABLE::VolSetSeq. Referenced by UdfFindVolumeDescriptors().
|
|
Definition at line 1406 of file allocsup.c. References Add2Ptr, ASSERT, ASSERT_IRP_CONTEXT, ASSERT_VCB, BytesFromSectors, Dbg, DebugTrace, DebugUnwind, FALSE, FsRtlAddLargeMcbEntry(), FsRtlAllocatePoolWithTag, FsRtlInitializeLargeMcb(), Header, _SPARING_TABLE_ENTRY::Mapped, Min, NTSTATUS(), NULL, _PARTMAP_SPARABLE::NumSparingTables, _SPARING_TABLE_ENTRY::Original, OSCLASS_INVALID, OSIDENTIFIER_INVALID, _PARTMAP_SPARABLE::PacketLength, PAGE_SIZE, PagedPool, _PCB::Partition, PSPARING_TABLE_ENTRY, PSPARING_TABLE_HEADER, SectorsFromBlocks, SectorSize, SPARING_TABLE_ENTRY, SPARING_TABLE_HEADER, _PCB::SparingMcb, Status, _PARTMAP_SPARABLE::TableLocation, _PARTMAP_SPARABLE::TableSize, TAG_NSR_FSD, TAG_SPARING_MCB, _VCB::TargetDeviceObject, TRUE, UDF_SPARING_AVALIABLE, UDF_SPARING_DEFECTIVE, UDF_SPARING_PACKET_LENGTH, UDF_VERSION_150, UDF_VERSION_RECOGNIZED, UdfFreePool(), UdfLoadSparingTables(), UdfReadSectors(), UdfSparingTableIdentifier, UdfUdfIdentifierContained(), UdfVerifyDescriptor(), and VOID(). Referenced by UdfCompletePcb(), and UdfLoadSparingTables().
|
|
Definition at line 69 of file allocsup.c. References ASSERT, ASSERT_FCB, ASSERT_IRP_CONTEXT, BytesFromSectors, Dbg, DebugTrace, FALSE, FCB_STATE_EMBEDDED_DATA, FCB_STATE_MCB_INITIALIZED, FCB_STATE_VMCB_MAPPING, FlagOn, FsRtlLookupLargeMcbEntry(), LlBytesFromSectors, LlSectorsFromBytes, NULL, PAGED_CODE, _VCB::Pcb, PFCB, SectorOffset, SectorsFromBytes, _PCB::SparingMcb, TRUE, UdfMethod2NextRunoutInSectors, UdfMethod2TransformByteOffset, UdfVmcbVbnToLbn(), VCB_STATE_METHOD_2_FIXUP, _VCB::VcbState, and _VCB::Vmcb. Referenced by UdfPrepareBuffers().
|
|
Definition at line 1177 of file allocsup.c. References ASSERT_IRP_CONTEXT, ASSERT_VCB, BlockOffset, BlocksFromBytes, BlocksFromSectors, CcSetFileSizes(), FALSE, LlBytesFromSectors, NULL, PCC_FILE_SIZES, SectorsFromBytes, TRUE, try_leave, UdfAddVmcbMapping(), UdfLockFcb, UdfLookupPsnOfExtent(), UdfRaiseStatus(), UdfRemoveVmcbMapping(), UdfUnlockFcb, and UdfVmcbLbnToVbn(). Referenced by UdfInitializeAllocations(), UdfMapMetadataView(), and UdfUpdateVcbPhase0().
|
|
Definition at line 1017 of file allocsup.c. References ASSERT, ASSERT_IRP_CONTEXT, ASSERT_PCB, ASSERT_VCB, BlocksFromBytes, BlockSize, CcMapData(), Dbg, DebugTrace, DebugUnwind, FALSE, _tagPARTITION::Length, Offset, PAGED_CODE, _PCB::Partition, _PCB::Partitions, PBCB, Physical, SectorsFromBlocks, SectorsFromBytes, TRUE, UdfLookupPsnOfExtent(), UdfRaiseStatus(), UdfUnpinData, and Virtual. Referenced by UdfFindFileSetDescriptor(), UdfInitializeAllocations(), UdfLookupMetaVsnOfExtent(), and UdfLookupPsnOfExtent().
|