ReactOS
0.4.15-dev-4569-g032c50f
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
UCHAR | RtlpBitsClearLow [] |
UCHAR | FillPattern [HEAP_ENTRY_SIZE] |
Definition at line 2049 of file heap.c.
Definition at line 3084 of file heap.c.
Referenced by GlobalCompact(), HeapCompact(), LocalCompact(), and LocalShrink().
HANDLE NTAPI RtlCreateHeap | ( | ULONG | Flags, |
PVOID | Addr, | ||
SIZE_T | TotalSize, | ||
SIZE_T | CommitSize, | ||
PVOID | Lock, | ||
PRTL_HEAP_PARAMETERS | Parameters | ||
) |
Definition at line 1403 of file heap.c.
ULONG NTAPI RtlCreateTagHeap | ( | _In_ HANDLE | HeapHandle, |
_In_ ULONG | Flags, | ||
_In_opt_ PWSTR | TagName, | ||
_In_ PWSTR | TagSubName | ||
) |
Definition at line 1729 of file heap.c.
NTSTATUS NTAPI RtlEnumProcessHeaps | ( | PHEAP_ENUMERATION_ROUTINE | HeapEnumerationRoutine, |
PVOID | lParam | ||
) |
Definition at line 2267 of file heap.c.
BOOLEAN NTAPI RtlGetUserInfoHeap | ( | IN PVOID | HeapHandle, |
IN ULONG | Flags, | ||
IN PVOID | BaseAddress, | ||
OUT PVOID * | UserValue, | ||
OUT PULONG | UserFlags | ||
) |
Definition at line 3928 of file heap.c.
Referenced by GlobalFlags(), GlobalHandle(), GlobalReAlloc(), GlobalSize(), LocalFlags(), RtlDebugGetUserInfoHeap(), and START_TEST().
Definition at line 3106 of file heap.c.
ULONG NTAPI RtlMultipleAllocateHeap | ( | IN PVOID | HeapHandle, |
IN ULONG | Flags, | ||
IN SIZE_T | Size, | ||
IN ULONG | Count, | ||
OUT PVOID * | Array | ||
) |
Definition at line 4125 of file heap.c.
ULONG NTAPI RtlMultipleFreeHeap | ( | IN PVOID | HeapHandle, |
IN ULONG | Flags, | ||
IN ULONG | Count, | ||
OUT PVOID * | Array | ||
) |
Definition at line 4161 of file heap.c.
|
static |
Definition at line 1957 of file heap.c.
Referenced by RtlAllocateHeap().
BOOLEAN NTAPI RtlpCheckInUsePattern | ( | PHEAP_ENTRY | HeapEntry | ) |
Definition at line 3230 of file heap.c.
Referenced by RtlpValidateHeap(), RtlpValidateHeapEntry(), and RtlpValidateHeapSegment().
PHEAP_FREE_ENTRY NTAPI RtlpCoalesceFreeBlocks | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
PSIZE_T | FreeSize, | ||
BOOLEAN | Remove | ||
) |
Definition at line 1150 of file heap.c.
Referenced by RtlFreeHeap(), RtlpDeCommitFreeBlock(), RtlpExtendHeap(), and RtlpGrowBlockInPlace().
PHEAP_FREE_ENTRY NTAPI RtlpCoalesceHeap | ( | PHEAP | Heap | ) |
PHEAP_UCR_DESCRIPTOR NTAPI RtlpCreateUnCommittedRange | ( | PHEAP_SEGMENT | Segment | ) |
Definition at line 513 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), and RtlpInsertUnCommittedPages().
|
static |
Definition at line 834 of file heap.c.
Referenced by RtlFreeHeap().
VOID NTAPI RtlpDestroyHeapSegment | ( | PHEAP_SEGMENT | Segment | ) |
Definition at line 1118 of file heap.c.
Referenced by RtlDestroyHeap().
VOID NTAPI RtlpDestroyUnCommittedRange | ( | PHEAP_SEGMENT | Segment, |
PHEAP_UCR_DESCRIPTOR | UcrDescriptor | ||
) |
Definition at line 608 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), RtlpFindAndCommitPages(), and RtlpInsertUnCommittedPages().
|
static |
Definition at line 1247 of file heap.c.
Referenced by RtlpAllocateNonDedicated().
|
static |
Definition at line 690 of file heap.c.
Referenced by RtlpExtendHeap(), and RtlpGrowBlockInPlace().
FORCEINLINE UCHAR RtlpFindLeastSetBit | ( | ULONG | Bits | ) |
PHEAP_ENTRY_EXTRA NTAPI RtlpGetExtraStuffPointer | ( | PHEAP_ENTRY | HeapEntry | ) |
Definition at line 2632 of file heap.c.
Referenced by RtlAllocateHeap(), RtlGetUserInfoHeap(), RtlpAllocateNonDedicated(), RtlReAllocateHeap(), and RtlSetUserValueHeap().
SIZE_T NTAPI RtlpGetSizeOfBigBlock | ( | PHEAP_ENTRY | HeapEntry | ) |
Definition at line 500 of file heap.c.
Referenced by RtlpCheckInUsePattern(), RtlReAllocateHeap(), and RtlSizeHeap().
BOOLEAN NTAPI RtlpGrowBlockInPlace | ( | IN PHEAP | Heap, |
IN ULONG | Flags, | ||
IN PHEAP_ENTRY | InUseEntry, | ||
IN SIZE_T | Size, | ||
IN SIZE_T | Index | ||
) |
Definition at line 2392 of file heap.c.
Referenced by RtlReAllocateHeap().
NTSTATUS NTAPI RtlpInitializeHeap | ( | OUT PHEAP | Heap, |
IN ULONG | Flags, | ||
IN PHEAP_LOCK Lock | OPTIONAL, | ||
IN PRTL_HEAP_PARAMETERS | Parameters | ||
) |
Definition at line 106 of file heap.c.
Referenced by RtlCreateHeap().
NTSTATUS NTAPI RtlpInitializeHeapSegment | ( | IN OUT PHEAP | Heap, |
OUT PHEAP_SEGMENT | Segment, | ||
IN UCHAR | SegmentIndex, | ||
IN ULONG | SegmentFlags, | ||
IN SIZE_T | SegmentReserve, | ||
IN SIZE_T | SegmentCommit | ||
) |
Definition at line 1002 of file heap.c.
Referenced by RtlCreateHeap(), and RtlpExtendHeap().
VOID NTAPI RtlpInsertFreeBlock | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
SIZE_T | BlockSize | ||
) |
Definition at line 357 of file heap.c.
Referenced by RtlFreeHeap(), RtlpDeCommitFreeBlock(), RtlpExtendHeap(), RtlpGrowBlockInPlace(), RtlpInitializeHeapSegment(), RtlpSplitEntry(), and RtlReAllocateHeap().
VOID NTAPI RtlpInsertFreeBlockHelper | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
SIZE_T | BlockSize, | ||
BOOLEAN | NoFill | ||
) |
Definition at line 238 of file heap.c.
Referenced by RtlpGrowBlockInPlace(), RtlpInsertFreeBlock(), RtlpSplitEntry(), and RtlReAllocateHeap().
VOID NTAPI RtlpInsertUnCommittedPages | ( | PHEAP_SEGMENT | Segment, |
ULONG_PTR | Address, | ||
SIZE_T | Size | ||
) |
Definition at line 620 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), and RtlpInitializeHeapSegment().
|
static |
Definition at line 86 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), and RtlpGrowBlockInPlace().
|
static |
Definition at line 422 of file heap.c.
Referenced by RtlAllocateHeap(), RtlpAllocateNonDedicated(), RtlpCoalesceFreeBlocks(), RtlpGrowBlockInPlace(), RtlpSplitEntry(), and RtlReAllocateHeap().
PHEAP_ENTRY NTAPI RtlpSplitEntry | ( | PHEAP | Heap, |
ULONG | Flags, | ||
PHEAP_FREE_ENTRY | FreeBlock, | ||
SIZE_T | AllocationSize, | ||
SIZE_T | Index, | ||
SIZE_T | Size | ||
) |
Definition at line 1817 of file heap.c.
Referenced by RtlAllocateHeap(), and RtlpAllocateNonDedicated().
Definition at line 3513 of file heap.c.
Referenced by RtlDebugAllocateHeap(), RtlDebugDestroyHeap(), RtlDebugFreeHeap(), RtlDebugGetUserInfoHeap(), RtlDebugReAllocateHeap(), RtlDebugSetUserFlagsHeap(), RtlDebugSetUserValueHeap(), RtlDebugSizeHeap(), and RtlValidateHeap().