ReactOS
0.4.15-dev-2355-gaf9df93
|
Go to the source code of this file.
#define COMPUTE_PAGES_SPANNED | ( | Va, | |
Size | |||
) | ADDRESS_AND_SIZE_TO_SPAN_PAGES(Va,Size) |
#define MmGetMdlByteOffset | ( | _Mdl | ) | ((_Mdl)->ByteOffset) |
#define MmGetMdlPfnArray | ( | _Mdl | ) | ((PPFN_NUMBER) ((_Mdl) + 1)) |
#define MmGetMdlVirtualAddress | ( | _Mdl | ) | ((PVOID) ((PCHAR) ((_Mdl)->StartVa) + (_Mdl)->ByteOffset)) |
#define MmGetSystemAddressForMdlSafe | ( | _Mdl, | |
_Priority | |||
) |
#define MmInitializeMdl | ( | _MemoryDescriptorList, | |
_BaseVa, | |||
_Length | |||
) |
#define MmPrepareMdlForReuse | ( | _Mdl | ) |
#define POOL_TAGGING 1 |
$endif | ( | _NTIFS_ | ) |
Definition at line 2827 of file rtlfuncs.h.
$endif | ( | _WDMDDK_ | ) |
Definition at line 202 of file ke.h.
$endif | ( | _NTDDK_ | ) |
Definition at line 2490 of file iofuncs.h.
__kernel_entry _Inout_ __drv_freesMem | ( | Mem | ) |
Definition at line 1523 of file exfuncs.h.
_Must_inspect_result_ _Maybe_raises_SEH_exception_ _In_ __drv_strictType | ( | KPROCESSOR_MODE/enum | _MODE, |
__drv_typeConst | |||
) |
_Must_inspect_result_ _In_ __in_data_source | ( | USER_MODE | ) |
_In_reads_ | ( | NumberOfLists | ) |
_Must_inspect_result_ _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 3557 of file common.c.
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 64 of file Messaging.c.
_Must_inspect_result_ _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 197 of file cddata.c.
_Must_inspect_result_ _Out_writes_bytes_opt_ | ( | NumberOfBytes | ) |
_Must_inspect_result_ _Post_writable_byte_size_ | ( | NumberOfBytes | ) |
_Post_writable_byte_size_ | ( | MemoryDescriptorList-> | ByteCount | ) |
_Must_inspect_result_ _When_ | ( | AccessMode | = =KernelMode , |
_IRQL_requires_max_(DISPATCH_LEVEL) | |||
) |
_Must_inspect_result_ _At_* BaseAddress | ( | Mem | ) |
NTKERNELAPI PMDL NTAPI MmCreateMdl | ( | _Out_writes_bytes_opt_(sizeof(MDL)+(sizeof(PFN_NUMBER) *ADDRESS_AND_SIZE_TO_SPAN_PAGES(Base, Length))) PMDL | MemoryDescriptorList, |
_In_reads_bytes_opt_(Length) PVOID | Base, | ||
_In_ SIZE_T | Length | ||
) |
NTKERNELAPI PHYSICAL_ADDRESS NTAPI MmGetPhysicalAddress | ( | _In_ PVOID | BaseAddress | ) |
NTKERNELAPI PVOID NTAPI MmGetVirtualForPhysical | ( | _In_ PHYSICAL_ADDRESS | PhysicalAddress | ) |
NTKERNELAPI LOGICAL NTAPI MmIsDriverVerifying | ( | _In_ struct _DRIVER_OBJECT * | DriverObject | ) |
NTKERNELAPI BOOLEAN NTAPI MmIsNonPagedSystemAddressValid | ( | _In_ PVOID | VirtualAddress | ) |
NTKERNELAPI BOOLEAN NTAPI MmIsThisAnNtAsSystem | ( | VOID | ) |
Definition at line 246 of file mmsup.c.
Referenced by FsRtlInitializeTunnels(), PsChangeQuantumTable(), and UDFInitializeZones().
NTKERNELAPI MM_SYSTEMSIZE NTAPI MmQuerySystemSize | ( | VOID | ) |
Definition at line 257 of file mmsup.c.
Referenced by CcInitializeCacheManager(), CdInitializeGlobalData(), DriverEntry(), PspInitPhase0(), RxInitializeWorkQueueDispatcher(), and UDFInitializeZones().
NTKERNELAPI SIZE_T NTAPI MmSizeOfMdl | ( | _In_reads_bytes_opt_(Length) PVOID | Base, |
_In_ SIZE_T | Length | ||
) |
_In_opt_ PVOID _In_opt_ PUNICODE_STRING _In_ PSECURITY_DESCRIPTOR _In_ PACCESS_STATE _In_ BOOLEAN _In_ BOOLEAN _In_ KPROCESSOR_MODE AccessMode |
Definition at line 395 of file mmfuncs.h.
Referenced by BuildExplicitAccessWithNameA(), BuildExplicitAccessWithNameW(), BuildImpersonateExplicitAccessWithNameA(), BuildImpersonateExplicitAccessWithNameW(), CmpConvertHandleToKernelHandle(), CmpCreateLinkNode(), CmpDoCreate(), CmpDoCreateChild(), CmpDoOpen(), CmpParseKey(), DosCreateFileEx(), DosOpenFile(), ExLockUserBuffer(), ExpDesktopOkToClose(), ExpWindowStationOkToClose(), ExpWinStaObjectParse(), FxProbeAndLockForRead(), FxProbeAndLockForWrite(), FxProbeAndLockWithAccess(), IntCreateDesktop(), IntCreateWindowStation(), IntValidateDesktopHandle(), IntValidateWindowStationHandle(), IopCreateFile(), IopParseDevice(), IopParseFile(), IopQueryAttributesFile(), MmMapLockedPages(), MmMapLockedPagesSpecifyCache(), MmProbeAndLockPages(), MockMmProbeAndLockPages(), MockObReferenceObjectByHandle(), Mx::MxReferenceObjectByHandle(), NtDeleteFile(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObCloseHandle(), ObCreateObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObpCaptureObjectCreateInformation(), ObpCaptureObjectName(), ObpCheckObjectReference(), ObpCheckTraverseAccess(), ObpCloseHandle(), ObpCloseHandleTableEntry(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpIncrementHandleCount(), ObpLookupObjectName(), ObpParseSymbolicLink(), ObpReferenceProcessObjectByHandle(), ObReferenceFileObjectForWrite(), ObReferenceObjectByHandle(), ObReferenceObjectByName(), ObReferenceObjectByPointer(), OkayToCloseProc(), ProbeAndCaptureObjectAttributes(), QueryNameProc(), ReleaseCapturedObjectAttributes(), SeAccessCheck(), SeFastTraverseCheck(), SeOpenObjectAuditAlarm(), SepCaptureAcl(), SepCaptureSecurityQualityOfService(), SepCaptureSid(), SepReleaseAcl(), SepReleaseSecurityQualityOfService(), SepReleaseSid(), SeReleaseSidAndAttributesArray(), WmipCaptureGuidObjectAttributes(), WmipOpenGuidObject(), and WmipOpenGuidObjectByName().
_Must_inspect_result_ _In_ PHYSICAL_ADDRESS _In_ PHYSICAL_ADDRESS _In_opt_ PHYSICAL_ADDRESS BoundaryAddressMultiple |
Definition at line 214 of file mmfuncs.h.
Referenced by MmAllocateContiguousMemorySpecifyCache().
Definition at line 214 of file mmfuncs.h.
Referenced by DECLARE_INTERFACE_(), FxCmResList::MapIoSpaceWorker(), MiAllocateContiguousMemory(), MiFindContiguousMemory(), MiMapLockedPagesInUserSpace(), MmAllocateContiguousMemorySpecifyCache(), MmAllocatePagesForMdlEx(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), MmMapVideoDisplay(), and TestMessageHandler().
_Inout_ PSIZE_T _In_opt_ PMDLX _In_ MM_ROTATE_DIRECTION _In_ PMM_ROTATE_COPY_CALLBACK_FUNCTION CopyFunction |
Definition at line 772 of file mmfuncs.h.
Referenced by HidParser_AddCollection(), HidParser_AddReportToCollection(), HidParser_GetScaledUsageValueWithReport(), HidParser_GetUsageValueWithReport(), HidParser_ParseReportDescriptor(), HidParser_ReserveReportItems(), and HidParser_StoreCollection().
_In_ MMFLUSH_TYPE FlushType |
_In_ PHYSICAL_ADDRESS HighAddress |
Definition at line 226 of file mmfuncs.h.
Referenced by DECLARE_INTERFACE_(), MiAllocatePagesForMdl(), MmAllocateNonCachedMemory(), MmAllocatePagesForMdl(), MmAllocatePagesForMdlEx(), and TestMmAllocatePagesForMdl().
_Must_inspect_result_ _In_ PHYSICAL_ADDRESS _In_ PHYSICAL_ADDRESS HighestAcceptableAddress |
_Must_inspect_result_ _In_ PHYSICAL_ADDRESS LowestAcceptableAddress |
Definition at line 214 of file mmfuncs.h.
Referenced by HalAllocateCommonBuffer(), HalpGrowMapBuffers(), and MmAllocateContiguousMemorySpecifyCache().
_Must_inspect_result_ _Outptr_result_bytebuffer_ ViewSize PVOID * MappedBase |
Definition at line 492 of file mmfuncs.h.
Referenced by BlImgAllocateImageBuffer(), BlImgLoadImageWithProgress2(), BlMmMapPhysicalAddressEx(), MiMapViewInSystemSpace(), MiRosUnmapViewInSystemSpace(), MiUnmapViewInSystemSpace(), MmCommitSessionMappedView(), MmMapViewInSessionSpace(), MmMapViewInSystemSpace(), MmMapViewInSystemSpaceEx(), MmUnmapViewInSessionSpace(), MmUnmapViewInSystemSpace(), and RamdiskMapPages().
Definition at line 405 of file mmfuncs.h.
Referenced by CcMdlReadComplete2(), DECLARE_INTERFACE_(), FsRtlMdlReadCompleteDev(), and Mx::MxInitializeMdl().
_In_opt_ PLARGE_INTEGER NewFileSize |
Definition at line 608 of file mmfuncs.h.
Referenced by MmCanFileBeTruncated(), NtfsSetEndOfFile(), and UDFCommonCleanup().
_Must_inspect_result_ _In_ ULONG NewProtect |
Definition at line 682 of file mmfuncs.h.
Referenced by MiQueryMemoryBasicInformation(), MiSetProtectionOnSection(), MmAccessFaultSectionView(), MmAlterRegion(), MmAlterViewAttributes(), and MmSplitRegion().
_In_ PEPROCESS _In_ KPROCESSOR_MODE _In_ LOCK_OPERATION Operation |
_Must_inspect_result_ _In_ SIZE_T _In_ PVOID PageAddress |
Definition at line 471 of file mmfuncs.h.
Referenced by MmAreMemoryPagesAvailable().
_Must_inspect_result_ _In_ PHYSICAL_ADDRESS _In_ PHYSICAL_ADDRESS _In_opt_ PHYSICAL_ADDRESS _In_ MEMORY_CACHING_TYPE _In_ NODE_REQUIREMENT PreferredNode |
_Must_inspect_result_ _In_ _In_ ULONG ProbeMode |
Definition at line 561 of file mmfuncs.h.
Referenced by HackSecureVirtualMemory(), ObCreateObject(), and ObpIncrementHandleCount().
_In_ PHYSICAL_ADDRESS _In_ PHYSICAL_ADDRESS SkipBytes |
Definition at line 226 of file mmfuncs.h.
Referenced by IsDataUnicode(), MiAllocatePagesForMdl(), MmAllocateNonCachedMemory(), MmAllocatePagesForMdl(), MmAllocatePagesForMdlEx(), TestMmAllocatePagesForMdl(), and wmain().
Definition at line 699 of file mmfuncs.h.
Referenced by MmAddVerifierThunks().
_In_ PHYSICAL_ADDRESS _In_ PHYSICAL_ADDRESS _In_ SIZE_T TotalBytes |
Definition at line 226 of file mmfuncs.h.
Referenced by CookupNodeId(), DECLARE_INTERFACE_(), MiAllocatePagesForMdl(), MmAllocatePagesForMdl(), and MmAllocatePagesForMdlEx().
_Must_inspect_result_ _Outptr_result_bytebuffer_ ViewSize PVOID _Inout_ PSIZE_T ViewSize |