ReactOS 0.4.15-dev-8131-g4988de4
probeandlock.c File Reference
#include <ntddk.h>
#include <pseh/pseh2.h>
Include dependency graph for probeandlock.c:

Go to the source code of this file.

Functions

NTSTATUS FxProbeAndLockForRead (__in PMDL Mdl, __in KPROCESSOR_MODE AccessMode)
 
NTSTATUS FxProbeAndLockForWrite (__in PMDL Mdl, __in KPROCESSOR_MODE AccessMode)
 
NTSTATUS FxProbeAndLockWithAccess (__in PMDL Mdl, __in KPROCESSOR_MODE AccessMode, __in LOCK_OPERATION Operation)
 

Function Documentation

◆ FxProbeAndLockForRead()

NTSTATUS FxProbeAndLockForRead ( __in PMDL  Mdl,
__in KPROCESSOR_MODE  AccessMode 
)

Definition at line 36 of file probeandlock.c.

40{
42 {
44 }
46 {
48 }
50
51 return STATUS_SUCCESS;
52}
#define _SEH2_END
Definition: filesup.c:22
#define _SEH2_TRY
Definition: filesup.c:19
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
VOID NTAPI MmProbeAndLockPages(IN PMDL Mdl, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation)
Definition: mdlsup.c:931
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:165
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:66
#define _SEH2_YIELD(__stmt)
Definition: pseh2_64.h:168
#define STATUS_SUCCESS
Definition: shellext.h:65
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
@ IoReadAccess
Definition: ketypes.h:863
_In_ PEPROCESS _In_ KPROCESSOR_MODE AccessMode
Definition: mmfuncs.h:396

Referenced by FxRequest::ProbeAndLockForRead().

◆ FxProbeAndLockForWrite()

NTSTATUS FxProbeAndLockForWrite ( __in PMDL  Mdl,
__in KPROCESSOR_MODE  AccessMode 
)

Definition at line 55 of file probeandlock.c.

Referenced by FxRequest::ProbeAndLockForWrite().

◆ FxProbeAndLockWithAccess()

NTSTATUS FxProbeAndLockWithAccess ( __in PMDL  Mdl,
__in KPROCESSOR_MODE  AccessMode,
__in LOCK_OPERATION  Operation 
)

Definition at line 74 of file probeandlock.c.

79{
81 {
83 }
85 {
87 }
89
90 return STATUS_SUCCESS;
91}
FP_OP Operation
Definition: fpcontrol.c:150

Referenced by FxRequestBuffer::GetOrAllocateMdl().