ReactOS  0.4.15-dev-3440-g915569a
fxprobeandlock.h File Reference
This graph shows which files directly or indirectly include this file:

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 {
41  _SEH2_TRY
42  {
44  }
46  {
48  }
49  _SEH2_END;
50 
51  return STATUS_SUCCESS;
52 }
_SEH2_TRY
Definition: create.c:4226
_In_ PEPROCESS _In_ KPROCESSOR_MODE AccessMode
Definition: mmfuncs.h:395
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
_SEH2_END
Definition: create.c:4400
VOID NTAPI MmProbeAndLockPages(IN PMDL Mdl, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation)
Definition: mdlsup.c:922
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:40
#define STATUS_SUCCESS
Definition: shellext.h:65
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:165
#define _SEH2_YIELD(__stmt)
Definition: pseh2_64.h:168

Referenced by FxRequest::ProbeAndLockForRead().

◆ FxProbeAndLockForWrite()

NTSTATUS FxProbeAndLockForWrite ( __in PMDL  Mdl,
__in KPROCESSOR_MODE  AccessMode 
)

Definition at line 55 of file probeandlock.c.

59 {
60  _SEH2_TRY
61  {
63  }
65  {
67  }
68  _SEH2_END;
69 
70  return STATUS_SUCCESS;
71 }
_SEH2_TRY
Definition: create.c:4226
_In_ PEPROCESS _In_ KPROCESSOR_MODE AccessMode
Definition: mmfuncs.h:395
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
_SEH2_END
Definition: create.c:4400
VOID NTAPI MmProbeAndLockPages(IN PMDL Mdl, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation)
Definition: mdlsup.c:922
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:40
#define STATUS_SUCCESS
Definition: shellext.h:65
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:165
#define _SEH2_YIELD(__stmt)
Definition: pseh2_64.h:168

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 {
80  _SEH2_TRY
81  {
83  }
85  {
87  }
88  _SEH2_END;
89 
90  return STATUS_SUCCESS;
91 }
_SEH2_TRY
Definition: create.c:4226
_In_ PEPROCESS _In_ KPROCESSOR_MODE AccessMode
Definition: mmfuncs.h:395
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
_SEH2_END
Definition: create.c:4400
VOID NTAPI MmProbeAndLockPages(IN PMDL Mdl, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation)
Definition: mdlsup.c:922
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
_In_ FLT_SET_CONTEXT_OPERATION Operation
Definition: fltkernel.h:1467
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:40
#define STATUS_SUCCESS
Definition: shellext.h:65
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:165
#define _SEH2_YIELD(__stmt)
Definition: pseh2_64.h:168

Referenced by FxRequestBuffer::GetOrAllocateMdl().