Lines Matching refs:extent_end
1218 u64 extent_end; in run_delalloc_nocow() local
1309 extent_end = found_key.offset; in run_delalloc_nocow()
1323 extent_end = found_key.offset + in run_delalloc_nocow()
1327 if (extent_end <= start) { in run_delalloc_nocow()
1347 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1366 extent_end = found_key.offset + in run_delalloc_nocow()
1369 extent_end = ALIGN(extent_end, root->sectorsize); in run_delalloc_nocow()
1374 if (extent_end <= start) { in run_delalloc_nocow()
1383 cur_offset = extent_end; in run_delalloc_nocow()
1460 cur_offset = extent_end; in run_delalloc_nocow()
6679 u64 extent_end = 0; in btrfs_get_extent() local
6759 extent_end = start; in btrfs_get_extent()
6767 extent_end = extent_start + in btrfs_get_extent()
6772 extent_end = ALIGN(extent_start + size, root->sectorsize); in btrfs_get_extent()
6775 if (start >= extent_end) { in btrfs_get_extent()
7121 u64 extent_end; in can_nocow_extent() local
7170 extent_end = key.offset + btrfs_file_extent_num_bytes(leaf, fi); in can_nocow_extent()
7171 if (extent_end <= offset) in can_nocow_extent()
7194 num_bytes = min(offset + *len, extent_end) - offset; in can_nocow_extent()