/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | range_tree.c | 108 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_verify() 127 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_incr() 141 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_decr() 256 rs_get_start(rs, rt)); in range_tree_adjust_fill() 294 uint64_t rstart = rs_get_start(rs, rt); in range_tree_add_impl() 331 merge_after = (rs_after != NULL && rs_get_start(rs_after, rt) <= end + in range_tree_add_impl() 337 bridge_size += rs_get_start(rs_after, rt) - end; in range_tree_add_impl() 393 rs_get_start(rs, rt)); in range_tree_add_impl() 396 rs_get_start(rs, rt)); in range_tree_add_impl() 448 start = rs_get_start(rs, rt); in range_tree_remove_impl() [all …]
|
H A D | vdev_removal.c | 969 ASSERT3U(rs_get_start(rs, segs), ==, start); in spa_vdev_copy_segment() 972 if (rs_get_start(rs, segs) >= start + size) { in spa_vdev_copy_segment() 977 rs_get_start(rs, segs) - prev_seg_end); in spa_vdev_copy_segment() 1237 seg_length = MIN(rs_get_end(rs, rt) - rs_get_start(rs, in spa_vdev_copy_impl() 1240 if (rs_get_start(rs, rt) - range_tree_max(segs) > in spa_vdev_copy_impl() 1257 rs_get_start(rs, rt); in spa_vdev_copy_impl() 1261 range_tree_add(segs, rs_get_start(rs, rt), seg_length); in spa_vdev_copy_impl() 1263 rs_get_start(rs, rt), seg_length); in spa_vdev_copy_impl()
|
H A D | space_reftree.c | 116 space_reftree_add_seg(t, rs_get_start(rs, rt), rs_get_end(rs, in space_reftree_add_map()
|
H A D | vdev_initialize.c | 287 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in vdev_initialize_ranges() 297 VDEV_LABEL_START_SIZE + rs_get_start(rs, rt) + in vdev_initialize_ranges() 363 logical_rs.rs_start = rs_get_start(rs, rt); in vdev_initialize_calculate_progress()
|
H A D | metaslab.c | 1401 if (rs_get_end(rs, rt) - rs_get_start(rs, rt) < in metaslab_rt_add() 1415 if (rs_get_end(rs, rt) - rs_get_start(rs, rt) < (1 << in metaslab_rt_remove() 1466 return (rs_get_end(rs, msp->ms_allocatable) - rs_get_start(rs, in metaslab_largest_allocatable() 1512 uint64_t rstart = rs_get_start(rs, msp->ms_unflushed_frees); in metaslab_largest_unflushed_free() 1572 first_found = rs_get_start(rs, rt); in metaslab_block_picker() 1574 while (rs != NULL && (rs_get_start(rs, rt) - first_found <= in metaslab_block_picker() 1576 uint64_t offset = rs_get_start(rs, rt); in metaslab_block_picker() 1659 if (rs != NULL && rs_get_start(rs, rt) + size <= rs_get_end(rs, in metaslab_df_alloc() 1661 offset = rs_get_start(rs, rt); in metaslab_df_alloc() 1701 if (rs == NULL || (rs_get_end(rs, rt) - rs_get_start(rs, rt)) < in metaslab_cf_alloc() [all …]
|
H A D | space_map.c | 683 uint64_t offset = (rs_get_start(rs, rt) - sm->sm_start) >> in space_map_write_impl() 685 uint64_t length = (rs_get_end(rs, rt) - rs_get_start(rs, rt)) >> in space_map_write_impl() 711 space_map_write_seg(sm, rs_get_start(rs, rt), rs_get_end(rs, in space_map_write_impl()
|
H A D | dsl_scan.c | 2778 SIO_SET_OFFSET(srch_sio, rs_get_start(rs, queue->q_exts_by_addr)); in scan_io_queue_gather() 2792 ASSERT3U(SIO_GET_OFFSET(sio), >=, rs_get_start(rs, in scan_io_queue_gather() 2823 uint64_t rstart = rs_get_start(rs, queue->q_exts_by_addr); in scan_io_queue_gather() 2864 uint64_t start = rs_get_start(size_rs, rt); in scan_io_queue_fetch_ext() 2869 ASSERT3U(rs_get_start(size_rs, rt), ==, in scan_io_queue_fetch_ext() 2870 rs_get_start(addr_rs, rt)); in scan_io_queue_fetch_ext() 2897 uint64_t start = rs_get_start(size_rs, rt); in scan_io_queue_fetch_ext() 2901 ASSERT3U(rs_get_start(size_rs, rt), ==, rs_get_start(addr_rs, in scan_io_queue_fetch_ext()
|
H A D | vdev_trim.c | 550 uint64_t size = rs_get_end(rs, ta->trim_tree) - rs_get_start(rs, in vdev_trim_ranges() 566 rs_get_start(rs, ta->trim_tree) + in vdev_trim_ranges() 649 logical_rs.rs_start = rs_get_start(rs, rt); in vdev_trim_calculate_progress()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | range_tree.h | 180 rs_get_start(const range_seg_t *rs, const range_tree_t *rt) in rs_get_start() function
|