Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
static size_t block_to_bytes(uint16_t offset)
51
{
52
return (size_t)offset << REGF_BLOCK_SHIFT;
53
}
54
55
static size_t bytes_to_block(size_t bytes)
56
{
Callers
5
read_mb
Function · 0.85
region_file_init
Function · 0.85
region_file_data
Function · 0.85
allocate_metadata
Function · 0.85
commit_data
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected