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

Function unmap_file

util/smmstoretool/utils.c:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void unmap_file(struct mem_range_t store)
108{
109 if (munmap(store.start, store.length) != 0)
110 fprintf(stderr, "Failed to munmap(): %s\n", strerror(errno));
111}

Callers 3

storage_openFunction · 0.70
storage_dropFunction · 0.70
make_dataFunction · 0.70

Calls 2

fprintfFunction · 0.85
strerrorFunction · 0.85

Tested by

no test coverage detected