Lines Matching refs:new_key
170 struct btrfs_key *new_key, in clone_copy_inline_extent() argument
180 const u64 aligned_end = ALIGN(new_key->offset + datal, in clone_copy_inline_extent()
187 if (new_key->offset > 0) { in clone_copy_inline_extent()
188 ret = copy_inline_to_page(BTRFS_I(dst), new_key->offset, in clone_copy_inline_extent()
276 ret = btrfs_insert_empty_item(trans, root, path, new_key, size); in clone_copy_inline_extent()
321 ret = copy_inline_to_page(BTRFS_I(dst), new_key->offset, in clone_copy_inline_extent()
376 struct btrfs_key new_key; in btrfs_clone() local
460 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone()
461 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
463 new_key.offset = key.offset + destoff - off; in btrfs_clone()
465 new_key.offset = destoff; in btrfs_clone()
473 if (new_key.offset != last_dest_end) in btrfs_clone()
476 drop_start = new_key.offset; in btrfs_clone()
501 clone_info.file_offset = new_key.offset; in btrfs_clone()
506 drop_start, new_key.offset + datal - 1, in btrfs_clone()
529 ret = clone_copy_inline_extent(inode, path, &new_key, in btrfs_clone()
556 last_dest_end = ALIGN(new_key.offset + datal, in btrfs_clone()
562 if (new_key.offset + datal >= destoff + len) in btrfs_clone()