Lines Matching refs:extent_end
1228 u64 extent_end; in run_delalloc_nocow() local
1319 extent_end = found_key.offset; in run_delalloc_nocow()
1333 extent_end = found_key.offset + in run_delalloc_nocow()
1337 if (extent_end <= start) { in run_delalloc_nocow()
1357 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1376 extent_end = found_key.offset + in run_delalloc_nocow()
1379 extent_end = ALIGN(extent_end, root->sectorsize); in run_delalloc_nocow()
1384 if (extent_end <= start) { in run_delalloc_nocow()
1393 cur_offset = extent_end; in run_delalloc_nocow()
1470 cur_offset = extent_end; in run_delalloc_nocow()
6747 u64 extent_end = 0; in btrfs_get_extent() local
6827 extent_end = start; in btrfs_get_extent()
6835 extent_end = extent_start + in btrfs_get_extent()
6840 extent_end = ALIGN(extent_start + size, root->sectorsize); in btrfs_get_extent()
6843 if (start >= extent_end) { in btrfs_get_extent()
7188 u64 extent_end; in can_nocow_extent() local
7237 extent_end = key.offset + btrfs_file_extent_num_bytes(leaf, fi); in can_nocow_extent()
7238 if (extent_end <= offset) in can_nocow_extent()
7261 num_bytes = min(offset + *len, extent_end) - offset; in can_nocow_extent()