23#define BugCheckFileId (CDFS_BUG_CHECK_CLEANUP)
102 if (IrpContext->Vcb ==
NULL) {
165 CdCheckForDismount( IrpContext,
Vcb,
TRUE );
262#pragma prefast( suppress:__WARNING_USE_OTHER_FUNCTION, "argument bogus" )
300 Vcb->VolumeLockFileObject =
NULL;
301 SendUnlockNotification =
TRUE;
320 if (SendUnlockNotification) {
332 if (AttemptTeardown) {
347 CdPurgeVolume( IrpContext,
Vcb,
FALSE );
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
VOID CdCompleteRequest(_Inout_opt_ PIRP_CONTEXT IrpContext, _Inout_opt_ PIRP Irp, _In_ NTSTATUS Status)
#define ASSERT_IRP_CONTEXT(IC)
BOOLEAN CdMarkDevForVerifyIfVcbMounted(_Inout_ PVCB Vcb)
#define CdAcquireCdData(IC)
_Inout_ PFILE_OBJECT _In_ TYPE_OF_OPEN TypeOfOpen
NTSTATUS CdHijackIrpAndFlushDevice(_In_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp, _In_ PDEVICE_OBJECT TargetDeviceObject)
#define CdReleaseFile(IC, F)
#define CdReleaseVcb(IC, V)
#define CdReleaseFcb(IC, F)
#define CdGetFcbOplock(F)
#define CdReleaseCdData(IC)
#define CdUnlockVcb(IC, V)
_Inout_ PFILE_OBJECT _In_ TYPE_OF_OPEN PFCB _In_opt_ PCCB Ccb
#define CdAcquireVcbExclusive(IC, V, I)
#define CdDecrementCleanupCounts(IC, F)
#define CdAcquireFileExclusive(IC, F)
#define CdAcquireFcbExclusive(IC, F, I)
enum _TYPE_OF_OPEN TYPE_OF_OPEN
#define CdIsFastIoPossible(F)
#define CdUnlockFcb(IC, F)
#define CCB_FLAG_DISMOUNT_ON_CLOSE
#define _Requires_lock_held_(lock)
#define CdBugCheck(A, B, C)
#define ClearFlag(_F, _SF)
NTSTATUS NTAPI FsRtlFastUnlockAll(IN PFILE_LOCK FileLock, IN PFILE_OBJECT FileObject, IN PEPROCESS Process, IN PVOID Context OPTIONAL)
BOOLEAN NTAPI CcUninitializeCacheMap(IN PFILE_OBJECT FileObject, IN OPTIONAL PLARGE_INTEGER TruncateSize, IN OPTIONAL PCACHE_UNINITIALIZE_EVENT UninitializeEvent)
#define FSRTL_VOLUME_UNLOCK
VOID NTAPI FsRtlNotifyCleanup(IN PNOTIFY_SYNC NotifySync, IN PLIST_ENTRY NotifyList, IN PVOID FsContext)
NTSTATUS NTAPI FsRtlNotifyVolumeEvent(IN PFILE_OBJECT FileObject, IN ULONG EventCode)
VOID NTAPI IoRemoveShareAccess(IN PFILE_OBJECT FileObject, IN PSHARE_ACCESS ShareAccess)
PEPROCESS NTAPI IoGetRequestorProcess(IN PIRP Irp)
VOID NTAPI IoReleaseVpbSpinLock(IN KIRQL Irql)
VOID NTAPI IoAcquireVpbSpinLock(OUT PKIRQL Irql)
NTSTATUS NTAPI FsRtlCheckOplock(IN POPLOCK Oplock, IN PIRP Irp, IN PVOID Context, IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine OPTIONAL, IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL)
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
#define FO_CLEANUP_COMPLETE