ReactOS 0.4.16-dev-1067-ge98bba2
|
#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 157 of file vadnode.c.
Referenced by MiInsertVadEx(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MmIsAddressRangeFree(), MmLocateMemoryAreaByRegion(), and NtAllocateVirtualMemory().
NTSTATUS NTAPI MiCheckSecuredVad | ( | IN PMMVAD | Vad, |
IN PVOID | Base, | ||
IN SIZE_T | Size, | ||
IN ULONG | ProtectionMask | ||
) |
Definition at line 815 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 711 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 593 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 496 of file vadnode.c.
Referenced by MiInsertVadEx(), MiMapLockedPagesInUserSpace(), and MmFindGap().
PMMADDRESS_NODE NTAPI MiGetNextNode | ( | IN PMMADDRESS_NODE | Node | ) |
Definition at line 461 of file vadnode.c.
Referenced by MiFindEmptyAddressRangeInTree(), and MiQueryMemoryBasicInformation().
PMMADDRESS_NODE NTAPI MiGetPreviousNode | ( | IN PMMADDRESS_NODE | Node | ) |
Definition at line 425 of file vadnode.c.
Referenced by MiFindEmptyAddressRangeDownBasedTree(), and MiFindEmptyAddressRangeDownTree().
Definition at line 386 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 209 of file vadnode.c.
Referenced by MiInsertBasedSection(), MiInsertVad(), and MiInsertVadEx().
Definition at line 222 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 245 of file vadnode.c.
Referenced by MiCreatePebOrTeb(), MiMapViewOfDataSection(), and NtAllocateVirtualMemory().
Definition at line 149 of file vadnode.c.
Definition at line 116 of file vadnode.c.
Referenced by MiLocateAddress(), MiUnmapViewOfSection(), and MmAccessFault().
VOID NTAPI MiRemoveNode | ( | IN PMMADDRESS_NODE | Node, |
IN PMM_AVL_TABLE | Table | ||
) |
Definition at line 403 of file vadnode.c.
Referenced by MiDeleteARM3Section(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmCleanProcessAddressSpace(), MmDeleteTeb(), MmFreeMemoryArea(), and NtFreeVirtualMemory().
|
extern |
CHAR MmReadWrite[32] |