Lines Matching refs:OptionCount
953 UINTN OptionCount; member
987 for (Index = 0; Index < Param->OptionCount; Index++) { 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()
998 …CopyMem (&Param->Options[Index + 1], &Param->Options[Index], (Param->OptionCount - Index) * sizeof… in BmCollectLoadOptions()
1000 Param->OptionCount++; in BmCollectLoadOptions()
1020 OUT UINTN *OptionCount, in EfiBootManagerGetLoadOptions() argument
1034 *OptionCount = 0; in EfiBootManagerGetLoadOptions()
1046 *OptionCount = OptionOrderSize / sizeof (UINT16); in EfiBootManagerGetLoadOptions()
1048 Options = AllocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION)); in EfiBootManagerGetLoadOptions()
1052 for (Index = 0; Index < *OptionCount; Index++) { in EfiBootManagerGetLoadOptions()
1070 if (OptionIndex < *OptionCount) { in EfiBootManagerGetLoadOptions()
1071 …Options = ReallocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), OptionIndex * size… in EfiBootManagerGetLoadOptions()
1073 *OptionCount = OptionIndex; in EfiBootManagerGetLoadOptions()
1079 Param.OptionCount = 0; in EfiBootManagerGetLoadOptions()
1084 *OptionCount = Param.OptionCount; in EfiBootManagerGetLoadOptions()
1138 IN UINTN OptionCount in EfiBootManagerFreeLoadOptions() argument
1147 for (Index = 0;Index < OptionCount; Index++) { in EfiBootManagerFreeLoadOptions()