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

Function rs_set_end

freebsd/contrib/openzfs/include/sys/range_tree.h:264–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static inline void
265rs_set_end(range_seg_t *rs, range_tree_t *rt, uint64_t end)
266{
267 ASSERT3U(end, >=, rt->rt_start);
268 ASSERT(IS_P2ALIGNED(end, 1ULL << rt->rt_shift));
269 rs_set_end_raw(rs, rt, (end - rt->rt_start) >> rt->rt_shift);
270}
271
272static inline void
273rs_set_fill(range_seg_t *rs, range_tree_t *rt, uint64_t fill)

Callers 8

range_tree_add_implFunction · 0.85
range_tree_remove_implFunction · 0.85
range_tree_find_implFunction · 0.85
metaslab_size_sorted_addFunction · 0.85
metaslab_block_findFunction · 0.85
metaslab_ndf_allocFunction · 0.85
spa_vdev_copy_segmentFunction · 0.85

Calls 1

rs_set_end_rawFunction · 0.85

Tested by

no test coverage detected