Home
last modified time | relevance | path

Searched refs:extent_end (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/
Dfile.c564 u64 extent_end = 0; in btrfs_drop_extents() local
625 extent_end = key.offset + in btrfs_drop_extents()
628 extent_end = key.offset + in btrfs_drop_extents()
632 extent_end = search_start; in btrfs_drop_extents()
635 if (extent_end <= search_start) { in btrfs_drop_extents()
651 if (start > key.offset && end < extent_end) { in btrfs_drop_extents()
678 extent_end - start); in btrfs_drop_extents()
696 if (start <= key.offset && end < extent_end) { in btrfs_drop_extents()
706 extent_end - end); in btrfs_drop_extents()
715 search_start = extent_end; in btrfs_drop_extents()
[all …]
Dinode.c1140 u64 extent_end; in run_delalloc_nocow() local
1212 extent_end = found_key.offset; in run_delalloc_nocow()
1225 extent_end = found_key.offset + in run_delalloc_nocow()
1227 if (extent_end <= start) { in run_delalloc_nocow()
1247 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1257 extent_end = found_key.offset + in run_delalloc_nocow()
1259 extent_end = ALIGN(extent_end, root->sectorsize); in run_delalloc_nocow()
1264 if (extent_end <= start) { in run_delalloc_nocow()
1271 cur_offset = extent_end; in run_delalloc_nocow()
1338 cur_offset = extent_end; in run_delalloc_nocow()
[all …]
Dvolumes.c776 u64 extent_end; in btrfs_account_dev_extents_size() local
828 extent_end = key.offset + btrfs_dev_extent_length(l, in btrfs_account_dev_extents_size()
830 if (key.offset <= start && extent_end > end) { in btrfs_account_dev_extents_size()
833 } else if (key.offset <= start && extent_end > start) in btrfs_account_dev_extents_size()
834 *length += extent_end - start; in btrfs_account_dev_extents_size()
835 else if (key.offset > start && extent_end <= end) in btrfs_account_dev_extents_size()
836 *length += extent_end - key.offset; in btrfs_account_dev_extents_size()
882 u64 extent_end; in find_free_dev_extent() local
972 extent_end = key.offset + btrfs_dev_extent_length(l, in find_free_dev_extent()
974 if (extent_end > search_start) in find_free_dev_extent()
[all …]
Dfree-space-cache.c844 u64 start, extent_start, extent_end, len; in __btrfs_write_out_cache() local
926 &extent_start, &extent_end, in __btrfs_write_out_cache()
939 extent_end = min(block_group->key.objectid + in __btrfs_write_out_cache()
940 block_group->key.offset, extent_end + 1); in __btrfs_write_out_cache()
941 len = extent_end - extent_start; in __btrfs_write_out_cache()
948 start = extent_end; in __btrfs_write_out_cache()
Dtree-log.c514 u64 extent_end; in replay_one_extent() local
529 extent_end = start + nbytes; in replay_one_extent()
540 extent_end = (start + size + mask) & ~mask; in replay_one_extent()
589 ret = btrfs_drop_extents(trans, inode, start, extent_end, in replay_one_extent()
Dextent-tree.c307 u64 extent_start, extent_end, size, total_added = 0; in add_new_free_space() local
312 &extent_start, &extent_end, in add_new_free_space()
318 start = extent_end + 1; in add_new_free_space()
325 start = extent_end + 1; in add_new_free_space()