Home
last modified time | relevance | path

Searched refs:removefrom (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drange_tree.c805 range_tree_t *removefrom, range_tree_t *addto) in range_tree_remove_xor_add_segment() argument
809 rs_set_start(&starting_rs, removefrom, start); in range_tree_remove_xor_add_segment()
810 rs_set_end_raw(&starting_rs, removefrom, rs_get_start_raw(&starting_rs, in range_tree_remove_xor_add_segment()
811 removefrom) + 1); in range_tree_remove_xor_add_segment()
813 range_seg_t *curr = zfs_btree_find(&removefrom->rt_root, in range_tree_remove_xor_add_segment()
817 curr = zfs_btree_next(&removefrom->rt_root, &where, &where); in range_tree_remove_xor_add_segment()
826 if (end <= rs_get_start(curr, removefrom)) { in range_tree_remove_xor_add_segment()
831 uint64_t overlap_start = MAX(rs_get_start(curr, removefrom), in range_tree_remove_xor_add_segment()
833 uint64_t overlap_end = MIN(rs_get_end(curr, removefrom), in range_tree_remove_xor_add_segment()
838 rs_copy(curr, &rs, removefrom); in range_tree_remove_xor_add_segment()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drange_tree.h315 range_tree_t *removefrom, range_tree_t *addto);
316 void range_tree_remove_xor_add(range_tree_t *rt, range_tree_t *removefrom,