Lines Matching refs:BootOptions

86   EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions;  in BmFindBootOptionInVariable()  local
120 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in BmFindBootOptionInVariable()
122 Index = EfiBootManagerFindLoadOption (OptionToFind, BootOptions, BootOptionCount); in BmFindBootOptionInVariable()
124 OptionNumber = BootOptions[Index].OptionNumber; in BmFindBootOptionInVariable()
127 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in BmFindBootOptionInVariable()
1936 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in BmEnumerateBootOptions() local
1947 BootOptions = NULL; in BmEnumerateBootOptions()
1986 BootOptions = ReallocatePool ( in BmEnumerateBootOptions()
1989 BootOptions in BmEnumerateBootOptions()
1991 ASSERT (BootOptions != NULL); in BmEnumerateBootOptions()
1994 &BootOptions[(*BootOptionCount)++], in BmEnumerateBootOptions()
2036 BootOptions = ReallocatePool ( in BmEnumerateBootOptions()
2039 BootOptions in BmEnumerateBootOptions()
2041 ASSERT (BootOptions != NULL); in BmEnumerateBootOptions()
2044 &BootOptions[(*BootOptionCount)++], in BmEnumerateBootOptions()
2080 BootOptions = ReallocatePool ( in BmEnumerateBootOptions()
2083 BootOptions in BmEnumerateBootOptions()
2085 ASSERT (BootOptions != NULL); in BmEnumerateBootOptions()
2088 &BootOptions[(*BootOptionCount)++], in BmEnumerateBootOptions()
2105 BmMakeBootOptionDescriptionUnique (BootOptions, *BootOptionCount); in BmEnumerateBootOptions()
2106 return BootOptions; in BmEnumerateBootOptions()
2121 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in EfiBootManagerRefreshAllBootOption() local
2132 BootOptions = BmEnumerateBootOptions (&BootOptionCount); in EfiBootManagerRefreshAllBootOption()
2139BootOptions[Index].OptionalData = AllocateCopyPool (sizeof (EFI_GUID), &mBmAutoCreateBootOptio… in EfiBootManagerRefreshAllBootOption()
2140 BootOptions[Index].OptionalDataSize = sizeof (EFI_GUID); in EfiBootManagerRefreshAllBootOption()
2155 …if (EfiBootManagerFindLoadOption (&NvBootOptions[Index], BootOptions, BootOptionCount) == (UINTN) … in EfiBootManagerRefreshAllBootOption()
2169 …if (EfiBootManagerFindLoadOption (&BootOptions[Index], NvBootOptions, NvBootOptionCount) == (UINTN… in EfiBootManagerRefreshAllBootOption()
2170 EfiBootManagerAddLoadOptionVariable (&BootOptions[Index], (UINTN) -1); in EfiBootManagerRefreshAllBootOption()
2177 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in EfiBootManagerRefreshAllBootOption()
2297 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in BmRegisterBootManagerMenu()
2300 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in BmRegisterBootManagerMenu()
2301 ASSERT (EfiBootManagerFindLoadOption (BootOption, BootOptions, BootOptionCount) == -1); in BmRegisterBootManagerMenu()
2302 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in BmRegisterBootManagerMenu()
2328 EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; in EfiBootManagerGetBootManagerMenu() local
2331 BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); in EfiBootManagerGetBootManagerMenu()
2334 if (BmIsBootManagerMenuFilePath (BootOptions[Index].FilePath)) { in EfiBootManagerGetBootManagerMenu()
2337 BootOptions[Index].OptionNumber, in EfiBootManagerGetBootManagerMenu()
2338 BootOptions[Index].OptionType, in EfiBootManagerGetBootManagerMenu()
2339 BootOptions[Index].Attributes, in EfiBootManagerGetBootManagerMenu()
2340 BootOptions[Index].Description, in EfiBootManagerGetBootManagerMenu()
2341 BootOptions[Index].FilePath, in EfiBootManagerGetBootManagerMenu()
2342 BootOptions[Index].OptionalData, in EfiBootManagerGetBootManagerMenu()
2343 BootOptions[Index].OptionalDataSize in EfiBootManagerGetBootManagerMenu()
2350 EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount); in EfiBootManagerGetBootManagerMenu()