/device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/ |
D | UsbSerialNumberLib.c | 156 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/ |
D | FdtPlatform.c | 68 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/ |
D | HiKeyDxe.c | 207 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/ |
D | VirtioLib.c | 78 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/ |
D | ramdisk.c | 214 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/ |
D | QemuFwCfgAcpi.c | 139 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/ |
D | NonDiscoverablePciDeviceIo.h | 58 UINTN NumPages; member
|
D | NonDiscoverablePciDeviceIo.c | 801 if (Alloc->HostAddress == HostAddress && Alloc->NumPages == Pages) { in NonCoherentPciIoFreeBuffer() 915 Alloc->NumPages = Pages; in NonCoherentPciIoAllocateBuffer()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/ |
D | HiKey960Dxe.c | 456 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/ |
D | Virtio095.h | 151 UINTN NumPages; member
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
D | BiosSnp16.h | 1650 UINTN NumPages,
|
D | BiosSnp16.c | 3502 UINTN NumPages, in BiosSnp16AllocatePagesBelowOneMb() argument 3513 NumPages, in BiosSnp16AllocatePagesBelowOneMb()
|