Lines Matching refs:cur_offset
2269 u64 cur_offset; in btrfs_punch_hole() local
2437 cur_offset = lockstart; in btrfs_punch_hole()
2438 len = lockend - cur_offset; in btrfs_punch_hole()
2439 while (cur_offset < lockend) { in btrfs_punch_hole()
2441 cur_offset, lockend + 1, in btrfs_punch_hole()
2448 if (cur_offset < ino_size) { in btrfs_punch_hole()
2449 ret = fill_holes(trans, inode, path, cur_offset, in btrfs_punch_hole()
2457 cur_offset = drop_end; in btrfs_punch_hole()
2480 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole()
2500 if (cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole()
2501 ret = fill_holes(trans, inode, path, cur_offset, drop_end); in btrfs_punch_hole()
2554 u64 cur_offset; in btrfs_fallocate() local
2645 cur_offset = alloc_start; in btrfs_fallocate()
2649 em = btrfs_get_extent(inode, NULL, 0, cur_offset, in btrfs_fallocate()
2650 alloc_end - cur_offset, 0); in btrfs_fallocate()
2663 (cur_offset >= inode->i_size && in btrfs_fallocate()
2665 ret = btrfs_prealloc_file_range(inode, mode, cur_offset, in btrfs_fallocate()
2666 last_byte - cur_offset, in btrfs_fallocate()
2700 cur_offset = last_byte; in btrfs_fallocate()
2701 if (cur_offset >= alloc_end) { in btrfs_fallocate()