ReactOS 0.4.16-dev-91-g764881a
|
#include <ntoskrnl.h>
#include <debug.h>
#include <mm/ARM3/miarm.h>
#include "miavl.h"
#include <sdk/lib/rtl/avlsupp.c>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MODULE_INVOLVED_IN_ARM3 |
#define | ASSERT_LOCKED_FOR_READ(Table) |
#define | ASSERT_LOCKED_FOR_WRITE(Table) |
Variables | |
CHAR | MmReadWrite [32] |
MM_AVL_TABLE | MiRosKernelVadRoot |
TABLE_SEARCH_RESULT NTAPI MiCheckForConflictingNode | ( | IN ULONG_PTR | StartVpn, |
IN ULONG_PTR | EndVpn, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PMMADDRESS_NODE * | NodeOrParent | ||
) |
Definition at line 150 of file vadnode.c.
Referenced by MiInsertVadEx(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MmLocateMemoryAreaByAddress(), MmLocateMemoryAreaByRegion(), and NtAllocateVirtualMemory().
NTSTATUS NTAPI MiCheckSecuredVad | ( | IN PMMVAD | Vad, |
IN PVOID | Base, | ||
IN SIZE_T | Size, | ||
IN ULONG | ProtectionMask | ||
) |
Definition at line 903 of file vadnode.c.
Referenced by MiUnmapViewOfSection(), and NtAllocateVirtualMemory().
NTSTATUS NTAPI MiFindEmptyAddressRangeDownBasedTree | ( | IN SIZE_T | Length, |
IN ULONG_PTR | BoundaryAddress, | ||
IN ULONG_PTR | Alignment, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PULONG_PTR | Base | ||
) |
Definition at line 799 of file vadnode.c.
Referenced by MmCreateArm3Section().
TABLE_SEARCH_RESULT NTAPI MiFindEmptyAddressRangeDownTree | ( | IN SIZE_T | Length, |
IN ULONG_PTR | BoundaryAddress, | ||
IN ULONG_PTR | Alignment, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PULONG_PTR | Base, | ||
OUT PMMADDRESS_NODE * | Parent | ||
) |
Definition at line 681 of file vadnode.c.
Referenced by MiInsertVadEx(), and MmFindGap().
TABLE_SEARCH_RESULT NTAPI MiFindEmptyAddressRangeInTree | ( | IN SIZE_T | Length, |
IN ULONG_PTR | Alignment, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PMMADDRESS_NODE * | PreviousVad, | ||
OUT PULONG_PTR | Base | ||
) |
Definition at line 584 of file vadnode.c.
Referenced by MiInsertVadEx(), MiMapLockedPagesInUserSpace(), and MmFindGap().
PMMADDRESS_NODE NTAPI MiGetNextNode | ( | IN PMMADDRESS_NODE | Node | ) |
Definition at line 549 of file vadnode.c.
Referenced by MiFindEmptyAddressRangeInTree(), and MiQueryMemoryBasicInformation().
PMMADDRESS_NODE NTAPI MiGetPreviousNode | ( | IN PMMADDRESS_NODE | Node | ) |
Definition at line 513 of file vadnode.c.
Referenced by MiFindEmptyAddressRangeDownBasedTree(), and MiFindEmptyAddressRangeDownTree().
Definition at line 423 of file vadnode.c.
Referenced by MmCreateArm3Section().
VOID NTAPI MiInsertNode | ( | IN PMM_AVL_TABLE | Table, |
IN PMMADDRESS_NODE | NewNode, | ||
IN PMMADDRESS_NODE | Parent, | ||
IN TABLE_SEARCH_RESULT | Result | ||
) |
Definition at line 202 of file vadnode.c.
Referenced by MiInsertBasedSection(), MiInsertVad(), and MiInsertVadEx().
Definition at line 259 of file vadnode.c.
Referenced by MmInsertMemoryArea().
NTSTATUS NTAPI MiInsertVadEx | ( | _Inout_ PMMVAD | Vad, |
_In_ ULONG_PTR * | BaseAddress, | ||
_In_ SIZE_T | ViewSize, | ||
_In_ ULONG_PTR | HighestAddress, | ||
_In_ ULONG_PTR | Alignment, | ||
_In_ ULONG | AllocationType | ||
) |
Definition at line 282 of file vadnode.c.
Referenced by MiCreatePebOrTeb(), MiMapViewOfDataSection(), and NtAllocateVirtualMemory().
Definition at line 116 of file vadnode.c.
Referenced by MiCheckVadsForLockOperation(), MiCheckVirtualAddress(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmDeleteTeb(), MmGetFileNameForAddress(), NtAreMappedFilesTheSame(), and NtFreeVirtualMemory().
VOID NTAPI MiRemoveNode | ( | IN PMMADDRESS_NODE | Node, |
IN PMM_AVL_TABLE | Table | ||
) |
Definition at line 440 of file vadnode.c.
Referenced by MiDeleteARM3Section(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmCleanProcessAddressSpace(), MmDeleteTeb(), MmFreeMemoryArea(), and NtFreeVirtualMemory().
|
extern |
Definition at line 54 of file marea.c.
Referenced by MmFindGap(), MmFreeMemoryArea(), MmInsertMemoryArea(), MmLocateMemoryAreaByAddress(), and MmLocateMemoryAreaByRegion().
CHAR MmReadWrite[32] |