Lines Matching refs:cur_offset

1970 	u64 cur_offset = start;  in run_delalloc_nocow()  local
2005 cur_offset, 0); in run_delalloc_nocow()
2059 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
2085 if (extent_end <= cur_offset) { in run_delalloc_nocow()
2090 nocow_args.start = cur_offset; in run_delalloc_nocow()
2109 cow_start = cur_offset; in run_delalloc_nocow()
2110 cur_offset = extent_end; in run_delalloc_nocow()
2111 if (cur_offset > end) in run_delalloc_nocow()
2134 nocow_end = cur_offset + nocow_args.num_bytes - 1; in run_delalloc_nocow()
2140 em = create_io_em(inode, cur_offset, nocow_args.num_bytes, in run_delalloc_nocow()
2155 ordered = btrfs_alloc_ordered_extent(inode, cur_offset, in run_delalloc_nocow()
2165 btrfs_drop_extent_map_range(inode, cur_offset, in run_delalloc_nocow()
2181 extent_clear_unlock_delalloc(inode, cur_offset, nocow_end, in run_delalloc_nocow()
2187 cur_offset = extent_end; in run_delalloc_nocow()
2196 if (cur_offset > end) in run_delalloc_nocow()
2201 if (cur_offset <= end && cow_start == (u64)-1) in run_delalloc_nocow()
2202 cow_start = cur_offset; in run_delalloc_nocow()
2205 cur_offset = end; in run_delalloc_nocow()
2222 cur_offset = cow_start; in run_delalloc_nocow()
2223 if (cur_offset < end) in run_delalloc_nocow()
2224 extent_clear_unlock_delalloc(inode, cur_offset, end, in run_delalloc_nocow()
4858 u64 cur_offset; in btrfs_cont_expand() local
4876 cur_offset = hole_start; in btrfs_cont_expand()
4878 em = btrfs_get_extent(inode, NULL, 0, cur_offset, in btrfs_cont_expand()
4879 block_end - cur_offset); in btrfs_cont_expand()
4887 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4892 err = maybe_insert_hole(root, inode, cur_offset, in btrfs_cont_expand()
4898 cur_offset, hole_size); in btrfs_cont_expand()
4904 btrfs_drop_extent_map_range(inode, cur_offset, in btrfs_cont_expand()
4905 cur_offset + hole_size - 1, in btrfs_cont_expand()
4910 hole_em->start = cur_offset; in btrfs_cont_expand()
4912 hole_em->orig_start = cur_offset; in btrfs_cont_expand()
4925 cur_offset, hole_size); in btrfs_cont_expand()
4932 cur_offset = last_byte; in btrfs_cont_expand()
4933 if (cur_offset >= block_end) in btrfs_cont_expand()
9551 u64 cur_offset = start; in __btrfs_prealloc_file_range() local
9588 &ins, cur_offset); in __btrfs_prealloc_file_range()
9605 btrfs_drop_extent_map_range(BTRFS_I(inode), cur_offset, in __btrfs_prealloc_file_range()
9606 cur_offset + ins.offset - 1, false); in __btrfs_prealloc_file_range()
9611 em->start = cur_offset; in __btrfs_prealloc_file_range()
9612 em->orig_start = cur_offset; in __btrfs_prealloc_file_range()
9625 cur_offset += ins.offset; in __btrfs_prealloc_file_range()
9633 (cur_offset > inode->i_size)) { in __btrfs_prealloc_file_range()
9634 if (cur_offset > actual_len) in __btrfs_prealloc_file_range()
9637 i_size = cur_offset; in __btrfs_prealloc_file_range()