22#define Dbg (DEBUG_TRACE_SHUTDOWN)
25#pragma alloc_text(PAGE, FatCommonShutdown)
26#pragma alloc_text(PAGE, FatFsdShutdown)
86 Status = FatCommonShutdown( IrpContext,
Irp );
177#pragma prefast( push )
178#pragma prefast( disable: 28137, "prefast wants the wait to be a constant, but that isn't possible for the way fastfat is designed" )
179#pragma prefast( disable: 28193, "this will always wait" )
185#pragma prefast( pop )
200 Links = Links->
Flink;
251 Vcb->TargetDeviceObject,
258 if (NewIrp !=
NULL) {
283 VcbDeleted = FatCheckForDismount( IrpContext,
314 DebugTrace(-1,
Dbg,
"FatFsdShutdown -> STATUS_SUCCESS\n", 0);
#define IRP_CONTEXT_FLAG_WAIT
#define IRP_CONTEXT_FLAG_DISABLE_POPUPS
#define _Requires_lock_held_(lock)
#define NT_SUCCESS(StatCode)
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
VOID NTAPI KeClearEvent(IN PKEVENT Event)
#define IRP_CONTEXT_FLAG_WRITE_THROUGH
PDEVICE_OBJECT FatDiskFileSystemDeviceObject
ULONG FatExceptionFilter(IN PIRP_CONTEXT IrpContext, IN PEXCEPTION_POINTERS ExceptionPointer)
BOOLEAN FatIsIrpTopLevel(IN PIRP Irp)
PDEVICE_OBJECT FatCdromFileSystemDeviceObject
#define DebugTrace(INDENT, LEVEL, X, Y)
#define FatAcquireExclusiveGlobal(IRPCONTEXT)
#define FatAcquireExclusiveVolume(IRPCONTEXT, VCB)
IN PFCB IN PCCB IN TYPE_OF_OPEN IN BOOLEAN IN BOOLEAN TopLevel
#define FatReleaseVolume(IRPCONTEXT, VCB)
#define FatCompleteRequest(IRPCONTEXT, IRP, STATUS)
#define FatReleaseGlobal(IRPCONTEXT)
#define FatResetExceptionState(IRPCONTEXT)
PIRP_CONTEXT FatCreateIrpContext(IN PIRP Irp, IN BOOLEAN Wait)
#define VCB_STATE_FLAG_SHUTDOWN
#define VCB_STATE_FLAG_MOUNTED_DIRTY
#define FsRtlEnterFileSystem
#define FsRtlExitFileSystem
BOOLEAN NTAPI CcPurgeCacheSection(IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN OPTIONAL PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN UninitializeCacheMaps)
#define EXCEPTION_EXECUTE_HANDLER
DRIVER_DISPATCH(nfs41_FsdDispatch)
#define _Function_class_(n)
#define UNREFERENCED_PARAMETER(P)
VOID NTAPI IoDeleteDevice(IN PDEVICE_OBJECT DeviceObject)
PIRP NTAPI IoBuildSynchronousFsdRequest(IN ULONG MajorFunction, IN PDEVICE_OBJECT DeviceObject, IN PVOID Buffer, IN ULONG Length, IN PLARGE_INTEGER StartingOffset, IN PKEVENT Event, IN PIO_STATUS_BLOCK IoStatusBlock)
VOID NTAPI IoSetTopLevelIrp(IN PIRP Irp)
VOID NTAPI IoUnregisterFileSystem(IN PDEVICE_OBJECT DeviceObject)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
#define _SEH2_GetExceptionInformation()
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)