/reactos/sdk/lib/rtl/ |
H A D | heapdbg.c | 29 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 D | heap.c | 156 …Heap->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 D | heapuser.c | 23 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 D | heap.h | 211 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 D | heappage.c | 28 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 D | heap.c | 80 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 D | heapalloc.c | 107 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 D | sidcache.c | 47 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 D | precomp.h | 181 CreateSidCacheMgr(IN HANDLE Heap,
|
/reactos/dll/win32/kernel32/client/ |
H A D | toolhelp.c | 492 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 D | utils.c | 118 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 D | midi.c | 114 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 D | inffile.h | 42 extern VOID InfSetHeap(PVOID Heap);
|
/reactos/ntoskrnl/rtl/ |
H A D | libsupp.c | 230 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 D | infrosgen.c | 40 InfSetHeap(PVOID Heap) in InfSetHeap() argument 44 InfpHeap = Heap; in InfSetHeap()
|
H A D | infros.h | 17 extern VOID InfSetHeap(PVOID Heap);
|
/reactos/base/services/svchost/ |
H A D | globals.c | 59 _In_ HANDLE Heap in MemInit() argument 63 g_hHeap = Heap; in MemInit()
|
H A D | svchost.h | 168 _In_ HANDLE Heap
|
/reactos/base/applications/msconfig_new/ |
H A D | utils.h | 20 MemInit(IN HANDLE Heap);
|
H A D | utils.c | 18 MemInit(IN HANDLE Heap) 21 g_hHeap = Heap;
|
/reactos/drivers/usb/usbd/ |
H A D | usbd.c | 84 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 D | msafdlib.h | 183 IN HANDLE Heap, 226 SockInitializeHeap(IN HANDLE Heap,
|
/reactos/sdk/include/ndk/ |
H A D | rtlfuncs.h | 910 _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 D | nt_native.h | 1753 HANDLE Heap, 1764 HANDLE Heap,
|
/reactos/sdk/lib/3rdparty/libxml2/ |
H A D | NEWS | 953 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)
|