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

Function rs_set_start

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

Source from the content-addressed store, hash-verified

254}
255
256static inline void
257rs_set_start(range_seg_t *rs, range_tree_t *rt, uint64_t start)
258{
259 ASSERT3U(start, >=, rt->rt_start);
260 ASSERT(IS_P2ALIGNED(start, 1ULL << rt->rt_shift));
261 rs_set_start_raw(rs, rt, (start - rt->rt_start) >> rt->rt_shift);
262}
263
264static inline void
265rs_set_end(range_seg_t *rs, range_tree_t *rt, uint64_t end)

Callers 10

range_tree_add_implFunction · 0.85
range_tree_remove_implFunction · 0.85
range_tree_find_implFunction · 0.85
range_tree_find_inFunction · 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_start_rawFunction · 0.85

Tested by

no test coverage detected