Lines Matching refs:dst_path

3541 				 struct btrfs_path *dst_path,
3590 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch);
3594 dst = dst_path->nodes[0];
3605 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1);
3608 btrfs_release_path(dst_path);
3633 struct btrfs_path *dst_path,
3682 ret = insert_dir_log_key(trans, log, dst_path,
3735 ret = flush_dir_items_batch(trans, inode, src, dst_path,
3752 struct btrfs_path *dst_path,
3860 ret = process_dir_items_leaf(trans, inode, path, dst_path, ctx,
3907 btrfs_release_path(dst_path);
4009 struct btrfs_path *dst_path,
4024 ret = log_dir_items(trans, inode, path, dst_path,
4267 struct btrfs_path *dst_path,
4437 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch);
4444 const int dst_slot = dst_path->slots[0] + dst_index;
4471 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], dst_slot);
4477 inode_item = btrfs_item_ptr(dst_path->nodes[0], dst_slot,
4479 fill_inode_item(trans, dst_path->nodes[0], inode_item,
4484 copy_extent_buffer(dst_path->nodes[0], src, dst_offset,
4491 btrfs_mark_buffer_dirty(trans, dst_path->nodes[0]);
4492 btrfs_release_path(dst_path);
4719 struct btrfs_path *dst_path = NULL;
4778 ret = copy_items(trans, inode, dst_path, path,
4819 if (!dst_path) {
4820 dst_path = btrfs_alloc_path();
4821 if (!dst_path) {
4828 ret = copy_items(trans, inode, dst_path, path,
4832 btrfs_free_path(dst_path);
4989 struct btrfs_path *dst_path)
5017 ret = copy_items(trans, inode, dst_path, path,
5043 ret = copy_items(trans, inode, dst_path, path,
5796 struct btrfs_path *dst_path,
5854 ret = copy_items(trans, inode, dst_path, path,
5873 ret = copy_items(trans, inode, dst_path, path,
5891 ret = copy_items(trans, inode, dst_path, path, ins_start_slot,
5905 ret = copy_items(trans, inode, dst_path, path,
5931 ret = copy_items(trans, inode, dst_path, path, ins_start_slot,
5943 ret = btrfs_log_prealloc_extents(trans, inode, dst_path);
6334 struct btrfs_path *dst_path;
6353 dst_path = btrfs_alloc_path();
6354 if (!dst_path) {
6527 path, dst_path, logged_isize,
6534 btrfs_release_path(dst_path);
6535 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path);
6541 btrfs_release_path(dst_path);
6548 btrfs_release_path(dst_path);
6550 ret = log_inode_item(trans, log, dst_path, inode, inode_item_dropped);
6562 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path);
6569 ret = btrfs_log_changed_extents(trans, inode, dst_path, ctx);
6582 ret = log_directory_changes(trans, inode, path, dst_path, ctx);
6643 btrfs_free_path(dst_path);