21#pragma alloc_text(PAGE, Ext2LockControl)
71 Irp = IrpContext->Irp;
82 CompleteContext =
FALSE;
98 "Ext2LockControl: %-16.16s %-31s Status: %#x ***\n",
100 "IRP_MJ_LOCK_CONTROL",
112 if (!IrpContext->ExceptionInProgress) {
115 IrpContext->Irp =
NULL;
118 if (CompleteContext) {
#define NT_SUCCESS(StatCode)
NTSTATUS Ext2LockControl(IN PEXT2_IRP_CONTEXT IrpContext)
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