Lines Matching refs:cur_offset
2410 u64 cur_offset; in btrfs_punch_hole() local
2551 cur_offset = lockstart; in btrfs_punch_hole()
2552 len = lockend - cur_offset; in btrfs_punch_hole()
2553 while (cur_offset < lockend) { in btrfs_punch_hole()
2555 cur_offset, lockend + 1, in btrfs_punch_hole()
2562 if (cur_offset < drop_end && cur_offset < ino_size) { in btrfs_punch_hole()
2564 cur_offset, drop_end); in btrfs_punch_hole()
2578 cur_offset = drop_end; in btrfs_punch_hole()
2601 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole()
2634 if (cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole()
2636 cur_offset, drop_end); in btrfs_punch_hole()
2963 u64 cur_offset; in btrfs_fallocate() local
2976 cur_offset = alloc_start; in btrfs_fallocate()
3079 while (cur_offset < alloc_end) { in btrfs_fallocate()
3080 em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, cur_offset, in btrfs_fallocate()
3081 alloc_end - cur_offset, 0); in btrfs_fallocate()
3090 (cur_offset >= inode->i_size && in btrfs_fallocate()
3092 ret = add_falloc_range(&reserve_list, cur_offset, in btrfs_fallocate()
3093 last_byte - cur_offset); in btrfs_fallocate()
3099 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3111 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3114 cur_offset = last_byte; in btrfs_fallocate()
3150 alloc_start, alloc_end - cur_offset); in btrfs_fallocate()