Home
last modified time | relevance | path

Searched refs:Heap (Results 1 – 25 of 25) sorted by relevance

/reactos/sdk/lib/rtl/
H A Dheapdbg.c29 PHEAP Heap; in RtlDebugCreateHeap() local
85 if (!Heap) return NULL; in RtlDebugCreateHeap()
91 return Heap; in RtlDebugCreateHeap()
108 DPRINT1("HEAP: Invalid heap %p signature 0x%x\n", Heap, Heap->Signature); in RtlDebugDestroyHeap()
115 Heap->Signature = 0; in RtlDebugDestroyHeap()
144 DPRINT1("HEAP: Invalid heap %p signature 0x%x\n", Heap, Heap->Signature); in RtlDebugAllocateHeap()
211 DPRINT1("HEAP: Invalid heap %p signature 0x%x\n", Heap, Heap->Signature); in RtlDebugReAllocateHeap()
281 DPRINT1("HEAP: Invalid heap %p signature 0x%x\n", Heap, Heap->Signature); in RtlDebugFreeHeap()
338 DPRINT1("HEAP: Invalid heap %p signature 0x%x\n", Heap, Heap->Signature); in RtlDebugGetUserInfoHeap()
390 DPRINT1("HEAP: Invalid heap %p signature 0x%x\n", Heap, Heap->Signature); in RtlDebugSetUserValueHeap()
[all …]
H A Dheap.c156Heap->Entry.SmallTagIndex = LOBYTE(Heap->Entry.Size) ^ HIBYTE(Heap->Entry.Size) ^ Heap->Entry.Flag… in RtlpInitializeHeap()
531 PHEAP Heap = Segment->Heap; in RtlpCreateUnCommittedRange() local
729 Status = Heap->CommitRoutine(Heap, &Address, Size); in RtlpFindAndCommitPages()
1049 Segment->Heap = Heap; in RtlpInitializeHeapSegment()
1444 if (Heap) return Heap; in RtlCreateHeap()
1732 return Heap; in RtlCreateHeap()
2292 PHEAP Heap; in RtlFreeHeap() local
3210 if (!Heap) in RtlSizeHeap()
3280 PHEAP Heap, in RtlpValidateHeapHeaders() argument
3289 PHEAP Heap, in RtlpValidateHeapEntry() argument
[all …]
H A Dheapuser.c23 RtlpAddHeapToProcessList(PHEAP Heap) in RtlpAddHeapToProcessList() argument
42 Peb->ProcessHeaps[Peb->NumberOfHeaps] = Heap; in RtlpAddHeapToProcessList()
44 Heap->ProcessHeapsListIndex = (USHORT)Peb->NumberOfHeaps; in RtlpAddHeapToProcessList()
56 RtlpRemoveHeapFromProcessList(PHEAP Heap) in RtlpRemoveHeapFromProcessList() argument
69 if ((Heap->ProcessHeapsListIndex == 0) || in RtlpRemoveHeapFromProcessList()
70 (Heap->ProcessHeapsListIndex > Peb->NumberOfHeaps) || in RtlpRemoveHeapFromProcessList()
83 Current = (PHEAP *)&Peb->ProcessHeaps[Heap->ProcessHeapsListIndex - 1]; in RtlpRemoveHeapFromProcessList()
87 Count = Peb->NumberOfHeaps - (Heap->ProcessHeapsListIndex - 1); in RtlpRemoveHeapFromProcessList()
108 Heap->ProcessHeapsListIndex = 0; in RtlpRemoveHeapFromProcessList()
H A Dheap.h211 struct _HEAP *Heap; \
324 RtlpCoalesceFreeBlocks (PHEAP Heap,
333 RtlpValidateHeap(PHEAP Heap, BOOLEAN ForceValidation);
336 RtlpValidateHeapEntry(PHEAP Heap, PHEAP_ENTRY HeapEntry);
339 RtlpValidateHeapHeaders(PHEAP Heap, BOOLEAN Recalculate);
465 RtlpAddHeapToProcessList(PHEAP Heap);
469 RtlpRemoveHeapFromProcessList(PHEAP Heap);
H A Dheappage.c28 PVOID Heap; member
450 BlockInfo->Heap = DphRoot; in RtlpDphWritePageHeapBlockInformation()
1277 if (BlockInfo->Heap == DphRoot) in RtlpDphFreeDelayedBlocksFromHeap()
1283 BlockInfo->Heap = NULL; in RtlpDphFreeDelayedBlocksFromHeap()
1375 SafeInfo.Heap, "Actual heap handle"); in RtlpDphReportCorruptedBlock()
1453 if (BlockInfo->Heap != DphRoot) in RtlpDphIsPageHeapBlock()
/reactos/boot/freeldr/freeldr/lib/mm/
H A Dheap.c80 if (!Heap) in FrLdrHeapCreate()
126 Heap->TerminatingBlock = Block - &Heap->Blocks; in FrLdrHeapCreate()
132 Heap->Blocks.Data[0].Blink = Heap->TerminatingBlock; in FrLdrHeapCreate()
151 RtlFillMemory(Heap, Heap->MaximumSize, 0xCCCCCCCC); in FrLdrHeapDestroy()
258 Heap->CurrentAllocBytes, Heap->MaxAllocBytes, Heap->LargestAllocation, in FrLdrHeapCleanupAll()
259 Heap->NumAllocs, Heap->NumFrees); in FrLdrHeapCleanupAll()
261 Heap->AllocationTime, Heap->FreeTime, Heap->AllocationTime + Heap->FreeTime); in FrLdrHeapCleanupAll()
272 Heap->CurrentAllocBytes, Heap->MaxAllocBytes, Heap->LargestAllocation, in FrLdrHeapCleanupAll()
273 Heap->NumAllocs, Heap->NumFrees); in FrLdrHeapCleanupAll()
355 Block = &Heap->Blocks + Heap->TerminatingBlock; in FrLdrHeapAllocateEx()
[all …]
/reactos/boot/environ/lib/mm/
H A Dheapalloc.c107 PBL_HEAP_BOUNDARIES Heap, NewHeap; in MmHapHeapAllocatorExtend() local
135 Heap = CONTAINING_RECORD(MmHeapBoundaries.Flink, in MmHapHeapAllocatorExtend()
140 HeapLimit = Heap->HeapLimit + PAGE_SIZE; in MmHapHeapAllocatorExtend()
141 if (HeapLimit <= Heap->HeapEnd) in MmHapHeapAllocatorExtend()
574 PBL_HEAP_BOUNDARIES Heap; in BlMmAllocateHeap() local
613 Heap = CONTAINING_RECORD(MmHeapBoundaries.Flink, in BlMmAllocateHeap()
618 FreeEntry = Heap->HeapStart; in BlMmAllocateHeap()
626 Heap->HeapStart = NextEntry; in BlMmAllocateHeap()
629 FreeEntry->BufferNext.P = Heap->HeapStart; in BlMmAllocateHeap()
635 Heap->HeapStart->BufferNext.BufferFree = 1; in BlMmAllocateHeap()
[all …]
/reactos/dll/win32/aclui/
H A Dsidcache.c47 HANDLE Heap; member
89 HeapFree(scm->Heap, in FreeQueueEntry()
93 HeapFree(scm->Heap, in FreeQueueEntry()
105 HeapFree(scm->Heap, in FreeCacheEntry()
579 HeapFree(scm->Heap, in LookupThreadProc()
596 CreateSidCacheMgr(IN HANDLE Heap, in CreateSidCacheMgr() argument
604 scm = HeapAlloc(Heap, in CreateSidCacheMgr()
616 scm->Heap = Heap; in CreateSidCacheMgr()
660 HeapFree(Heap, in CreateSidCacheMgr()
761 HeapFree(scm->Heap, in QueueSidLookup()
[all …]
H A Dprecomp.h181 CreateSidCacheMgr(IN HANDLE Heap,
/reactos/dll/win32/kernel32/client/
H A Dtoolhelp.c492 PRTL_HEAP_INFORMATION Heap; in Heap32First() local
519 Heap = &DebugInfo->Heaps->Heaps[i]; in Heap32First()
521 if ((ULONG_PTR)Heap->BaseAddress == th32HeapID) in Heap32First()
523 lphe->hHandle = (HANDLE)Heap->BaseAddress; in Heap32First()
530 lphe->th32HeapID = (ULONG_PTR)Heap->BaseAddress; in Heap32First()
532 Block = (PRTLP_HEAP_ENTRY)Heap->Entries; in Heap32First()
533 LastBlock = Block + Heap->NumberOfEntries; in Heap32First()
581 PRTL_HEAP_INFORMATION Heap; in Heap32Next() local
609 Heap = &DebugInfo->Heaps->Heaps[i]; in Heap32Next()
613 if (++lphe->dwResvd < Heap->NumberOfEntries) in Heap32Next()
[all …]
/reactos/dll/win32/mmdrv/
H A Dutils.c118 pNewDevice = (PDEVICE_LIST) HeapAlloc(Heap, 0, in AddDeviceToList()
152 HeapFree(Heap, 0, (LPVOID)pDevice->DeviceInstanceData); in FreeDeviceList()
154 HeapFree(Heap, 0, (LPSTR)pDevice); in FreeDeviceList()
H A Dmidi.c114 pClient = (PMIDIALLOC) HeapAlloc(Heap, 0, sizeof(MIDIALLOC)); in OpenMidiDevice()
119 pClient = (PMIDIALLOC) HeapAlloc(Heap, 0, sizeof(MIDIALLOC) + sizeof(LOCALMIDIDATA)); in OpenMidiDevice()
/reactos/base/setup/usetup/spapisup/
H A Dinffile.h42 extern VOID InfSetHeap(PVOID Heap);
/reactos/ntoskrnl/rtl/
H A Dlibsupp.c230 RtlpAddHeapToProcessList(struct _HEAP *Heap) in RtlpAddHeapToProcessList() argument
232 UNREFERENCED_PARAMETER(Heap); in RtlpAddHeapToProcessList()
237 RtlpRemoveHeapFromProcessList(struct _HEAP *Heap) in RtlpRemoveHeapFromProcessList() argument
239 UNREFERENCED_PARAMETER(Heap); in RtlpRemoveHeapFromProcessList()
/reactos/sdk/lib/inflib/
H A Dinfrosgen.c40 InfSetHeap(PVOID Heap) in InfSetHeap() argument
44 InfpHeap = Heap; in InfSetHeap()
H A Dinfros.h17 extern VOID InfSetHeap(PVOID Heap);
/reactos/base/services/svchost/
H A Dglobals.c59 _In_ HANDLE Heap in MemInit() argument
63 g_hHeap = Heap; in MemInit()
H A Dsvchost.h168 _In_ HANDLE Heap
/reactos/base/applications/msconfig_new/
H A Dutils.h20 MemInit(IN HANDLE Heap);
H A Dutils.c18 MemInit(IN HANDLE Heap)
21 g_hHeap = Heap;
/reactos/drivers/usb/usbd/
H A Dusbd.c84 USBD_Debug_RetHeap(PVOID Heap, ULONG Unknown2, ULONG Unknown3) in USBD_Debug_RetHeap() argument
86 ExFreePool(Heap); in USBD_Debug_RetHeap()
/reactos/sdk/include/reactos/winsock/
H A Dmsafdlib.h183 IN HANDLE Heap,
226 SockInitializeHeap(IN HANDLE Heap,
/reactos/sdk/include/ndk/
H A Drtlfuncs.h910 _In_ HANDLE Heap,
931 _In_ _Post_invalid_ HANDLE Heap
938 _In_ HANDLE Heap,
1011 _In_ HANDLE Heap,
1031 _In_ HANDLE Heap
1059 _In_ HANDLE Heap,
1068 _In_ HANDLE Heap
1094 _In_ HANDLE Heap,
/reactos/drivers/filesystems/udfs/Include/
H A Dnt_native.h1753 HANDLE Heap,
1764 HANDLE Heap,
/reactos/sdk/lib/3rdparty/libxml2/
H A DNEWS953 Heap-buffer-overflow read of size 1 in xmlFAParsePosCharGroup (David Kilzer),
1055 Heap-based buffer overread in htmlCurrentChar (Pranjal Jumde),
1056 Heap-based buffer-underreads due to xmlParseName (David Kilzer),
1057 Heap use-after-free in xmlSAX2AttributeNs (Pranjal Jumde),
1058 Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral (Pranjal Jumde),
1062 …Bug 759398: Heap use-after-free in xmlDictComputeFastKey <https://bugzilla.gnome.org/show_bug.cgi?…
1063 …Bug 758605: Heap-based buffer overread in xmlDictAddString <https://bugzilla.gnome.org/show_bug.cg…
1064 …Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal <https://bugzilla.gnom…
1130 Heap-based buffer overread in xmlNextChar (Daniel Veillard)