47 TRACE_(NTFS,
"NtfsIsIrpTopLevel()\n");
71 TRACE_(NTFS,
"NtfsAllocateIrpContext()\n");
74 if (IrpContext ==
NULL)
115 if (NtfsAttributes == 0)
129 return Irp->UserBuffer;
171 if (!
Irp->MdlAddress)
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define FILE_ATTRIBUTE_NORMAL
VOID NtfsFileFlagsToAttributes(ULONG NtfsAttributes, PULONG FileAttributes)
BOOLEAN NtfsIsIrpTopLevel(PIRP Irp)
PNTFS_IRP_CONTEXT NtfsAllocateIrpContext(PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS NtfsLockUserBuffer(IN PIRP Irp, IN ULONG Length, IN LOCK_OPERATION Operation)
PVOID NtfsGetUserBuffer(PIRP Irp, BOOLEAN Paging)
PNTFS_GLOBAL_DATA NtfsGlobalData
#define IRPCONTEXT_COMPLETE
struct NTFS_IRP_CONTEXT * PNTFS_IRP_CONTEXT
#define NTFS_FILE_TYPE_DIRECTORY
#define IRPCONTEXT_CANWAIT
#define NTFS_TYPE_IRP_CONTEXT
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE _In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG FileAttributes
#define EXCEPTION_EXECUTE_HANDLER
VOID NTAPI MmProbeAndLockPages(IN PMDL Mdl, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation)
#define FILE_ATTRIBUTE_DIRECTORY
_In_ ULONG _In_ ULONG _In_ ULONG Length
BOOLEAN NTAPI IoIsOperationSynchronous(IN PIRP Irp)
PIRP NTAPI IoGetTopLevelIrp(VOID)
VOID NTAPI IoSetTopLevelIrp(IN PIRP Irp)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
#define _SEH2_YIELD(__stmt)
#define IRP_MJ_DEVICE_CONTROL
NPAGED_LOOKASIDE_LIST IrpContextLookasideList
NTFSIDENTIFIER Identifier
PDEVICE_OBJECT DeviceObject
#define RtlZeroMemory(Destination, Length)
#define STATUS_INSUFFICIENT_RESOURCES
_In_ PDEVICE_OBJECT DeviceObject
#define IRP_MJ_FILE_SYSTEM_CONTROL
enum _LOCK_OPERATION LOCK_OPERATION
#define MmGetSystemAddressForMdlSafe(_Mdl, _Priority)