• Home
  • Raw
  • Download

Lines Matching refs:cur_offset

2618 	u64 cur_offset;  in btrfs_replace_file_extents()  local
2657 cur_offset = start; in btrfs_replace_file_extents()
2658 while (cur_offset < end) { in btrfs_replace_file_extents()
2660 cur_offset, end + 1, &drop_end, in btrfs_replace_file_extents()
2680 if (!extent_info && cur_offset < drop_end && in btrfs_replace_file_extents()
2681 cur_offset < ino_size) { in btrfs_replace_file_extents()
2683 cur_offset, drop_end); in btrfs_replace_file_extents()
2694 } else if (!extent_info && cur_offset < drop_end) { in btrfs_replace_file_extents()
2702 cur_offset, drop_end - cur_offset); in btrfs_replace_file_extents()
2728 cur_offset = drop_end; in btrfs_replace_file_extents()
2750 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_replace_file_extents()
2794 if (!extent_info && cur_offset < ino_size && cur_offset < drop_end) { in btrfs_replace_file_extents()
2796 cur_offset, drop_end); in btrfs_replace_file_extents()
2802 } else if (!extent_info && cur_offset < drop_end) { in btrfs_replace_file_extents()
2805 cur_offset, drop_end - cur_offset); in btrfs_replace_file_extents()
3288 u64 cur_offset; in btrfs_fallocate() local
3301 cur_offset = alloc_start; in btrfs_fallocate()
3409 while (cur_offset < alloc_end) { in btrfs_fallocate()
3410 em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, cur_offset, in btrfs_fallocate()
3411 alloc_end - cur_offset); in btrfs_fallocate()
3420 (cur_offset >= inode->i_size && in btrfs_fallocate()
3422 ret = add_falloc_range(&reserve_list, cur_offset, in btrfs_fallocate()
3423 last_byte - cur_offset); in btrfs_fallocate()
3429 &data_reserved, cur_offset, in btrfs_fallocate()
3430 last_byte - cur_offset); in btrfs_fallocate()
3432 cur_offset = last_byte; in btrfs_fallocate()
3443 data_reserved, cur_offset, in btrfs_fallocate()
3444 last_byte - cur_offset); in btrfs_fallocate()
3447 cur_offset = last_byte; in btrfs_fallocate()
3483 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()