Searched refs:extent_start (Results 1 – 3 of 3) sorted by relevance
/fs/btrfs/ |
D | free-space-cache.c | 844 u64 start, extent_start, extent_end, len; in __btrfs_write_out_cache() local 926 &extent_start, &extent_end, in __btrfs_write_out_cache() 934 if (extent_start >= block_group->key.objectid + in __btrfs_write_out_cache() 938 extent_start = max(extent_start, start); in __btrfs_write_out_cache() 941 len = extent_end - extent_start; in __btrfs_write_out_cache() 944 ret = io_ctl_add_entry(&io_ctl, extent_start, len, NULL); in __btrfs_write_out_cache() 2640 u64 extent_start; in trim_no_bitmap() local 2674 extent_start = entry->offset; in trim_no_bitmap() 2676 start = max(start, extent_start); in trim_no_bitmap() 2677 bytes = min(extent_start + extent_bytes, end) - start; in trim_no_bitmap() [all …]
|
D | inode.c | 3180 u64 extent_start = 0; in btrfs_truncate_inode_items() local 3278 extent_start = btrfs_file_extent_disk_bytenr(leaf, fi); in btrfs_truncate_inode_items() 3290 if (root->ref_cows && extent_start != 0) in btrfs_truncate_inode_items() 3302 if (extent_start != 0) { in btrfs_truncate_inode_items() 3352 ret = btrfs_free_extent(trans, root, extent_start, in btrfs_truncate_inode_items() 5126 u64 extent_start = 0; in btrfs_get_extent() local 5205 extent_start = found_key.offset; in btrfs_get_extent() 5209 extent_end = extent_start + in btrfs_get_extent() 5214 extent_end = (extent_start + size + root->sectorsize - 1) & in btrfs_get_extent() 5243 em->start = extent_start; in btrfs_get_extent() [all …]
|
D | extent-tree.c | 307 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() 317 if (extent_start <= start) { in add_new_free_space() 319 } else if (extent_start > start && extent_start < end) { in add_new_free_space() 320 size = extent_start - start; in add_new_free_space()
|