Lines Matching refs:begin
323 uint64_t b, begin, end; in with_runs() local
336 fn(sm, begin, end); in with_runs()
337 begin = b; in with_runs()
342 begin = b; in with_runs()
348 fn(sm, begin, end); in with_runs()
1569 dm_block_t begin, dm_block_t end, in __find_mapped_range() argument
1577 if (end < begin) in __find_mapped_range()
1580 r = __find_next_mapped_block(td, begin, &begin, &lookup); in __find_mapped_range()
1584 if (begin >= end) in __find_mapped_range()
1587 *thin_begin = begin; in __find_mapped_range()
1591 begin++; in __find_mapped_range()
1593 while (begin != end) { in __find_mapped_range()
1594 r = __find_block(td, begin, true, &lookup); in __find_mapped_range()
1607 begin++; in __find_mapped_range()
1610 *thin_end = begin; in __find_mapped_range()
1615 dm_block_t begin, dm_block_t end, in dm_thin_find_mapped_range() argument
1624 r = __find_mapped_range(td, begin, end, thin_begin, thin_end, in dm_thin_find_mapped_range()
1684 static int __remove_range(struct dm_thin_device *td, dm_block_t begin, dm_block_t end) in __remove_range() argument
1714 while (begin < end) { in __remove_range()
1715 r = dm_btree_lookup_next(&pmd->bl_info, mapping_root, &begin, &begin, &value); in __remove_range()
1722 if (begin >= end) in __remove_range()
1725 r = dm_btree_remove_leaves(&pmd->bl_info, mapping_root, &begin, end, &mapping_root, &count); in __remove_range()
1756 dm_block_t begin, dm_block_t end) in dm_thin_remove_range() argument
1762 r = __remove_range(td, begin, end); in dm_thin_remove_range()