Searched refs:NewBootOrderList (Results 1 – 3 of 3) sorted by relevance
748 UINT16 *NewBootOrderList; in Var_UpdateBootOption() local873 NewBootOrderList = AllocateZeroPool (BootOrderListSize + sizeof (UINT16)); in Var_UpdateBootOption()874 ASSERT (NewBootOrderList != NULL); in Var_UpdateBootOption()875 CopyMem (NewBootOrderList, BootOrderList, BootOrderListSize); in Var_UpdateBootOption()876 NewBootOrderList[BootOrderListSize / sizeof (UINT16)] = Index; in Var_UpdateBootOption()887 NewBootOrderList in Var_UpdateBootOption()891 FreePool (NewBootOrderList); in Var_UpdateBootOption()892 NewBootOrderList = NULL; in Var_UpdateBootOption()
287 UINT16 *NewBootOrderList; in BdsCreateLegacyBootOption() local415 NewBootOrderList = AllocateZeroPool (*BootOrderListSize + sizeof (UINT16)); in BdsCreateLegacyBootOption()416 if (NULL == NewBootOrderList) { in BdsCreateLegacyBootOption()423 CopyMem (NewBootOrderList, *BootOrderList, *BootOrderListSize); in BdsCreateLegacyBootOption()428 NewBootOrderList[BootOrderLastIndex] = CurrentBootOptionNo; in BdsCreateLegacyBootOption()430 *BootOrderList = NewBootOrderList; in BdsCreateLegacyBootOption()
289 UINT16 *NewBootOrderList; in BdsCreateLegacyBootOption() local417 NewBootOrderList = AllocateZeroPool (*BootOrderListSize + sizeof (UINT16)); in BdsCreateLegacyBootOption()418 if (NULL == NewBootOrderList) { in BdsCreateLegacyBootOption()425 CopyMem (NewBootOrderList, *BootOrderList, *BootOrderListSize); in BdsCreateLegacyBootOption()430 NewBootOrderList[BootOrderLastIndex] = CurrentBootOptionNo; in BdsCreateLegacyBootOption()432 *BootOrderList = NewBootOrderList; in BdsCreateLegacyBootOption()