Lines Matching refs:dst_path
3637 struct btrfs_path *dst_path, in flush_dir_items_batch() argument
3686 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in flush_dir_items_batch()
3690 dst = dst_path->nodes[0]; in flush_dir_items_batch()
3701 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1); in flush_dir_items_batch()
3704 btrfs_release_path(dst_path); in flush_dir_items_batch()
3753 struct btrfs_path *dst_path, in process_dir_items_leaf() argument
3799 ret = insert_dir_log_key(trans, log, dst_path, in process_dir_items_leaf()
3852 ret = flush_dir_items_batch(trans, inode, src, dst_path, in process_dir_items_leaf()
3869 struct btrfs_path *dst_path, in log_dir_items() argument
3977 ret = process_dir_items_leaf(trans, inode, path, dst_path, ctx, in log_dir_items()
4024 btrfs_release_path(dst_path); in log_dir_items()
4126 struct btrfs_path *dst_path, in log_directory_changes() argument
4141 ret = log_dir_items(trans, inode, path, dst_path, in log_directory_changes()
4379 struct btrfs_path *dst_path, in copy_items() argument
4546 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in copy_items()
4553 const int dst_slot = dst_path->slots[0] + dst_index; in copy_items()
4580 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], dst_slot); in copy_items()
4586 inode_item = btrfs_item_ptr(dst_path->nodes[0], dst_slot, in copy_items()
4588 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
4593 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
4600 btrfs_release_path(dst_path); in copy_items()
4832 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4891 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4937 if (!dst_path) { in btrfs_log_prealloc_extents()
4938 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4939 if (!dst_path) { in btrfs_log_prealloc_extents()
4946 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4950 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
5107 struct btrfs_path *dst_path, in btrfs_log_all_xattrs() argument
5136 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5162 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5909 struct btrfs_path *dst_path, in copy_inode_items_to_log() argument
5967 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5986 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
6004 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
6018 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
6044 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
6056 ret = btrfs_log_prealloc_extents(trans, inode, dst_path, ctx); in copy_inode_items_to_log()
6445 struct btrfs_path *dst_path; in btrfs_log_inode() local
6464 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
6465 if (!dst_path) { in btrfs_log_inode()
6651 path, dst_path, logged_isize, in btrfs_log_inode()
6658 btrfs_release_path(dst_path); in btrfs_log_inode()
6659 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6665 btrfs_release_path(dst_path); in btrfs_log_inode()
6672 btrfs_release_path(dst_path); in btrfs_log_inode()
6674 ret = log_inode_item(trans, log, dst_path, inode, inode_item_dropped); in btrfs_log_inode()
6686 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6693 ret = btrfs_log_changed_extents(trans, inode, dst_path, ctx); in btrfs_log_inode()
6706 ret = log_directory_changes(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6767 btrfs_free_path(dst_path); in btrfs_log_inode()