21#pragma alloc_text(PAGE, Ext2ShutDown)
44 Irp = IrpContext->Irp;
53 GlobalResourceAcquired =
TRUE;
57 ListEntry = ListEntry->
Flink ) {
68 Vcb->SuperBlock->s_mnt_count++;
69 if (
Vcb->SuperBlock->s_mnt_count >
70 Vcb->SuperBlock->s_max_mnt_count ) {
71 Vcb->SuperBlock->s_mnt_count =
72 Vcb->SuperBlock->s_max_mnt_count;
104 if (GlobalResourceAcquired) {
108 if (!IrpContext->ExceptionInProgress) {
#define IRP_CONTEXT_FLAG_WAIT
#define NT_SUCCESS(StatCode)
NTSTATUS Ext2ShutDown(IN PEXT2_IRP_CONTEXT IrpContext)
#define ExAcquireResourceExclusiveLite(res, wait)
NTSTATUS Ext2QueueRequest(IN PEXT2_IRP_CONTEXT IrpContext)
BOOLEAN Ext2SaveSuper(IN PEXT2_IRP_CONTEXT IrpContext, IN PEXT2_VCB Vcb)
NTSTATUS Ext2DiskShutDown(PEXT2_VCB Vcb)
NTSTATUS Ext2CompleteIrpContext(IN PEXT2_IRP_CONTEXT IrpContext, IN NTSTATUS Status)
NTSTATUS Ext2FlushFiles(IN PEXT2_IRP_CONTEXT IrpContext, IN PEXT2_VCB Vcb, IN BOOLEAN bShutDown)
NTSTATUS Ext2FlushVolume(IN PEXT2_IRP_CONTEXT IrpContext, IN PEXT2_VCB Vcb, IN BOOLEAN bShutDown)
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
#define STATUS_MEDIA_WRITE_PROTECTED