3 #define SANITIZE_PARENT_NODE(Parent) ((PMMADDRESS_NODE)(((ULONG_PTR)(Parent)) & ~0x3))
22 #define MiParent(Links) ( \
23 (PRTL_SPLAY_LINKS)(SANITIZE_PARENT_NODE((Links)->u1.Parent)) \
37 #define MiIsLeftChild(Links) ( \
38 (RtlLeftChild(MiParent(Links)) == (PRTL_SPLAY_LINKS)(Links)) \
52 #define MiIsRightChild(Links) ( \
53 (RtlRightChild(MiParent(Links)) == (PRTL_SPLAY_LINKS)(Links)) \
56 #define MI_MAKE_PARENT(ParentNode, ExistingBalance) \
57 (PMMADDRESS_NODE)((ULONG_PTR)(ParentNode) | (((ULONG_PTR)ExistingBalance) & 0x3))
59 #define COUNT_BALANCE_MAX(a)
VOID MiInsertNode(IN PMMADDRESS_NODE NodeToInsert, IN PMM_AVL_TABLE Table)
ULONG MiRebalanceNode(IN PMMADDRESS_NODE S)
Definition: VadHelpers.c:139
VOID MiPromoteNode(IN PMMADDRESS_NODE C)
Definition: VadHelpers.c:11
VOID MiRemoveNode(IN PMMADDRESS_NODE NodeToDelete, IN PMM_AVL_TABLE Table)
Definition: VadHelpers.c:522
TABLE_SEARCH_RESULT MiFindNodeOrParent(IN PMM_AVL_TABLE Table, IN ULONG_PTR StartingVpn, OUT PMMADDRESS_NODE *NodeOrParent)
Definition: VadHelpers.c:788
typedef VOID(NTAPI *PKNORMAL_ROUTINE)(PVOID NormalContext
Definition: NativeStructs7.h:111
Definition: NativeStructs7.h:101