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

Function block_to_bytes

src/lib/region_file.c:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48};
49
50static size_t block_to_bytes(uint16_t offset)
51{
52 return (size_t)offset << REGF_BLOCK_SHIFT;
53}
54
55static size_t bytes_to_block(size_t bytes)
56{

Callers 5

read_mbFunction · 0.85
region_file_initFunction · 0.85
region_file_dataFunction · 0.85
allocate_metadataFunction · 0.85
commit_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected