ReactOS
0.4.15-dev-1629-g9aa73da
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
UCHAR | RtlpBitsClearLow [] |
UCHAR | FillPattern [HEAP_ENTRY_SIZE] |
Definition at line 1954 of file heap.c.
Definition at line 3040 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 1254 of file heap.c.
ULONG NTAPI RtlCreateTagHeap | ( | IN HANDLE | HeapHandle, |
IN ULONG | Flags, | ||
IN PWSTR | TagName, | ||
IN PWSTR | TagSubName | ||
) |
Definition at line 1573 of file heap.c.
NTSTATUS NTAPI RtlEnumProcessHeaps | ( | PHEAP_ENUMERATION_ROUTINE | HeapEnumerationRoutine, |
PVOID | lParam | ||
) |
Definition at line 2198 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 3853 of file heap.c.
Referenced by GlobalFlags(), GlobalHandle(), GlobalReAlloc(), GlobalSize(), LocalFlags(), RtlDebugGetUserInfoHeap(), and START_TEST().
Definition at line 3062 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 4050 of file heap.c.
ULONG NTAPI RtlMultipleFreeHeap | ( | IN PVOID | HeapHandle, |
IN ULONG | Flags, | ||
IN ULONG | Count, | ||
OUT PVOID * | Array | ||
) |
Definition at line 4086 of file heap.c.
PVOID NTAPI RtlpAllocateNonDedicated | ( | PHEAP | Heap, |
ULONG | Flags, | ||
SIZE_T | Size, | ||
SIZE_T | AllocationSize, | ||
SIZE_T | Index, | ||
BOOLEAN | HeapLocked | ||
) |
Definition at line 1801 of file heap.c.
Referenced by RtlAllocateHeap().
BOOLEAN NTAPI RtlpCheckInUsePattern | ( | PHEAP_ENTRY | HeapEntry | ) |
Definition at line 3186 of file heap.c.
Referenced by RtlpValidateHeap(), RtlpValidateHeapEntry(), and RtlpValidateHeapSegment().
FORCEINLINE VOID RtlpClearFreeListsBit | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry | ||
) |
Definition at line 231 of file heap.c.
Referenced by RtlpRemoveFreeBlock().
PHEAP_FREE_ENTRY NTAPI RtlpCoalesceFreeBlocks | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
PSIZE_T | FreeSize, | ||
BOOLEAN | Remove | ||
) |
Definition at line 1000 of file heap.c.
Referenced by RtlFreeHeap(), RtlpExtendHeap(), and RtlpGrowBlockInPlace().
PHEAP_FREE_ENTRY NTAPI RtlpCoalesceHeap | ( | PHEAP | Heap | ) |
PHEAP_UCR_DESCRIPTOR NTAPI RtlpCreateUnCommittedRange | ( | PHEAP_SEGMENT | Segment | ) |
Definition at line 438 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), and RtlpInsertUnCommittedPages().
VOID NTAPI RtlpDeCommitFreeBlock | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
SIZE_T | Size | ||
) |
Definition at line 746 of file heap.c.
Referenced by RtlFreeHeap().
VOID NTAPI RtlpDestroyHeapSegment | ( | PHEAP_SEGMENT | Segment | ) |
Definition at line 968 of file heap.c.
Referenced by RtlDestroyHeap().
VOID NTAPI RtlpDestroyUnCommittedRange | ( | PHEAP_SEGMENT | Segment, |
PHEAP_UCR_DESCRIPTOR | UcrDescriptor | ||
) |
Definition at line 531 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), RtlpFindAndCommitPages(), and RtlpInsertUnCommittedPages().
PHEAP_FREE_ENTRY NTAPI RtlpExtendHeap | ( | PHEAP | Heap, |
SIZE_T | Size | ||
) |
Definition at line 1098 of file heap.c.
Referenced by RtlpAllocateNonDedicated().
PHEAP_FREE_ENTRY NTAPI RtlpFindAndCommitPages | ( | PHEAP | Heap, |
PHEAP_SEGMENT | Segment, | ||
PSIZE_T | Size, | ||
PVOID | AddressRequested | ||
) |
Definition at line 612 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 2587 of file heap.c.
Referenced by RtlAllocateHeap(), RtlGetUserInfoHeap(), RtlpAllocateNonDedicated(), RtlReAllocateHeap(), and RtlSetUserValueHeap().
SIZE_T NTAPI RtlpGetSizeOfBigBlock | ( | PHEAP_ENTRY | HeapEntry | ) |
Definition at line 425 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 2343 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 87 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 892 of file heap.c.
Referenced by RtlCreateHeap(), and RtlpExtendHeap().
VOID NTAPI RtlpInsertFreeBlock | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
SIZE_T | BlockSize | ||
) |
Definition at line 319 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 251 of file heap.c.
Referenced by RtlFreeHeap(), RtlpDeCommitFreeBlock(), RtlpGrowBlockInPlace(), RtlpInsertFreeBlock(), RtlpSplitEntry(), and RtlReAllocateHeap().
VOID NTAPI RtlpInsertUnCommittedPages | ( | PHEAP_SEGMENT | Segment, |
ULONG_PTR | Address, | ||
SIZE_T | Size | ||
) |
Definition at line 543 of file heap.c.
Referenced by RtlpDeCommitFreeBlock(), and RtlpInitializeHeapSegment().
VOID NTAPI RtlpRemoveFreeBlock | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry, | ||
BOOLEAN | Dedicated, | ||
BOOLEAN | NoFill | ||
) |
Definition at line 383 of file heap.c.
Referenced by RtlAllocateHeap(), RtlpCoalesceFreeBlocks(), RtlpGrowBlockInPlace(), RtlpSplitEntry(), and RtlReAllocateHeap().
FORCEINLINE VOID RtlpSetFreeListsBit | ( | PHEAP | Heap, |
PHEAP_FREE_ENTRY | FreeEntry | ||
) |
Definition at line 211 of file heap.c.
Referenced by RtlpInsertFreeBlockHelper().
PHEAP_ENTRY NTAPI RtlpSplitEntry | ( | PHEAP | Heap, |
ULONG | Flags, | ||
PHEAP_FREE_ENTRY | FreeBlock, | ||
SIZE_T | AllocationSize, | ||
SIZE_T | Index, | ||
SIZE_T | Size | ||
) |
Definition at line 1661 of file heap.c.
Referenced by RtlAllocateHeap(), and RtlpAllocateNonDedicated().
Definition at line 3469 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 3225 of file heap.c.
Referenced by RtlDebugFreeHeap(), RtlDebugGetUserInfoHeap(), RtlDebugReAllocateHeap(), RtlDebugSetUserFlagsHeap(), RtlDebugSetUserValueHeap(), RtlDebugSizeHeap(), and RtlValidateHeap().
Definition at line 3216 of file heap.c.
Referenced by RtlDebugAllocateHeap(), RtlDebugCreateHeap(), RtlDebugFreeHeap(), RtlDebugReAllocateHeap(), and RtlpValidateHeap().