Lines Matching refs:IndexTable
520 StoreInfo->IndexTable = NULL;
595 StoreInfo->IndexTable = GET_GUID_HOB_DATA (GuidHob);
603 StoreInfo->IndexTable = (VARIABLE_INDEX_TABLE *) BuildGuidHob (&gEfiVariableIndexTableGuid, sizeof (VARIABLE_INDEX_TABLE));
604 StoreInfo->IndexTable->Length = 0;
605 StoreInfo->IndexTable->StartPtr = GetStartPointer (VariableStoreHeader);
606 StoreInfo->IndexTable->EndPtr = GetEndPointer (VariableStoreHeader);
607 StoreInfo->IndexTable->GoneThrough = 0;
772 VARIABLE_INDEX_TABLE *IndexTable;
789 IndexTable = StoreInfo->IndexTable;
801 if (IndexTable != NULL) {
804 // The IndexTable->Index[Index] records the distance of two neighbouring VAR_ADDED type variables.
806 for (Offset = 0, Index = 0; Index < IndexTable->Length; Index++) {
807 ASSERT (Index < sizeof (IndexTable->Index) / sizeof (IndexTable->Index[0]));
808 Offset += IndexTable->Index[Index];
809 MaxIndex = (VARIABLE_HEADER *) ((UINT8 *) IndexTable->StartPtr + Offset);
820 if (IndexTable->GoneThrough != 0) {
854 if ((IndexTable != NULL) && !StopRecord) {
856 if ((Offset > 0x0FFFF) || (IndexTable->Length == sizeof (IndexTable->Index) / sizeof (IndexTable->Index[0]))) {
863 IndexTable->Index[IndexTable->Length++] = (UINT16) Offset;
882 if ((IndexTable != NULL) && !StopRecord) {
883 IndexTable->GoneThrough = 1;