Lines Matching refs:cur_offset
2529 u64 cur_offset; in btrfs_punch_hole_range() local
2568 cur_offset = start; in btrfs_punch_hole_range()
2569 while (cur_offset < end) { in btrfs_punch_hole_range()
2571 cur_offset, end + 1, &drop_end, in btrfs_punch_hole_range()
2588 if (!clone_info && cur_offset < drop_end && in btrfs_punch_hole_range()
2589 cur_offset < ino_size) { in btrfs_punch_hole_range()
2591 cur_offset, drop_end); in btrfs_punch_hole_range()
2605 u64 clone_len = drop_end - cur_offset; in btrfs_punch_hole_range()
2618 cur_offset = drop_end; in btrfs_punch_hole_range()
2640 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole_range()
2684 if (!clone_info && cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole_range()
2686 cur_offset, drop_end); in btrfs_punch_hole_range()
3160 u64 cur_offset; in btrfs_fallocate() local
3173 cur_offset = alloc_start; in btrfs_fallocate()
3276 while (cur_offset < alloc_end) { in btrfs_fallocate()
3277 em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, cur_offset, in btrfs_fallocate()
3278 alloc_end - cur_offset, 0); in btrfs_fallocate()
3287 (cur_offset >= inode->i_size && in btrfs_fallocate()
3289 ret = add_falloc_range(&reserve_list, cur_offset, in btrfs_fallocate()
3290 last_byte - cur_offset); in btrfs_fallocate()
3296 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3298 cur_offset = last_byte; in btrfs_fallocate()
3309 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3312 cur_offset = last_byte; in btrfs_fallocate()
3348 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()