Lines Matching refs:cur_offset
2550 u64 cur_offset; in btrfs_punch_hole_range() local
2589 cur_offset = start; in btrfs_punch_hole_range()
2590 while (cur_offset < end) { in btrfs_punch_hole_range()
2592 cur_offset, end + 1, &drop_end, in btrfs_punch_hole_range()
2609 if (!clone_info && cur_offset < drop_end && in btrfs_punch_hole_range()
2610 cur_offset < ino_size) { in btrfs_punch_hole_range()
2612 cur_offset, drop_end); in btrfs_punch_hole_range()
2639 cur_offset = drop_end; in btrfs_punch_hole_range()
2661 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole_range()
2705 if (!clone_info && cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole_range()
2707 cur_offset, drop_end); in btrfs_punch_hole_range()
3184 u64 cur_offset; in btrfs_fallocate() local
3197 cur_offset = alloc_start; in btrfs_fallocate()
3300 while (cur_offset < alloc_end) { in btrfs_fallocate()
3301 em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, cur_offset, in btrfs_fallocate()
3302 alloc_end - cur_offset, 0); in btrfs_fallocate()
3311 (cur_offset >= inode->i_size && in btrfs_fallocate()
3313 ret = add_falloc_range(&reserve_list, cur_offset, in btrfs_fallocate()
3314 last_byte - cur_offset); in btrfs_fallocate()
3320 &data_reserved, cur_offset, in btrfs_fallocate()
3321 last_byte - cur_offset); in btrfs_fallocate()
3323 cur_offset = last_byte; in btrfs_fallocate()
3334 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3337 cur_offset = last_byte; in btrfs_fallocate()
3373 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()