• Home
  • Raw
  • Download

Lines Matching refs:Param

976   BM_COLLECT_LOAD_OPTIONS_PARAM     *Param;  in BmCollectLoadOptions()  local
978 Param = (BM_COLLECT_LOAD_OPTIONS_PARAM *) Context; in BmCollectLoadOptions()
980 if (CompareGuid (Guid, Param->Guid) && ( in BmCollectLoadOptions()
981 Param->OptionType == LoadOptionTypePlatformRecovery && in BmCollectLoadOptions()
987 for (Index = 0; Index < Param->OptionCount; Index++) { in BmCollectLoadOptions()
988 if (Param->Options[Index].OptionNumber > Option.OptionNumber) { in BmCollectLoadOptions()
992 Param->Options = ReallocatePool ( in BmCollectLoadOptions()
993 Param->OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), in BmCollectLoadOptions()
994 (Param->OptionCount + 1) * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), in BmCollectLoadOptions()
995 Param->Options in BmCollectLoadOptions()
997 ASSERT (Param->Options != NULL); in BmCollectLoadOptions()
998 …CopyMem (&Param->Options[Index + 1], &Param->Options[Index], (Param->OptionCount - Index) * sizeof… in BmCollectLoadOptions()
999 CopyMem (&Param->Options[Index], &Option, sizeof (EFI_BOOT_MANAGER_LOAD_OPTION)); in BmCollectLoadOptions()
1000 Param->OptionCount++; in BmCollectLoadOptions()
1032 BM_COLLECT_LOAD_OPTIONS_PARAM Param; in EfiBootManagerGetLoadOptions() local
1077 Param.OptionType = LoadOptionTypePlatformRecovery; in EfiBootManagerGetLoadOptions()
1078 Param.Options = NULL; in EfiBootManagerGetLoadOptions()
1079 Param.OptionCount = 0; in EfiBootManagerGetLoadOptions()
1080 Param.Guid = &gEfiGlobalVariableGuid; in EfiBootManagerGetLoadOptions()
1082 BmForEachVariable (BmCollectLoadOptions, (VOID *) &Param); in EfiBootManagerGetLoadOptions()
1084 *OptionCount = Param.OptionCount; in EfiBootManagerGetLoadOptions()
1085 Options = Param.Options; in EfiBootManagerGetLoadOptions()