ReactOS 0.4.16-dev-91-g764881a
|
Go to the source code of this file.
Classes | |
struct | _HEAP_COMMON_ENTRY |
struct | _HEAP_FREE_ENTRY |
struct | _HEAP_ENTRY |
struct | _HEAP_TAG_ENTRY |
struct | _HEAP_PSEUDO_TAG_ENTRY |
struct | _HEAP_COUNTERS |
struct | _HEAP_TUNING_PARAMETERS |
struct | _HEAP_LIST_LOOKUP |
struct | _HEAP |
struct | _HEAP_SEGMENT |
struct | _HEAP_UCR_DESCRIPTOR |
struct | _HEAP_UCR_SEGMENT |
struct | _HEAP_ENTRY_EXTRA |
struct | _HEAP_VIRTUAL_ALLOC_ENTRY |
Variables | |
RTL_CRITICAL_SECTION | RtlpProcessHeapsListLock |
BOOLEAN | RtlpPageHeapEnabled |
#define HEAP_ENTRY_SETTABLE_FLAGS (HEAP_ENTRY_SETTABLE_FLAG1 | HEAP_ENTRY_SETTABLE_FLAG2 | HEAP_ENTRY_SETTABLE_FLAG3) |
#define HEAP_EXTRA_FLAGS_MASK |
#define HEAP_MAX_BLOCK_SIZE ((0x80000 - PAGE_SIZE) >> HEAP_ENTRY_SHIFT) |
#define HEAP_SEGMENT_MEMBERS |
#define HEAP_TAG_MASK (HEAP_MAXIMUM_TAG << HEAP_TAG_SHIFT) |
#define HEAP_TAGS_MASK (HEAP_TAG_MASK ^ (0xFF << HEAP_TAG_SHIFT)) |
typedef struct _HEAP_COUNTERS HEAP_COUNTERS |
typedef struct _HEAP_ENTRY HEAP_ENTRY |
typedef struct _HEAP_ENTRY_EXTRA HEAP_ENTRY_EXTRA |
typedef struct _HEAP_FREE_ENTRY HEAP_FREE_ENTRY |
typedef struct _HEAP_LIST_LOOKUP HEAP_LIST_LOOKUP |
typedef struct _HEAP_SEGMENT HEAP_SEGMENT |
typedef struct _HEAP_TAG_ENTRY HEAP_TAG_ENTRY |
typedef struct _HEAP_UCR_SEGMENT HEAP_UCR_SEGMENT |
typedef struct _HEAP_COUNTERS * PHEAP_COUNTERS |
typedef struct _HEAP_ENTRY * PHEAP_ENTRY |
typedef struct _HEAP_ENTRY_EXTRA * PHEAP_ENTRY_EXTRA |
typedef struct _HEAP_FREE_ENTRY * PHEAP_FREE_ENTRY |
typedef HEAP_ENTRY_EXTRA * PHEAP_FREE_ENTRY_EXTRA |
typedef struct _HEAP_LIST_LOOKUP * PHEAP_LIST_LOOKUP |
typedef struct _HEAP_SEGMENT * PHEAP_SEGMENT |
typedef struct _HEAP_TAG_ENTRY * PHEAP_TAG_ENTRY |
typedef struct _HEAP_UCR_DESCRIPTOR * PHEAP_UCR_DESCRIPTOR |
typedef struct _HEAP_UCR_SEGMENT * PHEAP_UCR_SEGMENT |
C_ASSERT | ( | (1<< HEAP_ENTRY_SHIFT) | = =sizeof(HEAP_ENTRY) | ) |
C_ASSERT | ( | (2<< HEAP_ENTRY_SHIFT) | = =sizeof(HEAP_FREE_ENTRY) | ) |
C_ASSERT | ( | sizeof(HEAP_ENTRY) | = =8 | ) |
Definition at line 130 of file heapdbg.c.
Referenced by RtlAllocateHeap().
NTSYSAPI HANDLE NTAPI RtlDebugCreateHeap | ( | ULONG | Flags, |
PVOID | Addr, | ||
SIZE_T | TotalSize, | ||
SIZE_T | CommitSize, | ||
PVOID | Lock, | ||
PRTL_HEAP_PARAMETERS | Parameters | ||
) |
Definition at line 20 of file heapdbg.c.
Referenced by RtlCreateHeap().
Definition at line 95 of file heapdbg.c.
Referenced by RtlDestroyHeap().
Definition at line 267 of file heapdbg.c.
Referenced by RtlFreeHeap().
BOOLEAN NTAPI RtlDebugGetUserInfoHeap | ( | PVOID | HeapHandle, |
ULONG | Flags, | ||
PVOID | BaseAddress, | ||
PVOID * | UserValue, | ||
PULONG | UserFlags | ||
) |
Definition at line 322 of file heapdbg.c.
Referenced by RtlGetUserInfoHeap().
Definition at line 195 of file heapdbg.c.
Referenced by RtlReAllocateHeap().
BOOLEAN NTAPI RtlDebugSetUserFlagsHeap | ( | PVOID | HeapHandle, |
ULONG | Flags, | ||
PVOID | BaseAddress, | ||
ULONG | UserFlagsReset, | ||
ULONG | UserFlagsSet | ||
) |
Definition at line 431 of file heapdbg.c.
Referenced by RtlSetUserFlagsHeap().
BOOLEAN NTAPI RtlDebugSetUserValueHeap | ( | PVOID | HeapHandle, |
ULONG | Flags, | ||
PVOID | BaseAddress, | ||
PVOID | UserValue | ||
) |
Definition at line 375 of file heapdbg.c.
Referenced by RtlSetUserValueHeap().
Definition at line 494 of file heapdbg.c.
Referenced by RtlSizeHeap().
Definition at line 23 of file heapuser.c.
PHEAP_FREE_ENTRY NTAPI RtlpCoalesceFreeBlocks | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
PSIZE_T | FreeSize, | ||
BOOLEAN | Remove | ||
) |
Definition at line 1169 of file heap.c.
Referenced by RtlFreeHeap(), RtlpDeCommitFreeBlock(), RtlpExtendHeap(), and RtlpGrowBlockInPlace().
Definition at line 2351 of file heappage.c.
Referenced by RtlValidateHeap().
PHEAP_ENTRY_EXTRA NTAPI RtlpGetExtraStuffPointer | ( | PHEAP_ENTRY | HeapEntry | ) |
Definition at line 2651 of file heap.c.
Referenced by RtlAllocateHeap(), RtlGetUserInfoHeap(), RtlpAllocateNonDedicated(), RtlReAllocateHeap(), and RtlSetUserValueHeap().
FORCEINLINE BOOLEAN RtlpHeapIsSpecial | ( | ULONG | Flags | ) |
Definition at line 59 of file heap.h.
Referenced by RtlAllocateHeap(), RtlCreateHeap(), RtlDestroyHeap(), RtlFreeHeap(), RtlGetUserInfoHeap(), RtlReAllocateHeap(), RtlSetUserFlagsHeap(), RtlSetUserValueHeap(), and RtlSizeHeap().
Definition at line 1758 of file heappage.c.
Referenced by RtlDebugAllocateHeap(), and RtlpPageHeapReAllocate().
HANDLE NTAPI RtlpPageHeapCreate | ( | ULONG | Flags, |
PVOID | Addr, | ||
SIZE_T | TotalSize, | ||
SIZE_T | CommitSize, | ||
PVOID | Lock, | ||
PRTL_HEAP_PARAMETERS | Parameters | ||
) |
Definition at line 1533 of file heappage.c.
Referenced by RtlCreateHeap().
Definition at line 1674 of file heappage.c.
Referenced by RtlDestroyHeap().
Definition at line 1923 of file heappage.c.
Referenced by RtlDebugFreeHeap().
BOOLEAN NTAPI RtlpPageHeapGetUserInfo | ( | PVOID | HeapHandle, |
ULONG | Flags, | ||
PVOID | BaseAddress, | ||
PVOID * | UserValue, | ||
PULONG | UserFlags | ||
) |
Definition at line 2185 of file heappage.c.
Referenced by RtlDebugGetUserInfoHeap().
Definition at line 2415 of file heappage.c.
Referenced by RtlLockHeap().
Definition at line 2015 of file heappage.c.
Referenced by RtlDebugReAllocateHeap().
BOOLEAN NTAPI RtlpPageHeapSetUserFlags | ( | PVOID | HeapHandle, |
ULONG | Flags, | ||
PVOID | BaseAddress, | ||
ULONG | UserFlagsReset, | ||
ULONG | UserFlagsSet | ||
) |
Definition at line 2268 of file heappage.c.
Referenced by RtlDebugSetUserFlagsHeap().
BOOLEAN NTAPI RtlpPageHeapSetUserValue | ( | PVOID | HeapHandle, |
ULONG | Flags, | ||
PVOID | BaseAddress, | ||
PVOID | UserValue | ||
) |
Definition at line 2227 of file heappage.c.
Referenced by RtlDebugSetUserValueHeap().
Definition at line 2310 of file heappage.c.
Referenced by RtlDebugSizeHeap().
Definition at line 2429 of file heappage.c.
Referenced by RtlUnlockHeap().
Definition at line 56 of file heapuser.c.
Definition at line 3532 of file heap.c.
Referenced by RtlDebugAllocateHeap(), RtlDebugDestroyHeap(), RtlDebugFreeHeap(), RtlDebugGetUserInfoHeap(), RtlDebugReAllocateHeap(), RtlDebugSetUserFlagsHeap(), RtlDebugSetUserValueHeap(), RtlDebugSizeHeap(), and RtlValidateHeap().
BOOLEAN NTAPI RtlpValidateHeapEntry | ( | PHEAP | Heap, |
PHEAP_ENTRY | HeapEntry | ||
) |
Definition at line 3288 of file heap.c.
Referenced by RtlDebugFreeHeap(), RtlDebugGetUserInfoHeap(), RtlDebugReAllocateHeap(), RtlDebugSetUserFlagsHeap(), RtlDebugSetUserValueHeap(), RtlDebugSizeHeap(), and RtlValidateHeap().
Definition at line 3279 of file heap.c.
Referenced by RtlDebugAllocateHeap(), RtlDebugCreateHeap(), RtlDebugFreeHeap(), RtlDebugReAllocateHeap(), and RtlpValidateHeap().
|
extern |
Definition at line 107 of file heappage.c.
|
extern |
Definition at line 17 of file heapuser.c.
Referenced by RtlGetProcessHeaps(), RtlInitializeHeapManager(), RtlpAddHeapToProcessList(), and RtlpRemoveHeapFromProcessList().