MCPcopy Create free account
hub / github.com/coreboot/coreboot / storage_write_back

Function storage_write_back

util/smmstoretool/storage.c:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool storage_write_back(struct storage_t *storage)
87{
88 assert(storage->rw && "Only RW storage can be updated.");
89
90 bool success = vs_store(&storage->vs, storage->store_area);
91 if (!success)
92 fprintf(stderr, "Failed to update variable store\n");
93 storage_drop(storage);
94 return success;
95}
96
97void storage_drop(struct storage_t *storage)
98{

Callers 2

process_setFunction · 0.85
process_removeFunction · 0.85

Calls 3

vs_storeFunction · 0.85
fprintfFunction · 0.85
storage_dropFunction · 0.85

Tested by

no test coverage detected