/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
D | RuntimeMemAllocation.c | 53 UINTN PageCount; member 108 mRTPageTable->PageCount = MemorySize / (RT_PAGE_SIZE + sizeof (RT_MEMORY_PAGE_ENTRY)); in InitializeScratchMemory() 111 for (Index = 0; Index < mRTPageTable->PageCount; Index++) { in InitializeScratchMemory() 117 (mRTPageTable->PageCount - 1) * sizeof (RT_MEMORY_PAGE_ENTRY); in InitializeScratchMemory() 147 for (Index = StartPageIndex; Index <= (mRTPageTable->PageCount - ReqPages); ) { in LookupFreeMemRegion() 288 while (StartPageIndex < mRTPageTable->PageCount) { in RuntimeFreeMem() 397 UINTN PageCount; in realloc() local 408 PageCount = 0; in realloc() 409 while (StartPageIndex < mRTPageTable->PageCount) { in realloc() 413 PageCount++; in realloc() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Dispatcher.c | 315 UINTN PageCount; in SmmLoadImage() local 476 PageCount = 0; in SmmLoadImage() 483 …PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment… in SmmLoadImage() 489 PageCount, in SmmLoadImage() 501 …PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment… in SmmLoadImage() 507 PageCount, in SmmLoadImage() 533 SmmFreePages (DstBuffer, PageCount); in SmmLoadImage() 545 SmmFreePages (DstBuffer, PageCount); in SmmLoadImage() 559 DriverEntry->NumberOfPage = PageCount; in SmmLoadImage() 569 SmmFreePages (DstBuffer, PageCount); in SmmLoadImage() [all …]
|
D | PiSmmIpl.c | 931 UINTN PageCount; in ExecuteSmmCoreFromSmram() local 975 PageCount = 0; in ExecuteSmmCoreFromSmram() 986 …PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment… in ExecuteSmmCoreFromSmram() 989 ASSERT (SmramRange->PhysicalSize > EFI_PAGES_TO_SIZE (PageCount)); in ExecuteSmmCoreFromSmram() 991 SmramRange->PhysicalSize -= EFI_PAGES_TO_SIZE (PageCount); in ExecuteSmmCoreFromSmram() 995 SmramRangeSmmCore->PhysicalSize = EFI_PAGES_TO_SIZE (PageCount); in ExecuteSmmCoreFromSmram() 1007 …PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment… in ExecuteSmmCoreFromSmram() 1010 ASSERT (SmramRange->PhysicalSize > EFI_PAGES_TO_SIZE (PageCount)); in ExecuteSmmCoreFromSmram() 1012 SmramRange->PhysicalSize -= EFI_PAGES_TO_SIZE (PageCount); in ExecuteSmmCoreFromSmram() 1016 SmramRangeSmmCore->PhysicalSize = EFI_PAGES_TO_SIZE (PageCount); in ExecuteSmmCoreFromSmram()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | EfiDevice.c | 569 UINT64 PageCount[EfiMaxMemoryType]; in EblMemMapCmd() local 575 ZeroMem (PageCount, sizeof (PageCount)); in EblMemMapCmd() 598 PageCount[MemMap->Type % EfiMaxMemoryType] += MemMap->NumberOfPages; in EblMemMapCmd() 604 if (PageCount[Index] != 0) { in EblMemMapCmd() 605 …rint ("\n %a %,7ld Pages (%,14ld)", gMemMapType[Index], PageCount[Index], LShiftU64 (PageCount[In… in EblMemMapCmd() 618 TotalMemory += PageCount[Index]; in EblMemMapCmd()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/ |
D | SmmBaseHelper.c | 681 UINTN PageCount; in LoadImage() local 689 PageCount = 1; in LoadImage() 691 OrgPageCount = PageCount; in LoadImage() 696 PageCount, in LoadImage() 710 &PageCount, in LoadImage() 728 RegisterSmramProfileImage (FilePath, DstBuffer, PageCount); in LoadImage() 731 UnregisterSmramProfileImage (FilePath, DstBuffer, PageCount); in LoadImage() 734 FreePages ((VOID *)(UINTN)DstBuffer, PageCount); in LoadImage()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/ |
D | HiKeyFastbootDxe.c | 102 UINTN PageCount; in ReadPartitionEntries() local 119 PageCount = EFI_SIZE_TO_PAGES (34 * BlockSize); in ReadPartitionEntries() 120 Buffer = AllocatePages (PageCount); in ReadPartitionEntries() 125 Status = BlockIo->ReadBlocks (BlockIo, MediaId, 0, PageCount * EFI_PAGE_SIZE, Buffer); in ReadPartitionEntries()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960FastbootDxe/ |
D | HiKey960FastbootDxe.c | 105 UINTN PageCount; in ReadPartitionEntries() local 119 PageCount = EFI_SIZE_TO_PAGES (6 * BlockSize); in ReadPartitionEntries() 120 Buffer = AllocatePages (PageCount); in ReadPartitionEntries() 125 Status = BlockIo->ReadBlocks (BlockIo, MediaId, 0, PageCount * EFI_PAGE_SIZE, Buffer); in ReadPartitionEntries()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/ |
D | StmApi.h | 110 UINT32 PageCount; member 664 UINT32 PageCount; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | IdeMode.c | 1552 UINTN PageCount; in AtaUdmaInOut() local 1573 PageCount = 0; in AtaUdmaInOut() 1636 PageCount = EFI_SIZE_TO_PAGES (PrdTableSize); in AtaUdmaInOut() 1637 RealPageCount = PageCount + EFI_SIZE_TO_PAGES (SIZE_64KB); in AtaUdmaInOut() 1642 ASSERT (RealPageCount > PageCount); in AtaUdmaInOut() 1775 Task->PageCount = RealPageCount; in AtaUdmaInOut() 1858 PciIo->FreeBuffer (PciIo, Task->PageCount, Task->MapBaseAddress); in AtaUdmaInOut()
|
D | AtaAtapiPassThru.h | 142 UINTN PageCount; // The page numbers used by PCIO freebuffer. member
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ |
D | Ata.c | 1534 UINTN PageCount; in DoAtaUdma() local 1644 PageCount = EFI_SIZE_TO_PAGES (2 * PrdTableNum * sizeof (IDE_DMA_PRD)); in DoAtaUdma() 1649 PageCount, in DoAtaUdma() 1656 ZeroMem ((VOID *) ((UINTN) MemPage), EFI_PAGES_TO_SIZE (PageCount)); in DoAtaUdma() 1684 IdeDev->PciIo->FreeBuffer (IdeDev->PciIo, PageCount, MemPage); in DoAtaUdma() 1768 IdeDev->PciIo->FreeBuffer (IdeDev->PciIo, PageCount, MemPage); in DoAtaUdma() 1826 IdeDev->PciIo->FreeBuffer (IdeDev->PciIo, PageCount, MemPage); in DoAtaUdma()
|