Home
last modified time | relevance | path

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

/fs/btrfs/
Dfile.c708 u64 extent_end = 0; in __btrfs_drop_extents() local
780 extent_end = key.offset + in __btrfs_drop_extents()
783 extent_end = key.offset + in __btrfs_drop_extents()
800 if (extent_end == key.offset && extent_end >= search_start) in __btrfs_drop_extents()
803 if (extent_end <= search_start) { in __btrfs_drop_extents()
820 if (start > key.offset && end < extent_end) { in __btrfs_drop_extents()
850 extent_end - start); in __btrfs_drop_extents()
867 if (start <= key.offset && end < extent_end) { in __btrfs_drop_extents()
880 extent_end - end); in __btrfs_drop_extents()
887 search_start = extent_end; in __btrfs_drop_extents()
[all …]
Dfile-item.c926 u64 extent_start, extent_end; in btrfs_extent_item_to_extent_map() local
937 extent_end = extent_start + in btrfs_extent_item_to_extent_map()
942 extent_end = ALIGN(extent_start + size, root->sectorsize); in btrfs_extent_item_to_extent_map()
949 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
973 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
Dinode.c1256 u64 extent_end; in run_delalloc_nocow() local
1352 extent_end = found_key.offset; in run_delalloc_nocow()
1366 extent_end = found_key.offset + in run_delalloc_nocow()
1370 if (extent_end <= start) { in run_delalloc_nocow()
1390 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1412 extent_end = found_key.offset + in run_delalloc_nocow()
1415 extent_end = ALIGN(extent_end, root->sectorsize); in run_delalloc_nocow()
1420 if (extent_end <= start) { in run_delalloc_nocow()
1432 cur_offset = extent_end; in run_delalloc_nocow()
1517 cur_offset = extent_end; in run_delalloc_nocow()
[all …]
Dtree-log.c588 u64 extent_end; in replay_one_extent() local
602 extent_end = start + nbytes; in replay_one_extent()
613 extent_end = ALIGN(start + size, root->sectorsize); in replay_one_extent()
662 ret = btrfs_drop_extents(trans, root, inode, start, extent_end, 1); in replay_one_extent()
3843 u64 extent_end; in copy_items() local
3866 extent_end = ALIGN(key.offset + len, log->sectorsize); in copy_items()
3869 extent_end = key.offset + len; in copy_items()
3874 *last_extent = extent_end; in copy_items()
3884 *last_extent = extent_end; in copy_items()
Dfree-space-cache.c1041 u64 start, extent_start, extent_end, len; in write_pinned_extent_entries() local
1061 &extent_start, &extent_end, in write_pinned_extent_entries()
1072 extent_end = min(block_group->key.objectid + in write_pinned_extent_entries()
1073 block_group->key.offset, extent_end + 1); in write_pinned_extent_entries()
1074 len = extent_end - extent_start; in write_pinned_extent_entries()
1081 start = extent_end; in write_pinned_extent_entries()
Dvolumes.c1186 u64 extent_end; in btrfs_account_dev_extents_size() local
1238 extent_end = key.offset + btrfs_dev_extent_length(l, in btrfs_account_dev_extents_size()
1240 if (key.offset <= start && extent_end > end) { in btrfs_account_dev_extents_size()
1243 } else if (key.offset <= start && extent_end > start) in btrfs_account_dev_extents_size()
1244 *length += extent_end - start; in btrfs_account_dev_extents_size()
1245 else if (key.offset > start && extent_end <= end) in btrfs_account_dev_extents_size()
1246 *length += extent_end - key.offset; in btrfs_account_dev_extents_size()
1349 u64 extent_end; in find_free_dev_extent_start() local
1456 extent_end = key.offset + btrfs_dev_extent_length(l, in find_free_dev_extent_start()
1458 if (extent_end > search_start) in find_free_dev_extent_start()
[all …]
Dsend.c5261 u64 extent_end; in get_last_extent() local
5288 extent_end = ALIGN(key.offset + size, in get_last_extent()
5291 extent_end = key.offset + in get_last_extent()
5294 sctx->cur_inode_last_extent = extent_end; in get_last_extent()
5304 u64 extent_end; in maybe_send_hole() local
5323 extent_end = ALIGN(key->offset + size, in maybe_send_hole()
5326 extent_end = key->offset + in maybe_send_hole()
5346 sctx->cur_inode_last_extent = extent_end; in maybe_send_hole()
Dextent-tree.c360 u64 extent_start, extent_end, size, total_added = 0; in add_new_free_space() local
365 &extent_start, &extent_end, in add_new_free_space()
372 start = extent_end + 1; in add_new_free_space()
379 start = extent_end + 1; in add_new_free_space()