26{
31
36
38
40
43
45
49 }
50
52
58 }
59
62
66 }
67
70
71 Irp = IrpContext->Irp;
72
74
77 IrpContext,
80
82 CompleteContext =
FALSE;
84 }
85
86
87
88
89
90
95#if EXT2_DEBUG
98 "Ext2LockControl: %-16.16s %-31s Status: %#x ***\n",
100 "IRP_MJ_LOCK_CONTROL",
102 }
103#endif
105
107
108 if (bFcbAcquired) {
110 }
111
112 if (!IrpContext->ExceptionInProgress) {
113
115 IrpContext->Irp =
NULL;
116 }
117
118 if (CompleteContext) {
120 }
121 }
123
125}
#define NT_SUCCESS(StatCode)
VOID CompleteIrp(IN PIRP Irp, IN NTSTATUS Status, IN ULONG_PTR Information)
#define ExAcquireResourceSharedLite(res, wait)
#define Ext2GetCurrentProcessName()
VOID Ext2OplockComplete(IN PVOID Context, IN PIRP Irp)
#define IsExt2FsDevice(DO)
struct _EXT2_FCB * PEXT2_FCB
NTSTATUS Ext2CompleteIrpContext(IN PEXT2_IRP_CONTEXT IrpContext, IN NTSTATUS Status)
FAST_IO_POSSIBLE Ext2IsFastIoPossible(IN PEXT2_FCB Fcb)
NTSTATUS NTAPI FsRtlProcessFileLock(IN PFILE_LOCK FileLock, IN PIRP Irp, IN PVOID Context OPTIONAL)
#define FILE_ATTRIBUTE_DIRECTORY
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
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)
NTFSIDENTIFIER Identifier
FSRTL_ADVANCED_FCB_HEADER Header
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_INVALID_PARAMETER
#define STATUS_UNSUCCESSFUL
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject