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

Function rs_get_end_raw

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

Source from the content-addressed store, hash-verified

138}
139
140static inline uint64_t
141rs_get_end_raw(const range_seg_t *rs, const range_tree_t *rt)
142{
143 ASSERT3U(rt->rt_type, <=, RANGE_SEG_NUM_TYPES);
144 switch (rt->rt_type) {
145 case RANGE_SEG32:
146 return (((const range_seg32_t *)rs)->rs_end);
147 case RANGE_SEG64:
148 return (((const range_seg64_t *)rs)->rs_end);
149 case RANGE_SEG_GAP:
150 return (((const range_seg_gap_t *)rs)->rs_end);
151 default:
152 VERIFY(0);
153 return (0);
154 }
155}
156
157static inline uint64_t
158rs_get_fill_raw(const range_seg_t *rs, const range_tree_t *rt)

Callers 3

range_tree_remove_implFunction · 0.85
rs_get_endFunction · 0.85
rs_set_fill_rawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected