Searched refs:NewNode (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/ArmPkg/Library/UncachedMemoryAllocationLib/ |
D | UncachedMemoryAllocationLib.c | 89 FREE_PAGE_NODE *NewNode; in AllocatePagesFromList() local 101 NewNode = NULL; in AllocatePagesFromList() 117 if (NewNode == NULL) { in AllocatePagesFromList() 119 NewNode = Node; in AllocatePagesFromList() 120 } else if (NewNode->Pages > Node->Pages) { in AllocatePagesFromList() 122 NewNode = Node; in AllocatePagesFromList() 129 if (NewNode != NULL) { in AllocatePagesFromList() 130 NewNode->Allocated = TRUE; in AllocatePagesFromList() 131 NewNode->Allocation = (VOID*)(UINTN)NewNode->Base; in AllocatePagesFromList() 132 *Allocation = NewNode->Allocation; in AllocatePagesFromList() [all …]
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Bds/ |
D | FirmwareVolume.c | 119 MEDIA_FW_VOL_FILEPATH_DEVICE_PATH NewNode; in FvFileDevicePath() local 123 EfiInitializeFwVolDevicepathNode (&NewNode, NameGuid); in FvFileDevicePath() 125 return AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&NewNode); in FvFileDevicePath()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Bds/ |
D | FirmwareVolume.c | 119 MEDIA_FW_VOL_FILEPATH_DEVICE_PATH NewNode; in FvFileDevicePath() local 123 EfiInitializeFwVolDevicepathNode (&NewNode, NameGuid); in FvFileDevicePath() 125 return AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&NewNode); in FvFileDevicePath()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/ |
D | DebugUncachedMemoryAllocationLib.c | 77 FREE_PAGE_NODE *NewNode; in AddPagesToList() local 79 NewNode = AllocatePool (sizeof (LIST_ENTRY)); in AddPagesToList() 80 if (NewNode == NULL) { in AddPagesToList() 85 NewNode->Buffer = Buffer; in AddPagesToList() 86 NewNode->Allocation = Allocation; in AddPagesToList() 87 NewNode->Pages = Pages; in AddPagesToList() 89 InsertTailList (&mPageList, &NewNode->Link); in AddPagesToList()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ |
D | IdeBus.c | 309 EFI_DEV_PATH NewNode; in IDEBusDriverBindingStart() local 671 ZeroMem (&NewNode, sizeof (NewNode)); in IDEBusDriverBindingStart() 672 NewNode.DevPath.Type = MESSAGING_DEVICE_PATH; in IDEBusDriverBindingStart() 673 NewNode.DevPath.SubType = MSG_ATAPI_DP; in IDEBusDriverBindingStart() 674 SetDevicePathNodeLength (&NewNode.DevPath, sizeof (ATAPI_DEVICE_PATH)); in IDEBusDriverBindingStart() 676 NewNode.Atapi.PrimarySecondary = (UINT8) IdeBlkIoDevicePtr->Channel; in IDEBusDriverBindingStart() 677 NewNode.Atapi.SlaveMaster = (UINT8) IdeBlkIoDevicePtr->Device; in IDEBusDriverBindingStart() 678 NewNode.Atapi.Lun = IdeBlkIoDevicePtr->Lun; in IDEBusDriverBindingStart() 681 &NewNode.DevPath in IDEBusDriverBindingStart()
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
D | ShellProtocol.c | 1840 EFI_SHELL_FILE_INFO_NO_CONST *NewNode; in InternalDuplicateShellFileInfo() local 1847 NewNode = AllocateZeroPool(sizeof(EFI_SHELL_FILE_INFO)); in InternalDuplicateShellFileInfo() 1848 if (NewNode == NULL) { in InternalDuplicateShellFileInfo() 1851 NewNode->FullName = AllocateCopyPool(StrSize(Node->FullName), Node->FullName); in InternalDuplicateShellFileInfo() 1852 NewNode->FileName = AllocateCopyPool(StrSize(Node->FileName), Node->FileName); in InternalDuplicateShellFileInfo() 1853 NewNode->Info = AllocateCopyPool((UINTN)Node->Info->Size, Node->Info); in InternalDuplicateShellFileInfo() 1854 if ( NewNode->FullName == NULL in InternalDuplicateShellFileInfo() 1855 || NewNode->FileName == NULL in InternalDuplicateShellFileInfo() 1856 || NewNode->Info == NULL in InternalDuplicateShellFileInfo() 1858 SHELL_FREE_NON_NULL(NewNode->FullName); in InternalDuplicateShellFileInfo() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
D | UefiShellCommandLib.c | 1516 BUFFER_LIST *NewNode; in ConvertEfiFileProtocolToShellHandle() local 1523 NewNode = AllocateZeroPool(sizeof(BUFFER_LIST)); in ConvertEfiFileProtocolToShellHandle() 1524 if (NewNode == NULL) { in ConvertEfiFileProtocolToShellHandle() 1531 SHELL_FREE_NON_NULL(NewNode); in ConvertEfiFileProtocolToShellHandle() 1535 NewNode->Buffer = Buffer; in ConvertEfiFileProtocolToShellHandle() 1537 InsertHeadList(&mFileHandleList.Link, &NewNode->Link); in ConvertEfiFileProtocolToShellHandle()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
D | VfrFormPkg.cpp | 615 IN SBufferNode *NewNode in InsertNodeBefore() argument 624 NewNode->mNext = LastNode->mNext; in InsertNodeBefore() 625 LastNode->mNext = NewNode; in InsertNodeBefore()
|