23#define Dbg (DEBUG_TRACE_DEVCTRL)
43#pragma alloc_text(PAGE, FatCommonDeviceControl)
44#pragma alloc_text(PAGE, FatFsdDeviceControl)
94 Status = FatCommonDeviceControl( IrpContext,
Irp );
126FatCommonDeviceControl (
203 FatFlushAndCleanVolume( IrpContext,
265 (
Irp->AssociatedIrp.SystemBuffer !=
NULL)) {
274#if defined (_WIN64) && defined(BUILD_WOW64_ENABLED)
275 if (IoIs32bitProcess(
Irp)) {
282 Cdb = (
PCDB)((PSCSI_PASS_THROUGH32)(
Irp->AssociatedIrp.SystemBuffer))->Cdb;
288 Cdb = (
PCDB)((PSCSI_PASS_THROUGH32_EX)(
Irp->AssociatedIrp.SystemBuffer))->Cdb;
309#if defined (_WIN64) && defined(BUILD_WOW64_ENABLED)
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
_Inout_ PFILE_OBJECT _In_ TYPE_OF_OPEN PFCB _In_opt_ PCCB Ccb
#define SCSIOP_FORMAT_UNIT
#define IRP_CONTEXT_FLAG_WAIT
#define _Requires_lock_held_(lock)
_In_ PIO_STACK_LOCATION IrpSp
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
#define KeSetEvent(pEvt, foo, foo2)
ULONG FatExceptionFilter(IN PIRP_CONTEXT IrpContext, IN PEXCEPTION_POINTERS ExceptionPointer)
BOOLEAN FatIsIrpTopLevel(IN PIRP Irp)
#define DebugTrace(INDENT, LEVEL, X, Y)
#define FatAcquireExclusiveVolume(IRPCONTEXT, VCB)
TYPE_OF_OPEN FatDecodeFileObject(_In_ PFILE_OBJECT FileObject, _Outptr_ PVCB *Vcb, _Outptr_ PFCB *FcbOrDcb, _Outptr_ PCCB *Ccb)
IN PFCB IN PCCB IN TYPE_OF_OPEN IN BOOLEAN IN BOOLEAN TopLevel
#define FatReleaseVolume(IRPCONTEXT, VCB)
#define FatCompleteRequest(IRPCONTEXT, IRP, STATUS)
PIRP_CONTEXT FatCreateIrpContext(IN PIRP Irp, IN BOOLEAN Wait)
#define VCB_STATE_FLAG_LOCKED
#define CCB_FLAG_SENT_FORMAT_UNIT
#define CCB_FLAG_COMPLETE_DISMOUNT
IO_COMPLETION_ROUTINE FatDeviceControlCompletionRoutine
#define FsRtlEnterFileSystem
#define FsRtlExitFileSystem
#define IoSetCompletionRoutine(_Irp, _CompletionRoutine, _Context, _InvokeOnSuccess, _InvokeOnError, _InvokeOnCancel)
#define _Function_class_(x)
#define _In_reads_opt_(size)
DRIVER_DISPATCH(nfs41_FsdDispatch)
#define UNREFERENCED_PARAMETER(P)
#define IOCTL_DISK_COPY_DATA
#define IOCTL_VOLSNAP_FLUSH_AND_HOLD_WRITES
#define IoSkipCurrentIrpStackLocation(Irp)
#define IoCopyCurrentIrpStackLocationToNext(Irp)
VOID NTAPI IoSetTopLevelIrp(IN PIRP Irp)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
#define _SEH2_GetExceptionInformation()
#define IRP_MJ_DEVICE_CONTROL
_In_opt_ WDFREQUEST _In_ ULONG _In_ BOOLEAN _In_ PCDB Cdb
#define IOCTL_SCSI_PASS_THROUGH
#define IOCTL_SCSI_PASS_THROUGH_DIRECT
#define IOCTL_SCSI_PASS_THROUGH_DIRECT_EX
#define IOCTL_SCSI_PASS_THROUGH_EX
#define STATUS_MORE_PROCESSING_REQUIRED
struct _IO_STACK_LOCATION::@1575::@1576 DeviceIoControl
union _IO_STACK_LOCATION::@1575 Parameters
#define STATUS_ACCESS_DENIED
#define STATUS_INVALID_PARAMETER
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE _In_opt_ __drv_aliasesMem WDFCONTEXT CompletionContext
#define SL_FORCE_DIRECT_WRITE