#include "UdfProcs.h"
Go to the source code of this file.
Classes | |
struct | _FCB_TABLE_ELEMENT |
Defines | |
#define | BugCheckFileId (UDFS_BUG_CHECK_STRUCSUP) |
#define | Dbg (UDFS_DEBUG_LEVEL_STRUCSUP) |
#define | UdfAllocateFcbData(IC) ExAllocateFromPagedLookasideList( &UdfFcbDataLookasideList ); |
#define | UdfDeallocateFcbData(IC, F) ExFreeToPagedLookasideList( &UdfFcbDataLookasideList, F ); |
#define | UdfAllocateFcbIndex(IC) ExAllocateFromPagedLookasideList( &UdfFcbIndexLookasideList ); |
#define | UdfDeallocateFcbIndex(IC, F) ExFreeToPagedLookasideList( &UdfFcbIndexLookasideList, F ); |
#define | UdfAllocateFcbNonpaged(IC) ExAllocateFromNPagedLookasideList( &UdfFcbNonPagedLookasideList ); |
#define | UdfDeallocateFcbNonpaged(IC, FNP) ExFreeToNPagedLookasideList( &UdfFcbNonPagedLookasideList, FNP ); |
#define | UdfAllocateCcb(IC) ExAllocateFromPagedLookasideList( &UdfCcbLookasideList ); |
#define | UdfDeallocateCcb(IC, C) ExFreeToPagedLookasideList( &UdfCcbLookasideList, C ); |
#define | UdfInsertFcbTable(IC, F) |
#define | UdfDeleteFcbTable(IC, F) |
Typedefs | |
typedef _FCB_TABLE_ELEMENT | FCB_TABLE_ELEMENT |
typedef _FCB_TABLE_ELEMENT * | PFCB_TABLE_ELEMENT |
Functions | |
INLINE USHORT | UdfGetPartitionOfCurrentAllocation (IN PALLOC_ENUM_CONTEXT AllocContext) |
INLINE VOID | UdfInitializeFcbMcb (IN PFCB Fcb) |
INLINE VOID | UdfUninitializeFcbMcb (IN PFCB Fcb) |
PVOID | UdfAllocateTable (IN PRTL_GENERIC_TABLE Table, IN CLONG ByteSize) |
PFCB_NONPAGED | UdfCreateFcbNonPaged (IN PIRP_CONTEXT IrpContext) |
VOID | UdfDeleteFcbNonpaged (IN PIRP_CONTEXT IrpContext, IN PFCB_NONPAGED FcbNonpaged) |
VOID | UdfDeallocateTable (IN PRTL_GENERIC_TABLE Table, IN PVOID Buffer) |
RTL_GENERIC_COMPARE_RESULTS | UdfFcbTableCompare (IN PRTL_GENERIC_TABLE Table, IN PVOID id1, IN PVOID id2) |
VOID | UdfInitializeAllocationContext (IN PIRP_CONTEXT IrpContext, IN PALLOC_ENUM_CONTEXT AllocContext, IN PICB_SEARCH_CONTEXT IcbContext) |
BOOLEAN | UdfGetNextAllocation (IN PIRP_CONTEXT IrpContext, IN PALLOC_ENUM_CONTEXT AllocContext) |
BOOLEAN | UdfGetNextAllocationPostProcessing (IN PIRP_CONTEXT IrpContext, IN PALLOC_ENUM_CONTEXT AllocContext) |
VOID | UdfLookupActiveIcbInExtent (IN PIRP_CONTEXT IrpContext, IN PICB_SEARCH_CONTEXT IcbContext, IN ULONG Recurse) |
VOID | UdfInitializeEaContext (IN PIRP_CONTEXT IrpContext, IN PEA_SEARCH_CONTEXT EaContext, IN PICB_SEARCH_CONTEXT IcbContext, IN ULONG EAType, IN UCHAR EASubType) |
BOOLEAN | UdfLookupEa (IN PIRP_CONTEXT IrpContext, IN PEA_SEARCH_CONTEXT EaContext) |
ALLOC_PRAGMA BOOLEAN | UdfInitializeVcb (IN PIRP_CONTEXT IrpContext, IN OUT PVCB Vcb, IN PDEVICE_OBJECT TargetDeviceObject, IN PVPB Vpb, IN PDISK_GEOMETRY DiskGeometry, IN ULONG MediaChangeCount) |
VOID | UdfUpdateVcbPhase0 (IN PIRP_CONTEXT IrpContext, IN OUT PVCB Vcb) |
VOID | UdfUpdateVcbPhase1 (IN PIRP_CONTEXT IrpContext, IN OUT PVCB Vcb, IN PNSR_FSD Fsd) |
VOID | UdfDeleteVcb (IN PIRP_CONTEXT IrpContext, IN OUT PVCB Vcb) |
PIRP_CONTEXT | UdfCreateIrpContext (IN PIRP Irp, IN BOOLEAN Wait) |
VOID | UdfCleanupIrpContext (IN PIRP_CONTEXT IrpContext, IN BOOLEAN Post) |
VOID | UdfInitializeStackIrpContext (OUT PIRP_CONTEXT IrpContext, IN PIRP_CONTEXT_LITE IrpContextLite) |
VOID | UdfTeardownStructures (IN PIRP_CONTEXT IrpContext, IN PFCB StartingFcb, IN BOOLEAN Recursive, OUT PBOOLEAN RemovedStartingFcb) |
PFCB | UdfLookupFcbTable (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN FILE_ID FileId) |
PFCB | UdfGetNextFcb (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN PVOID *RestartKey) |
PFCB | UdfCreateFcb (IN PIRP_CONTEXT IrpContext, IN FILE_ID FileId, IN NODE_TYPE_CODE NodeTypeCode, OUT PBOOLEAN FcbExisted OPTIONAL) |
VOID | UdfDeleteFcb (IN PIRP_CONTEXT IrpContext, IN PFCB Fcb) |
VOID | UdfInitializeFcbFromIcbContext (IN PIRP_CONTEXT IrpContext, IN PFCB Fcb, IN PICB_SEARCH_CONTEXT IcbContext) |
PCCB | UdfCreateCcb (IN PIRP_CONTEXT IrpContext, IN PFCB Fcb, IN PLCB Lcb OPTIONAL, IN ULONG Flags) |
VOID | UdfDeleteCcb (IN PIRP_CONTEXT IrpContext, IN PCCB Ccb) |
ULONG | UdfFindInParseTable (IN PPARSE_KEYVALUE ParseTable, IN PCHAR Id, IN ULONG MaxIdLen) |
BOOLEAN | UdfVerifyDescriptor (IN PIRP_CONTEXT IrpContext, IN PDESTAG Descriptor, IN USHORT Tag, IN ULONG Size, IN ULONG Lbn, IN BOOLEAN ReturnError) |
VOID | UdfInitializeIcbContextFromFcb (IN PIRP_CONTEXT IrpContext, IN PICB_SEARCH_CONTEXT IcbContext, IN PFCB Fcb) |
VOID | UdfInitializeIcbContext (IN PIRP_CONTEXT IrpContext, IN PICB_SEARCH_CONTEXT IcbContext, IN PVCB Vcb, IN USHORT IcbType, IN USHORT Partition, IN ULONG Lbn, IN ULONG Length) |
VOID | UdfLookupActiveIcb (IN PIRP_CONTEXT IrpContext, IN PICB_SEARCH_CONTEXT IcbContext) |
VOID | UdfCleanupIcbContext (IN PIRP_CONTEXT IrpContext, IN PICB_SEARCH_CONTEXT IcbContext) |
VOID | UdfInitializeAllocations (IN PIRP_CONTEXT IrpContext, IN PFCB Fcb, IN PICB_SEARCH_CONTEXT IcbContext) |
VOID | UdfUpdateTimestampsFromIcbContext (IN PIRP_CONTEXT IrpContext, IN PICB_SEARCH_CONTEXT IcbContext, IN PTIMESTAMP_BUNDLE Timestamps) |
BOOLEAN | UdfCreateFileLock (IN PIRP_CONTEXT IrpContext OPTIONAL, IN PFCB Fcb, IN BOOLEAN RaiseOnError) |
|
Definition at line 28 of file udfs/strucsup.c. |
|
Definition at line 34 of file udfs/strucsup.c. |
|
Definition at line 115 of file udfs/strucsup.c. Referenced by UdfCreateCcb(). |
|
Definition at line 97 of file udfs/strucsup.c. Referenced by UdfCreateFcb(). |
|
Definition at line 103 of file udfs/strucsup.c. Referenced by UdfCreateFcb(). |
|
Definition at line 109 of file udfs/strucsup.c. Referenced by UdfCreateFcbNonPaged(). |
|
Definition at line 118 of file udfs/strucsup.c. Referenced by UdfDeleteCcb(). |
|
Definition at line 100 of file udfs/strucsup.c. Referenced by UdfDeleteFcb(). |
|
Definition at line 106 of file udfs/strucsup.c. Referenced by UdfDeleteFcb(). |
|
Definition at line 112 of file udfs/strucsup.c. Referenced by UdfDeleteFcbNonpaged(). |
|
Value:
Definition at line 146 of file udfs/strucsup.c. Referenced by UdfTeardownStructures(). |
|
Value:
Definition at line 136 of file udfs/strucsup.c. Referenced by UdfInitializeFcbFromIcbContext(). |
|
|
|
Referenced by UdfGetNextFcb(), and UdfLookupFcbTable(). |
|
Definition at line 4411 of file udfs/strucsup.c. References FsRtlAllocatePoolWithTag, PAGED_CODE, TAG_GENERIC_TABLE, and UdfPagedPool. Referenced by UdfInitializeVcb().
|
|
Definition at line 3183 of file udfs/strucsup.c. References ASSERT_IRP_CONTEXT, PAGED_CODE, and UdfUnpinView. Referenced by UdfCleanupCompoundDirContext(), UdfLookupFileEntryInEnumeration(), UdfOpenObjectByFileId(), UdfOpenObjectFromDirContext(), UdfUpdateVcbPhase0(), and UdfUpdateVcbPhase1().
|
|
Definition at line 1437 of file udfs/strucsup.c. References ASSERT_IRP_CONTEXT, ClearFlag, ExFreeToNPagedLookasideList(), FlagOn, IRP_CONTEXT_FLAG_ALLOC_IO, IRP_CONTEXT_FLAG_MORE_PROCESSING, IRP_CONTEXT_FLAG_ON_STACK, IRP_CONTEXT_FLAGS_CLEAR_ON_POST, IRP_CONTEXT_FLAGS_CLEAR_ON_RETRY, NULL, PAGED_CODE, UdfFreeIoContext, UdfIrpContextLookasideList, and UdfRestoreThreadContext(). Referenced by UdfCompleteRequest(), UdfFsdDispatch(), UdfFspDispatch(), UdfPrePostIrp(), and UdfQueueClose().
|
|
Definition at line 2433 of file udfs/strucsup.c. References ASSERT_FCB, ASSERT_IRP_CONTEXT, ASSERT_OPTIONAL_LCB, CCB, _CCB::CurrentFileIndex, _CCB::Fcb, _CCB::Flags, _CCB::HighestReturnableFileIndex, _CCB::Lcb, _CCB::NodeByteSize, _CCB::NodeTypeCode, NULL, PAGED_CODE, _CCB::SearchExpression, UdfAllocateCcb, and UDFS_NTC_CCB. Referenced by UdfCompleteFcbOpen().
|
|
Definition at line 2041 of file udfs/strucsup.c. References _FCB::ChildLcbQueue, DebugUnwind, FALSE, _FCB::FcbNonpaged, _FCB::FileId, NULL, PAGED_CODE, _FCB::ParentLcbQueue, SIZEOF_FCB_DATA, SIZEOF_FCB_INDEX, TRUE, UdfAllocateFcbData, UdfAllocateFcbIndex, UdfBugCheck, UdfCreateFcbNonPaged(), UdfFreePool(), UdfLookupFcbTable(), UDFS_NTC_FCB_DATA, UDFS_NTC_FCB_INDEX, and _FCB::Vcb. Referenced by UdfOpenObjectByFileId(), UdfOpenObjectFromDirContext(), UdfUpdateVcbPhase0(), and UdfUpdateVcbPhase1().
|
|
Definition at line 4269 of file udfs/strucsup.c. References ExInitializeFastMutex, ExInitializeResource, FCB_NONPAGED, _FCB_NONPAGED::FcbMutex, _FCB_NONPAGED::FcbResource, _FCB_NONPAGED::NodeByteSize, _FCB_NONPAGED::NodeTypeCode, PAGED_CODE, UdfAllocateFcbNonpaged, and UDFS_NTC_FCB_NONPAGED. Referenced by UdfCreateFcb().
|
|
Definition at line 3713 of file udfs/strucsup.c. References ASSERT, FALSE, FsRtlAllocateFileLock(), NULL, PAGED_CODE, PFILE_LOCK, TRUE, UdfLockFcb, UdfRaiseStatus(), and UdfUnlockFcb. Referenced by UdfCommonLockControl(), UdfFastLock(), UdfFastUnlockAll(), UdfFastUnlockAllByKey(), and UdfFastUnlockSingle().
|
|
Definition at line 1301 of file udfs/strucsup.c. References ASSERT, Count, _IO_STACK_LOCATION::DeviceObject, _FILE_OBJECT::DeviceObject, ExAllocateFromNPagedLookasideList(), ExRaiseStatus(), FALSE, _IO_STACK_LOCATION::FileObject, _UDF_DATA::FileSystemDeviceObjects, _IRP_CONTEXT::Flags, IoGetCurrentIrpStackLocation, Irp, _IRP_CONTEXT::Irp, IRP_CONTEXT, IRP_CONTEXT_FLAG_FORCE_POST, IRP_CONTEXT_FLAG_WAIT, IRP_MJ_CLEANUP, IRP_MJ_CLOSE, IRP_MJ_CREATE, IRP_MJ_FILE_SYSTEM_CONTROL, IRP_MJ_SHUTDOWN, IRP_MN_MOUNT_VOLUME, IRP_MN_USER_FS_REQUEST, _IO_STACK_LOCATION::MajorFunction, _IRP_CONTEXT::MajorFunction, _IO_STACK_LOCATION::MinorFunction, _IRP_CONTEXT::MinorFunction, _IRP_CONTEXT::NodeByteSize, _IRP_CONTEXT::NodeTypeCode, NULL, NUMBER_OF_FS_OBJECTS, PAGED_CODE, _IO_STACK_LOCATION::Parameters, _IRP_CONTEXT::RealDevice, SetFlag, TRUE, UdfData, UdfIrpContextLookasideList, UDFS_NTC_IRP_CONTEXT, and _IRP_CONTEXT::Vcb. Referenced by UdfFsdDispatch().
|
|
Definition at line 4446 of file udfs/strucsup.c. References Buffer, ExFreePool(), and PAGED_CODE. Referenced by UdfInitializeVcb().
|
|
Definition at line 2510 of file udfs/strucsup.c. References ASSERT_CCB, ASSERT_IRP_CONTEXT, NULL, PAGED_CODE, UdfDeallocateCcb, and UdfFreePool(). Referenced by UdfCommonClose().
|
|
Definition at line 2178 of file udfs/strucsup.c. References ASSERT, ASSERT_FCB, ASSERT_IRP_CONTEXT, FsRtlFreeFileLock(), FsRtlUninitializeOplock(), _VCB::MetadataFcb, NULL, PAGED_CODE, _VCB::RootIndexFcb, UdfDeallocateFcbData, UdfDeallocateFcbIndex, UdfDeleteFcbNonpaged(), UDFS_NTC_FCB_DATA, UDFS_NTC_FCB_INDEX, UdfUninitializeFcbMcb(), UdfUninitializeVmcb(), _VCB::VatFcb, _VCB::VcbReference, _VCB::VcbUserReference, _VCB::Vmcb, and _VCB::VolumeDasdFcb. Referenced by UdfOpenObjectByFileId(), UdfOpenObjectFromDirContext(), and UdfTeardownStructures().
|
|
Definition at line 4317 of file udfs/strucsup.c. References ExDeleteResource, PAGED_CODE, and UdfDeallocateFcbNonpaged. Referenced by UdfDeleteFcb().
|
|
Definition at line 1210 of file udfs/strucsup.c. References ASSERT_EXCLUSIVE_UDFDATA, ASSERT_EXCLUSIVE_VCB, ExDeleteResource, FsRtlNotifyUninitializeSync(), IoDeleteDevice(), NULL, ObDereferenceObject, PAGED_CODE, UdfDeletePcb(), and UdfFreePool(). Referenced by UdfCheckForDismount(), and UdfDismountVcb().
|
|
Definition at line 4354 of file udfs/strucsup.c. References FILE_ID, and PAGED_CODE. Referenced by UdfInitializeVcb().
|
|
Definition at line 2552 of file udfs/strucsup.c. References NULL, PAGED_CODE, and PPARSE_KEYVALUE. Referenced by UdfRecognizeVolume().
|
|
Definition at line 4103 of file udfs/strucsup.c. References Add2Ptr, ASSERT_IRP_CONTEXT, ISOAllocationDescriptorSize, PAGED_CODE, and UdfGetNextAllocationPostProcessing(). Referenced by UdfInitializeAllocations().
|
|
Definition at line 4144 of file udfs/strucsup.c. References Add2Ptr, NSR_ALLOC::AllocLen, BlockSize, NSR_ALLOC::Destag, DESTAG_ID_NSR_ALLOC, FALSE, ISOAllocationDescriptorSize, NSRLENGTH::Length, SHORTAD::Length, NSR_ALLOC, NSRLENGTH_TYPE_CONTINUATION, PNSR_ALLOC, SHORTAD::Start, TRUE, NSRLENGTH::Type, UdfGetPartitionOfCurrentAllocation(), UdfMapMetadataView(), UdfRaiseStatus(), and UdfVerifyDescriptor(). Referenced by UdfGetNextAllocation(), and UdfInitializeAllocationContext().
|
|
Definition at line 1997 of file udfs/strucsup.c. References NULL, PAGED_CODE, PFCB_TABLE_ELEMENT, and RtlEnumerateGenericTableWithoutSplaying(). Referenced by UdfPurgeVolume().
|
|
Definition at line 160 of file udfs/strucsup.c. References ICBTAG_F_ALLOC_LONG, PALLOC_ENUM_CONTEXT, and PLONGAD. Referenced by UdfGetNextAllocationPostProcessing(), and UdfInitializeAllocations().
|
|
Definition at line 4013 of file udfs/strucsup.c. References Add2Ptr, ICBFILE::AllocLength, ASSERT, ASSERT_IRP_CONTEXT, ICBFILE::EALength, ICBFILE::EAs, FlagOn, ICBTAG::Flags, ICBFILE::Icbtag, ICBTAG_F_ALLOC_EXTENDED, ICBTAG_F_ALLOC_IMMEDIATE, ICBTAG_F_ALLOC_MASK, ISOAllocationDescriptorSize, LongOffsetPtr, PAGED_CODE, UdfGetNextAllocationPostProcessing(), and UdfRaiseStatus(). Referenced by UdfInitializeAllocations().
|
|
Definition at line 3388 of file udfs/strucsup.c. References _ALLOC_ENUM_CONTEXT::Alloc, ALLOC_ENUM_CONTEXT, ICBFILE::AllocLength, _ALLOC_ENUM_CONTEXT::AllocType, ASSERT, ASSERT_FCB, ASSERT_IRP_CONTEXT, BlockOffset, BlockSize, Dbg, DebugTrace, ICBFILE::Destag, ICBFILE::EALength, FALSE, FCB_STATE_EMBEDDED_DATA, FsRtlAddLargeMcbEntry(), ICBTAG_F_ALLOC_IMMEDIATE, DESTAG::Lbn, SHORTAD::Length, NSRLENGTH::Length, LlSectorsFromBytes, NSRLENGTH_TYPE_RECORDED, NSRLENGTH_TYPE_UNRECORDED, PAD_GENERIC, PAGED_CODE, SectorAlign, SectorsFromBytes, SetFlag, SHORTAD::Start, TRUE, NSRLENGTH::Type, UdfGetNextAllocation(), UdfGetPartitionOfCurrentAllocation(), UdfInitializeAllocationContext(), UdfInitializeFcbMcb(), UdfLookupMetaVsnOfExtent(), UdfLookupPsnOfExtent(), UdfRaiseStatus(), UdfUninitializeFcbMcb(), and USHORT. Referenced by UdfInitializeFcbFromIcbContext(), and UdfUpdateVcbPhase0().
|
|
Definition at line 3221 of file udfs/strucsup.c. References ASSERT, ASSERT_IRP_CONTEXT, ICBFILE::EALength, ICBFILE::EAs, and PAGED_CODE. Referenced by UdfUpdateTimestampsFromIcbContext().
|
|
Definition at line 2297 of file udfs/strucsup.c. References ICBFILE::AllocLength, ASSERT, ASSERT_FCB, ASSERT_IRP_CONTEXT, BlockSize, ICBFILE::Destag, DESTAG_ID_NSR_FILE, EA_SEARCH_CONTEXT, ICBFILE::EALength, FCB_STATE_IN_FCB_TABLE, FCB_STATE_INITIALIZED, ICBTAG::FileType, ICBFILE::Icbtag, ICBTAG_FILE_T_DIRECTORY, ICBTAG_FILE_T_FILE, DESTAG::Ident, ICBFILE::InfoLength, ICBFILE::LinkCount, LlBlockAlign, LongOffset, PAGED_CODE, SetFlag, UdfInitializeAllocations(), UdfInsertFcbTable, UdfLockFcb, UdfRaiseStatus(), UDFS_NTC_FCB_DATA, UDFS_NTC_FCB_INDEX, UdfUnlockFcb, and UdfUpdateTimestampsFromIcbContext(). Referenced by UdfOpenObjectByFileId(), UdfOpenObjectFromDirContext(), and UdfUpdateVcbPhase1().
|
|
Definition at line 181 of file udfs/strucsup.c. References FCB_STATE_MCB_INITIALIZED, FlagOn, FsRtlInitializeLargeMcb(), FsRtlResetLargeMcb(), SetFlag, TRUE, and UdfPagedPool. Referenced by UdfInitializeAllocations(), and UdfUpdateVcbPhase1().
|
|
Definition at line 3060 of file udfs/strucsup.c. References ASSERT_IRP_CONTEXT, PAGED_CODE, and UdfMapMetadataView(). Referenced by UdfLookupFileEntryInEnumeration().
|
|
Definition at line 2951 of file udfs/strucsup.c. References ASSERT_FCB, ASSERT_IRP_CONTEXT, BlockSize, ICBFILE::Destag, DESTAG_ID_NSR_FILE, DESTAG_ID_NSR_ICBIND, DESTAG_ID_NSR_ICBTRM, DESTAG_ID_NSR_PINTEG, DESTAG_ID_NSR_UASE, FALSE, ICBFILE::Icbtag, DESTAG::Ident, ICBTAG::MaxEntries, PAGED_CODE, UdfGetFidLbn, UdfGetFidPartition, UdfMapMetadataView(), UdfRaiseStatus(), and UdfVerifyDescriptor(). Referenced by UdfLookupFileEntryInEnumeration(), UdfOpenObjectByFileId(), UdfOpenObjectFromDirContext(), and UdfUpdateVcbPhase1().
|
|
Definition at line 1528 of file udfs/strucsup.c. References ASSERT_IRP_CONTEXT_LITE, IRP_CONTEXT, IRP_CONTEXT_FLAG_ON_STACK, IRP_CONTEXT_FLAG_WAIT, IRP_MJ_CLOSE, PAGED_CODE, PIRP_CONTEXT_LITE, SetFlag, and UDFS_NTC_IRP_CONTEXT. Referenced by UdfFspClose().
|
|
Definition at line 331 of file udfs/strucsup.c. References ExInitializeFastMutex, ExInitializeResource, FlagOn, FsRtlNotifyInitializeSync(), NULL, ObReferenceObject, PAGED_CODE, RtlInitializeGenericTable(), SetFlag, TRUE, UdfAllocateTable(), UdfData, UdfDeallocateTable(), UdfFcbTableCompare(), UdfHighBit(), UDFS_BASE_RESIDUAL_REFERENCE, UDFS_BASE_RESIDUAL_USER_REFERENCE, UDFS_NTC_VCB, VCB, VCB_STATE_REMOVABLE_MEDIA, VcbMountInProgress, and _UDF_DATA::VcbQueue. Referenced by UdfMountVolume().
|
|
Definition at line 3124 of file udfs/strucsup.c. References ASSERT_IRP_CONTEXT, NULL, PAGED_CODE, UDF_ICB_RECURSION_LIMIT, UdfLookupActiveIcbInExtent(), UdfRaiseStatus(), and UdfUnpinView. Referenced by UdfLookupFileEntryInEnumeration(), UdfOpenObjectByFileId(), UdfOpenObjectFromDirContext(), and UdfUpdateVcbPhase1().
|
|
Definition at line 3790 of file udfs/strucsup.c. References Add2Ptr, BlockSize, ICBIND::Destag, DESTAG_ID_NOTSPEC, DESTAG_ID_NSR_ICBIND, DESTAG_ID_NSR_ICBTRM, FALSE, ICBIND::Icb, DESTAG::Ident, NSRLBA::Lbn, NSRLENGTH::Length, LONGAD::Length, _VCB::MetadataFcb, NSRLENGTH_TYPE_RECORDED, PAGED_CODE, NSRLBA::Partition, PICBIND, LONGAD::Start, NSRLENGTH::Type, UdfMapMetadataView(), UdfRaiseStatus(), UdfVerifyDescriptor(), and USHORT. Referenced by UdfLookupActiveIcb().
|
|
Definition at line 3278 of file udfs/strucsup.c. References Add2Ptr, ASSERT_IRP_CONTEXT, ICBFILE::Destag, DESTAG_ID_NSR_EA, NSR_EA_GENERIC::EALength, NSR_EA_GENERIC::EASubType, NSR_EA_GENERIC::EAType, FALSE, DESTAG::Lbn, LongOffsetPtr, NSR_EAH, PAGED_CODE, PNSR_EA_GENERIC, PNSR_EAH, TRUE, UdfRaiseStatus(), and UdfVerifyDescriptor(). Referenced by UdfUpdateTimestampsFromIcbContext().
|
|
Definition at line 1949 of file udfs/strucsup.c. References _FCB_TABLE_ELEMENT::Fcb, FILE_ID, Key, NULL, PAGED_CODE, PFCB_TABLE_ELEMENT, and RtlLookupElementGenericTable(). Referenced by UdfCreateFcb().
|
|
Definition at line 1606 of file udfs/strucsup.c. References ASSERT, ASSERT_FCB, ASSERT_IRP_CONTEXT, ASSERT_LCB, _LCB::ChildFcb, ClearFlag, Dbg, DebugTrace, FALSE, FCB_STATE_IN_FCB_TABLE, _FCB::FcbReference, _FCB::FcbState, _FCB::FcbUserReference, FlagOn, IRP_CONTEXT_FLAG_IN_TEARDOWN, NULL, PAGED_CODE, _LCB::ParentFcb, _FCB::ParentLcbQueue, _LCB::Reference, SafeNodeType, SetFlag, TRUE, UdfAcquireFcbExclusive, UdfDecrementReferenceCounts, UdfDeleteFcb(), UdfDeleteFcbTable, UdfDeleteInternalStream(), UdfLockVcb, UdfReleaseFcb, UdfRemovePrefix(), UDFS_NTC_FCB_DATA, UdfUnlockVcb, _VCB::VcbReference, and _VCB::VcbUserReference. Referenced by UdfCommonClosePrivate(), UdfCommonCreate(), UdfOplockComplete(), UdfPrePostIrp(), and UdfPurgeVolume().
|
|
Definition at line 207 of file udfs/strucsup.c. References ClearFlag, FCB_STATE_MCB_INITIALIZED, FlagOn, and FsRtlUninitializeLargeMcb(). Referenced by UdfDeleteFcb(), and UdfInitializeAllocations().
|
|
Definition at line 3595 of file udfs/strucsup.c. References ICBFILE::AccessTime, ASSERT, ASSERT_IRP_CONTEXT, ICBFILE::Destag, DESTAG_ID_NSR_FILE, _EA_SEARCH_CONTEXT::Ea, EA_FILETIMES_E_CREATION, EA_INFOTIMES_E_CREATION, EA_INFOTIMES_E_MODIFICATION, EA_SUBTYPE_BASE, EA_TYPE_FILETIMES, EA_TYPE_INFOTIMES, NSR_EA_FILETIMES::Existence, FALSE, FlagOn, DESTAG::Ident, ICBFILE::ModifyTime, PAGED_CODE, PNSR_EA_FILETIMES, PTIMESTAMP_BUNDLE, NSR_EA_FILETIMES::Stamps, TRUE, UdfConvertUdfTimeToNtTime(), UdfInitializeEaContext(), and UdfLookupEa(). Referenced by UdfInitializeFcbFromIcbContext(), and UdfQueryDirectory().
|
|
Definition at line 477 of file udfs/strucsup.c. References _ICB_SEARCH_CONTEXT::Active, ANCHOR_SECTOR, ASSERT, ASSERT_IRP_CONTEXT, ASSERT_VCB, BlocksFromSectors, BlockSize, CcMapData(), CcPurgeCacheSection(), CcSetFileSizes(), Dbg, DebugTrace, DebugUnwind, DESTAG_ID_NSR_FILE, ExFreePool(), FALSE, FCB_STATE_INITIALIZED, FCB_STATE_VMCB_MAPPING, FlagOn, FsRtlAllocatePoolWithTag, ICB_SEARCH_CONTEXT, ICBTAG_FILE_T_NOTSPEC, _MAPPED_PVIEW::Lbn, LlBytesFromSectors, LlSectorAlign, LongOffset, NT_SUCCESS, NULL, Offset, OSCLASS_INVALID, OSIDENTIFIER_INVALID, PAGED_CODE, _MAPPED_PVIEW::Partition, PCB_FLAG_VIRTUAL_PARTITION, PDESTAG, PFILE_ID, Physical, PICBFILE, PREGID, SectorSize, SetFlag, TAG_NSR_VDSD, TRUE, UDF_CDUDF_MAXIMUM_VAT_SIZE, UDF_CDUDF_MINIMUM_VAT_SIZE, UDF_CDUDF_TRAILING_DATA_SIZE, UDF_VERSION_150, UDF_VERSION_RECOGNIZED, UdfCleanupIcbContext(), UdfCreateFcb(), UdfCreateInternalStream(), UdfIncrementReferenceCounts, UdfInitializeAllocations(), UdfInitializeVmcb(), UdfLockFcb, UdfLockVcb, UdfLookupMetaVsnOfExtent(), UdfPagedPool, UdfRaiseStatus(), UdfRawBufferSize(), UdfRawReadSize(), UdfReadSectors(), UdfResetVmcb(), UDFS_CDUDF_RESIDUAL_REFERENCE, UDFS_CDUDF_RESIDUAL_USER_REFERENCE, UDFS_NTC_FCB_INDEX, UdfUdfIdentifierContained(), UdfUnlockFcb, UdfUnlockVcb, UdfUnpinData, UdfVatTableIdentifier, UdfVerifyDescriptor(), USHORT, _MAPPED_PVIEW::View, and Virtual. Referenced by UdfMountVolume().
|
|
Definition at line 997 of file udfs/strucsup.c. References ASSERT_IRP_CONTEXT, ASSERT_VCB, Dbg, DebugTrace, DebugUnwind, FALSE, FCB_STATE_INITIALIZED, _FCB::FcbState, FsRtlAddLargeMcbEntry(), LlBytesFromSectors, _FCB::Mcb, NULL, PAGED_CODE, PFILE_ID, Physical, PNSR_FSD, SetFlag, TRUE, UdfCleanupIcbContext(), UdfCreateFcb(), UdfCreateInternalStream(), UdfIncrementReferenceCounts, UdfInitializeFcbFromIcbContext(), UdfInitializeFcbMcb(), UdfInitializeIcbContextFromFcb(), UdfLockFcb, UdfLockVcb, UdfLookupActiveIcb(), UDFS_NTC_FCB_DATA, UDFS_NTC_FCB_INDEX, UdfSetFidDirectory, UdfSetFidFromLbAddr, UdfUnlockFcb, and UdfUnlockVcb. Referenced by UdfMountVolume().
|
|
Definition at line 2617 of file udfs/strucsup.c. References ASSERT, ASSERT_IRP_CONTEXT, Dbg, DebugTrace, DESTAG_VER_CURRENT, FALSE, PAGED_CODE, Size, TRUE, UdfComputeCrc16(), UdfRaiseStatus(), and USHORT. Referenced by UdfFindAnchorVolumeDescriptor(), UdfFindFileSetDescriptor(), UdfFindVolumeDescriptors(), UdfGetNextAllocationPostProcessing(), UdfInitializeIcbContextFromFcb(), UdfLoadSparingTables(), UdfLookupActiveIcbInExtent(), UdfLookupDirEntryPostProcessing(), UdfLookupEa(), and UdfUpdateVcbPhase0().
|