Home
last modified time | relevance | path

Searched refs:NumPages (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/
DUsbSerialNumberLib.c156 UINTN NumPages; in LoadSNFromBlock() local
175 NumPages = EFI_SIZE_TO_PAGES (BlockIoProtocol->Media->BlockSize); in LoadSNFromBlock()
176 DataPtr = AllocatePages (NumPages); in LoadSNFromBlock()
227 FreePages (DataPtr, NumPages); in LoadSNFromBlock()
241 UINTN NumPages; in StoreSNToBlock() local
261 NumPages = EFI_SIZE_TO_PAGES (BlockIoProtocol->Media->BlockSize); in StoreSNToBlock()
262 DataPtr = AllocatePages (NumPages); in StoreSNToBlock()
298 FreePages (DataPtr, NumPages); in StoreSNToBlock()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/FdtPlatformDxe/
DFdtPlatform.c68 UINTN NumPages; in InstallFdt() local
91 NumPages = 0; in InstallFdt()
112 NumPages = EFI_SIZE_TO_PAGES (FdtBlobSize); in InstallFdt()
115 NumPages, &FdtConfigurationTableBase in InstallFdt()
134 gBS->FreePages (FdtConfigurationTableBase, NumPages); in InstallFdt()
139 gBS->FreePages (FdtBlobBase, NumPages); in InstallFdt()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c207 UINTN FdtSize, NumPages; in AbootimgUpdateDtb() local
225 NumPages = EFI_SIZE_TO_PAGES (FdtSize) + 20; in AbootimgUpdateDtb()
228 NumPages, NewFdtBase); in AbootimgUpdateDtb()
243 gBS->FreePages (*NewFdtBase, NumPages); in AbootimgUpdateDtb()
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioLib/
DVirtioLib.c78 Ring->NumPages = EFI_SIZE_TO_PAGES (RingSize); in VirtioRingInit()
79 Ring->Base = AllocatePages (Ring->NumPages); in VirtioRingInit()
139 FreePages (Ring->Base, Ring->NumPages); in VirtioRingUninit()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Block/ramdisk/
Dramdisk.c214 UINT32 NumPages; in InitializeRamDiskDriver() local
246 NumPages = RamDiskSize / EFI_PAGE_SIZE; in InitializeRamDiskDriver()
247 if(NumPages % RamDiskSize) in InitializeRamDiskDriver()
248 NumPages++; in InitializeRamDiskDriver()
250 Status = gBS->AllocatePages(AllocateAnyPages,EfiBootServicesData,NumPages,&RamDiskDev->Start); in InitializeRamDiskDriver()
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
DQemuFwCfgAcpi.c139 UINTN NumPages; in ProcessCmdAllocate() local
161 NumPages = EFI_SIZE_TO_PAGES (FwCfgSize); in ProcessCmdAllocate()
163 Status = gBS->AllocatePages (AllocateMaxAddress, EfiACPIMemoryNVS, NumPages, in ProcessCmdAllocate()
191 ZeroMem (Blob->Base + Blob->Size, EFI_PAGES_TO_SIZE (NumPages) - Blob->Size); in ProcessCmdAllocate()
202 gBS->FreePages (Address, NumPages); in ProcessCmdAllocate()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/
DNonDiscoverablePciDeviceIo.h58 UINTN NumPages; member
DNonDiscoverablePciDeviceIo.c801 if (Alloc->HostAddress == HostAddress && Alloc->NumPages == Pages) { in NonCoherentPciIoFreeBuffer()
915 Alloc->NumPages = Pages; in NonCoherentPciIoAllocateBuffer()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
DHiKey960Dxe.c456 UINTN FdtSize, NumPages; in AbootimgUpdateDtb() local
474 NumPages = EFI_SIZE_TO_PAGES (FdtSize) + 20; in AbootimgUpdateDtb()
477 NumPages, NewFdtBase); in AbootimgUpdateDtb()
538 gBS->FreePages (*NewFdtBase, NumPages); in AbootimgUpdateDtb()
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/
DVirtio095.h151 UINTN NumPages; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DBiosSnp16.h1650 UINTN NumPages,
DBiosSnp16.c3502 UINTN NumPages, in BiosSnp16AllocatePagesBelowOneMb() argument
3513 NumPages, in BiosSnp16AllocatePagesBelowOneMb()