MCPcopy Create free account
hub / github.com/F-Stack/f-stack / space_map_load

Function space_map_load

freebsd/contrib/openzfs/module/zfs/space_map.c:446–450  ·  view source on GitHub ↗

* Load the space map disk into the specified range tree. Segments of maptype * are added to the range tree, other segment types are removed. */

Source from the content-addressed store, hash-verified

444 * are added to the range tree, other segment types are removed.
445 */
446int
447space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype)
448{
449 return (space_map_load_length(sm, rt, maptype, space_map_length(sm)));
450}
451
452void
453space_map_histogram_clear(space_map_t *sm)

Callers 6

vdev_rebuild_threadFunction · 0.85
vdev_dtl_loadFunction · 0.85
spa_vdev_remove_threadFunction · 0.85
zdb_claim_removingFunction · 0.85

Calls 2

space_map_load_lengthFunction · 0.85
space_map_lengthFunction · 0.85

Tested by

no test coverage detected