Searched refs:FreeBlock (Results 1 – 4 of 4) sorted by relevance
/reactos/hal/halx86/generic/ |
H A D | memory.c | 38 PMEMORY_ALLOCATION_DESCRIPTOR MdBlock, NewBlock, FreeBlock; in HalpAllocPhysicalMemory() local 104 FreeBlock = &HalpAllocationDescriptorArray[UsedDescriptors]; in HalpAllocPhysicalMemory() 105 FreeBlock->PageCount = MdBlock->PageCount - Alignment - (ULONG)PageCount; in HalpAllocPhysicalMemory() 106 FreeBlock->BasePage = MdBlock->BasePage + Alignment + (ULONG)PageCount; in HalpAllocPhysicalMemory() 112 InsertHeadList(&MdBlock->ListEntry, &FreeBlock->ListEntry); in HalpAllocPhysicalMemory()
|
/reactos/sdk/lib/cmlib/ |
H A D | hivecell.c | 204 PHCELL FreeBlock, in HvpAddFree() argument 212 ASSERT(FreeBlock != NULL); in HvpAddFree() 215 Index = HvpComputeFreeListIndex((ULONG)FreeBlock->Size); in HvpAddFree() 217 FreeBlockData = (PHCELL_INDEX)(FreeBlock + 1); in HvpAddFree() 310 PHCELL FreeBlock; in HvpCreateHiveFreeCellList() local 334 FreeBlock = (PHCELL)((ULONG_PTR)Bin + FreeOffset); in HvpCreateHiveFreeCellList() 335 if (FreeBlock->Size > 0) in HvpCreateHiveFreeCellList() 337 Status = HvpAddFree(Hive, FreeBlock, Bin->FileOffset + FreeOffset); in HvpCreateHiveFreeCellList() 341 FreeOffset += FreeBlock->Size; in HvpCreateHiveFreeCellList() 345 FreeOffset -= FreeBlock->Size; in HvpCreateHiveFreeCellList()
|
/reactos/boot/freeldr/freeldr/lib/mm/ |
H A D | heap.c | 301 PHEAP_BLOCK FreeBlock) in FrLdrHeapInsertFreeList() argument 304 ASSERT(FreeBlock->Tag == 0); in FrLdrHeapInsertFreeList() 310 NextBlock < FreeBlock; in FrLdrHeapInsertFreeList() 313 FreeBlock->Data[0].Flink = NextBlock - &Heap->Blocks; in FrLdrHeapInsertFreeList() 314 FreeBlock->Data[0].Blink = NextBlock->Data[0].Blink; in FrLdrHeapInsertFreeList() 315 NextBlock->Data[0].Blink = FreeBlock - &Heap->Blocks; in FrLdrHeapInsertFreeList() 316 NextBlock = &Heap->Blocks + FreeBlock->Data[0].Blink; in FrLdrHeapInsertFreeList() 317 NextBlock->Data[0].Flink = FreeBlock - &Heap->Blocks; in FrLdrHeapInsertFreeList()
|
/reactos/sdk/lib/rtl/ |
H A D | heap.c | 1838 PHEAP_FREE_ENTRY FreeBlock, in RtlpSplitEntry() argument 1865 FreeFlags = FreeBlock->Flags; in RtlpSplitEntry() 1866 Heap->TotalFreeSize -= FreeBlock->Size; in RtlpSplitEntry() 1869 InUseEntry = (PHEAP_ENTRY)FreeBlock; in RtlpSplitEntry() 1983 PHEAP_FREE_ENTRY FreeBlock; in RtlpAllocateNonDedicated() local 1990 FreeBlock = RtlpExtendHeap(Heap, AllocationSize); in RtlpAllocateNonDedicated() 1993 if (FreeBlock) in RtlpAllocateNonDedicated() 1998 RtlpRemoveFreeBlock(Heap, FreeBlock, TRUE); in RtlpAllocateNonDedicated() 2001 InUseEntry = RtlpSplitEntry(Heap, Flags, FreeBlock, AllocationSize, Index, Size); in RtlpAllocateNonDedicated()
|