Lines Matching refs:Options
2 Load option library functions which relate with creating and processing load options.
513 The function consider two load options are equal when the
517 @param Array Pointer to the array of load options to be found.
952 EFI_BOOT_MANAGER_LOAD_OPTION *Options;
957 Visitor function to collect the Platform Recovery load options or OS Recovery
958 load options from NV storage.
988 if (Param->Options[Index].OptionNumber > Option.OptionNumber) {
992 Param->Options = ReallocatePool (
995 Param->Options
997 ASSERT (Param->Options != NULL);
998 CopyMem (&Param->Options[Index + 1], &Param->Options[Index], (Param->OptionCount - Index) * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION));
999 CopyMem (&Param->Options[Index], &Option, sizeof (EFI_BOOT_MANAGER_LOAD_OPTION));
1006 Returns an array of load options based on the EFI variable
1013 @retval NULL No load options exist.
1029 EFI_BOOT_MANAGER_LOAD_OPTION *Options;
1035 Options = NULL;
1048 Options = AllocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION));
1049 ASSERT (Options != NULL);
1056 Status = EfiBootManagerVariableToLoadOption (OptionName, &Options[OptionIndex]);
1061 ASSERT (Options[OptionIndex].OptionNumber == OptionNumber);
1071 Options = ReallocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), OptionIndex * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), Options);
1072 ASSERT (Options != NULL);
1078 Param.Options = NULL;
1085 Options = Param.Options;
1088 return Options;