• Home
  • Raw
  • Download

Lines Matching refs:CurrentOperation

1189   BGFG_OPERATION        CurrentOperation;  in ShellCommandRunBcfg()  local
1199 InitBcfgStruct(&CurrentOperation); in ShellCommandRunBcfg()
1227 CurrentOperation.OptData = ShellCommandLineGetValue(Package, L"-opt"); in ShellCommandRunBcfg()
1228 if (CurrentOperation.OptData == NULL) { in ShellCommandRunBcfg()
1232 CurrentOperation.Type = BcfgTypeOpt; in ShellCommandRunBcfg()
1238 if ((ShellCommandLineGetCount(Package) < 3 && CurrentOperation.Type != BcfgTypeOpt) || in ShellCommandRunBcfg()
1239 (ShellCommandLineGetCount(Package) < 2 && CurrentOperation.Type == BcfgTypeOpt) in ShellCommandRunBcfg()
1244 CurrentOperation.Target = BcfgTargetDriverOrder; in ShellCommandRunBcfg()
1246 CurrentOperation.Target = BcfgTargetBootOrder; in ShellCommandRunBcfg()
1256 if (ShellStatus == SHELL_SUCCESS && CurrentOperation.Target < BcfgTargetMax) { in ShellCommandRunBcfg()
1259CurrentOperation.Target == BcfgTargetBootOrder?(CHAR16*)L"BootOrder":(CHAR16*)L"DriverOrder", in ShellCommandRunBcfg()
1263 CurrentOperation.Order); in ShellCommandRunBcfg()
1265 CurrentOperation.Order = AllocateZeroPool(Length+(4*sizeof(CurrentOperation.Order[0]))); in ShellCommandRunBcfg()
1266 if (CurrentOperation.Order == NULL) { in ShellCommandRunBcfg()
1270CurrentOperation.Target == BcfgTargetBootOrder?(CHAR16*)L"BootOrder":(CHAR16*)L"DriverOrder", in ShellCommandRunBcfg()
1274 CurrentOperation.Order); in ShellCommandRunBcfg()
1279 Count = (UINT16) (Length / sizeof(CurrentOperation.Order[0])); in ShellCommandRunBcfg()
1284 if (ShellStatus == SHELL_SUCCESS && CurrentOperation.Target < BcfgTargetMax) { in ShellCommandRunBcfg()
1288 CurrentOperation.Type = BcfgTypeDump; in ShellCommandRunBcfg()
1301 CurrentOperation.Type = BcfgTypeAdd; in ShellCommandRunBcfg()
1308 CurrentOperation.Number1 = (UINT16)Intermediate; in ShellCommandRunBcfg()
1309 ASSERT(CurrentOperation.FileName == NULL); in ShellCommandRunBcfg()
1310CurrentOperation.FileName = StrnCatGrow(&CurrentOperation.FileName , NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1311 ASSERT(CurrentOperation.Description == NULL); in ShellCommandRunBcfg()
1312CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1319 CurrentOperation.Type = BcfgTypeAddp; in ShellCommandRunBcfg()
1326 CurrentOperation.Number1 = (UINT16)Intermediate; in ShellCommandRunBcfg()
1327 ASSERT(CurrentOperation.FileName == NULL); in ShellCommandRunBcfg()
1328CurrentOperation.FileName = StrnCatGrow(&CurrentOperation.FileName , NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1329 ASSERT(CurrentOperation.Description == NULL); in ShellCommandRunBcfg()
1330CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1337 CurrentOperation.Type = BcfgTypeAddh; in ShellCommandRunBcfg()
1344 CurrentOperation.Number1 = (UINT16)Intermediate; in ShellCommandRunBcfg()
1351 CurrentOperation.HandleIndex = (UINT16)Intermediate; in ShellCommandRunBcfg()
1352 ASSERT(CurrentOperation.Description == NULL); in ShellCommandRunBcfg()
1353CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1361 CurrentOperation.Type = BcfgTypeRm; in ShellCommandRunBcfg()
1368 CurrentOperation.Number1 = (UINT16)Intermediate; in ShellCommandRunBcfg()
1369 if (CurrentOperation.Number1 >= Count){ in ShellCommandRunBcfg()
1379 CurrentOperation.Type = BcfgTypeMv; in ShellCommandRunBcfg()
1386 CurrentOperation.Number1 = (UINT16)Intermediate; in ShellCommandRunBcfg()
1387 if (CurrentOperation.Number1 >= Count){ in ShellCommandRunBcfg()
1397 CurrentOperation.Number2 = (UINT16)Intermediate; in ShellCommandRunBcfg()
1399 if (CurrentOperation.Number2 == CurrentOperation.Number1 in ShellCommandRunBcfg()
1400 ||CurrentOperation.Number2 >= Count in ShellCommandRunBcfg()
1413 …if (ShellStatus == SHELL_SUCCESS && CurrentOperation.Target < BcfgTargetMax && CurrentOperation.Ty… in ShellCommandRunBcfg()
1417 switch (CurrentOperation.Type) { in ShellCommandRunBcfg()
1420 CurrentOperation.Target == BcfgTargetBootOrder?L"Boot":L"Driver", in ShellCommandRunBcfg()
1422 CurrentOperation.Order, in ShellCommandRunBcfg()
1427 CurrentOperation.Target, in ShellCommandRunBcfg()
1428 CurrentOperation.Order, in ShellCommandRunBcfg()
1430 CurrentOperation.Number1, in ShellCommandRunBcfg()
1431 CurrentOperation.Number2); in ShellCommandRunBcfg()
1435 CurrentOperation.Target, in ShellCommandRunBcfg()
1436 CurrentOperation.Order, in ShellCommandRunBcfg()
1438 CurrentOperation.Number1); in ShellCommandRunBcfg()
1444 CurrentOperation.Number1, in ShellCommandRunBcfg()
1445 CurrentOperation.FileName, in ShellCommandRunBcfg()
1446 CurrentOperation.Description==NULL?L"":CurrentOperation.Description, in ShellCommandRunBcfg()
1447 CurrentOperation.Order, in ShellCommandRunBcfg()
1449 CurrentOperation.Target, in ShellCommandRunBcfg()
1450 (BOOLEAN)(CurrentOperation.Type == BcfgTypeAddh), in ShellCommandRunBcfg()
1451 (BOOLEAN)(CurrentOperation.Type == BcfgTypeAddp), in ShellCommandRunBcfg()
1452 CurrentOperation.HandleIndex); in ShellCommandRunBcfg()
1456 CurrentOperation.OptData, in ShellCommandRunBcfg()
1457 CurrentOperation.Order, in ShellCommandRunBcfg()
1459 CurrentOperation.Target); in ShellCommandRunBcfg()
1470 if (CurrentOperation.FileName != NULL) { in ShellCommandRunBcfg()
1471 FreePool(CurrentOperation.FileName); in ShellCommandRunBcfg()
1473 if (CurrentOperation.Description != NULL) { in ShellCommandRunBcfg()
1474 FreePool(CurrentOperation.Description); in ShellCommandRunBcfg()
1476 if (CurrentOperation.Order != NULL) { in ShellCommandRunBcfg()
1477 FreePool(CurrentOperation.Order); in ShellCommandRunBcfg()