Lines Matching refs:EsrtRepository
37 EFI_SYSTEM_RESOURCE_ENTRY *EsrtRepository; in GetEsrtEntry() local
42 EsrtRepository = NULL; in GetEsrtEntry()
56 (VOID **) &EsrtRepository, in GetEsrtEntry()
73 if (CompareGuid(FwClass, &EsrtRepository[Index].FwClass)) { in GetEsrtEntry()
74 CopyMem(Entry, &EsrtRepository[Index], sizeof(EFI_SYSTEM_RESOURCE_ENTRY)); in GetEsrtEntry()
81 if (EsrtRepository != NULL) { in GetEsrtEntry()
82 FreePool(EsrtRepository); in GetEsrtEntry()
105 EFI_SYSTEM_RESOURCE_ENTRY *EsrtRepository; in InsertEsrtEntry() local
109 EsrtRepository = NULL; in InsertEsrtEntry()
124 (VOID **) &EsrtRepository, in InsertEsrtEntry()
155 EsrtRepository in InsertEsrtEntry()
157 FreePool(EsrtRepository); in InsertEsrtEntry()
159 EsrtRepository = NULL; in InsertEsrtEntry()
177 if (RepositorySize != 0 && EsrtRepository != NULL) { in InsertEsrtEntry()
178 CopyMem(EsrtRepositoryNew, EsrtRepository, RepositorySize); in InsertEsrtEntry()
192 if (EsrtRepository != NULL) { in InsertEsrtEntry()
193 FreePool(EsrtRepository); in InsertEsrtEntry()
221 EFI_SYSTEM_RESOURCE_ENTRY *EsrtRepository; in DeleteEsrtEntry() local
226 EsrtRepository = NULL; in DeleteEsrtEntry()
240 (VOID **) &EsrtRepository, in DeleteEsrtEntry()
258 EsrtRepository in DeleteEsrtEntry()
269 if (CompareGuid(FwClass, &EsrtRepository[Index].FwClass)) { in DeleteEsrtEntry()
274 …CopyMem(&EsrtRepository[Index], &EsrtRepository[Index + 1], (EsrtNum - Index - 1) * sizeof(EFI_SYS… in DeleteEsrtEntry()
285 EsrtRepository in DeleteEsrtEntry()
292 if (EsrtRepository != NULL) { in DeleteEsrtEntry()
293 FreePool(EsrtRepository); in DeleteEsrtEntry()
318 EFI_SYSTEM_RESOURCE_ENTRY *EsrtRepository; in UpdateEsrtEntry() local
323 EsrtRepository = NULL; in UpdateEsrtEntry()
337 (VOID **) &EsrtRepository, in UpdateEsrtEntry()
355 EsrtRepository in UpdateEsrtEntry()
367 if (CompareGuid(&Entry->FwClass, &EsrtRepository[Index].FwClass)) { in UpdateEsrtEntry()
369 CopyMem(&EsrtRepository[Index], Entry, sizeof(EFI_SYSTEM_RESOURCE_ENTRY)); in UpdateEsrtEntry()
378 EsrtRepository in UpdateEsrtEntry()
386 if (EsrtRepository != NULL) { in UpdateEsrtEntry()
387 FreePool(EsrtRepository); in UpdateEsrtEntry()