Lines Matching refs:cur_offset

2127 	u64 cur_offset = start;  in run_delalloc_nocow()  local
2159 while (cur_offset <= end) { in run_delalloc_nocow()
2169 cur_offset, 0); in run_delalloc_nocow()
2223 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
2225 cow_start = cur_offset; in run_delalloc_nocow()
2226 cur_offset = found_key.offset; in run_delalloc_nocow()
2249 if (extent_end <= cur_offset) { in run_delalloc_nocow()
2254 nocow_args.start = cur_offset; in run_delalloc_nocow()
2275 cow_start = cur_offset; in run_delalloc_nocow()
2276 cur_offset = extent_end; in run_delalloc_nocow()
2277 if (cur_offset > end) in run_delalloc_nocow()
2302 &nocow_args, cur_offset, in run_delalloc_nocow()
2306 nocow_end = cur_offset + nocow_args.file_extent.num_bytes - 1; in run_delalloc_nocow()
2309 cur_offset = extent_end; in run_delalloc_nocow()
2313 if (cur_offset <= end && cow_start == (u64)-1) in run_delalloc_nocow()
2314 cow_start = cur_offset; in run_delalloc_nocow()
2354 oe_cleanup_len = cur_offset - start; in run_delalloc_nocow()
2358 untouched_start = cur_offset; in run_delalloc_nocow()
2422 start, end + 1 - start, cur_offset, oe_cleanup_start, oe_cleanup_len, in run_delalloc_nocow()
5307 u64 cur_offset; in btrfs_cont_expand() local
5325 cur_offset = hole_start; in btrfs_cont_expand()
5327 em = btrfs_get_extent(inode, NULL, cur_offset, block_end - cur_offset); in btrfs_cont_expand()
5335 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5340 ret = maybe_insert_hole(inode, cur_offset, hole_size); in btrfs_cont_expand()
5345 cur_offset, hole_size); in btrfs_cont_expand()
5351 btrfs_drop_extent_map_range(inode, cur_offset, in btrfs_cont_expand()
5352 cur_offset + hole_size - 1, in btrfs_cont_expand()
5357 hole_em->start = cur_offset; in btrfs_cont_expand()
5369 cur_offset, hole_size); in btrfs_cont_expand()
5376 cur_offset = last_byte; in btrfs_cont_expand()
5377 if (cur_offset >= block_end) in btrfs_cont_expand()
9220 u64 cur_offset = start; in __btrfs_prealloc_file_range() local
9257 &ins, cur_offset); in __btrfs_prealloc_file_range()
9274 btrfs_drop_extent_map_range(BTRFS_I(inode), cur_offset, in __btrfs_prealloc_file_range()
9275 cur_offset + ins.offset - 1, false); in __btrfs_prealloc_file_range()
9280 em->start = cur_offset; in __btrfs_prealloc_file_range()
9293 cur_offset += ins.offset; in __btrfs_prealloc_file_range()
9301 (cur_offset > inode->i_size)) { in __btrfs_prealloc_file_range()
9302 if (cur_offset > actual_len) in __btrfs_prealloc_file_range()
9305 i_size = cur_offset; in __btrfs_prealloc_file_range()