Lines Matching refs:cur_offset
1932 u64 cur_offset = start; in run_delalloc_nocow() local
1966 cur_offset, 0); in run_delalloc_nocow()
1991 cur_offset = cow_start; in run_delalloc_nocow()
2023 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
2049 if (extent_end <= cur_offset) { in run_delalloc_nocow()
2054 nocow_args.start = cur_offset; in run_delalloc_nocow()
2058 cur_offset = cow_start; in run_delalloc_nocow()
2075 cow_start = cur_offset; in run_delalloc_nocow()
2076 cur_offset = extent_end; in run_delalloc_nocow()
2077 if (cur_offset > end) in run_delalloc_nocow()
2099 nocow_end = cur_offset + nocow_args.num_bytes - 1; in run_delalloc_nocow()
2105 em = create_io_em(inode, cur_offset, nocow_args.num_bytes, in run_delalloc_nocow()
2118 cur_offset, nocow_args.num_bytes, in run_delalloc_nocow()
2125 btrfs_drop_extent_map_range(inode, cur_offset, in run_delalloc_nocow()
2130 ret = btrfs_add_ordered_extent(inode, cur_offset, in run_delalloc_nocow()
2153 ret = btrfs_reloc_clone_csums(inode, cur_offset, in run_delalloc_nocow()
2156 extent_clear_unlock_delalloc(inode, cur_offset, nocow_end, in run_delalloc_nocow()
2162 cur_offset = extent_end; in run_delalloc_nocow()
2171 if (cur_offset > end) in run_delalloc_nocow()
2176 if (cur_offset <= end && cow_start == (u64)-1) in run_delalloc_nocow()
2177 cow_start = cur_offset; in run_delalloc_nocow()
2180 cur_offset = end; in run_delalloc_nocow()
2191 if (ret && cur_offset < end) in run_delalloc_nocow()
2192 extent_clear_unlock_delalloc(inode, cur_offset, end, in run_delalloc_nocow()
4954 u64 cur_offset; in btrfs_cont_expand() local
4972 cur_offset = hole_start; in btrfs_cont_expand()
4974 em = btrfs_get_extent(inode, NULL, 0, cur_offset, in btrfs_cont_expand()
4975 block_end - cur_offset); in btrfs_cont_expand()
4983 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4988 err = maybe_insert_hole(root, inode, cur_offset, in btrfs_cont_expand()
4994 cur_offset, hole_size); in btrfs_cont_expand()
5000 btrfs_drop_extent_map_range(inode, cur_offset, in btrfs_cont_expand()
5001 cur_offset + hole_size - 1, in btrfs_cont_expand()
5006 hole_em->start = cur_offset; in btrfs_cont_expand()
5008 hole_em->orig_start = cur_offset; in btrfs_cont_expand()
5021 cur_offset, hole_size); in btrfs_cont_expand()
5028 cur_offset = last_byte; in btrfs_cont_expand()
5029 if (cur_offset >= block_end) in btrfs_cont_expand()
9568 u64 cur_offset = start; in __btrfs_prealloc_file_range() local
9605 &ins, cur_offset); in __btrfs_prealloc_file_range()
9622 btrfs_drop_extent_map_range(BTRFS_I(inode), cur_offset, in __btrfs_prealloc_file_range()
9623 cur_offset + ins.offset - 1, false); in __btrfs_prealloc_file_range()
9628 em->start = cur_offset; in __btrfs_prealloc_file_range()
9629 em->orig_start = cur_offset; in __btrfs_prealloc_file_range()
9642 cur_offset += ins.offset; in __btrfs_prealloc_file_range()
9650 (cur_offset > inode->i_size)) { in __btrfs_prealloc_file_range()
9651 if (cur_offset > actual_len) in __btrfs_prealloc_file_range()
9654 i_size = cur_offset; in __btrfs_prealloc_file_range()