Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ space_map_nblocks
Function
space_map_nblocks
freebsd/contrib/openzfs/module/zfs/space_map.c:1099–1105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1097
}
1098
1099
uint64_t
1100
space_map_nblocks(space_map_t *sm)
1101
{
1102
if (sm == NULL)
1103
return (0);
1104
return (DIV_ROUND_UP(space_map_length(sm), sm->sm_blksz));
1105
}
Callers
2
spa_sync_close_syncing_log_sm
Function · 0.85
spa_ld_log_sm_data
Function · 0.85
Calls
1
space_map_length
Function · 0.85
Tested by
no test coverage detected