Lines Matching refs:dst_path
3643 struct btrfs_path *dst_path, int key_type, in log_dir_items() argument
3704 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3750 ret = overwrite_item(trans, log, dst_path, src, i, in log_dir_items()
3808 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3820 btrfs_release_path(dst_path); in log_dir_items()
3851 struct btrfs_path *dst_path, in log_directory_changes() argument
3863 ret = log_dir_items(trans, root, inode, path, dst_path, key_type, in log_directory_changes()
4094 struct btrfs_path *dst_path, in copy_items() argument
4128 ret = btrfs_insert_empty_items(trans, log, dst_path, in copy_items()
4135 for (i = 0; i < nr; i++, dst_path->slots[0]++) { in copy_items()
4136 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], in copy_items()
4137 dst_path->slots[0]); in copy_items()
4142 inode_item = btrfs_item_ptr(dst_path->nodes[0], in copy_items()
4143 dst_path->slots[0], in copy_items()
4145 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
4150 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
4197 btrfs_mark_buffer_dirty(dst_path->nodes[0]); in copy_items()
4198 btrfs_release_path(dst_path); in copy_items()
4436 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4495 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4540 if (!dst_path) { in btrfs_log_prealloc_extents()
4541 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4542 if (!dst_path) { in btrfs_log_prealloc_extents()
4549 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4553 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
4715 struct btrfs_path *dst_path) in btrfs_log_all_xattrs() argument
4742 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
4768 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5200 struct btrfs_path *dst_path, in copy_inode_items_to_log() argument
5250 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5270 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5288 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5302 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5321 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5347 struct btrfs_path *dst_path; in btrfs_log_inode() local
5365 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
5366 if (!dst_path) { in btrfs_log_inode()
5406 btrfs_free_path(dst_path); in btrfs_log_inode()
5506 path, dst_path, logged_isize, in btrfs_log_inode()
5513 btrfs_release_path(dst_path); in btrfs_log_inode()
5514 err = btrfs_log_all_xattrs(trans, root, inode, path, dst_path); in btrfs_log_inode()
5520 btrfs_release_path(dst_path); in btrfs_log_inode()
5527 btrfs_release_path(dst_path); in btrfs_log_inode()
5529 err = log_inode_item(trans, log, dst_path, inode, inode_item_dropped); in btrfs_log_inode()
5542 dst_path); in btrfs_log_inode()
5549 ret = btrfs_log_changed_extents(trans, root, inode, dst_path, in btrfs_log_inode()
5565 ret = log_directory_changes(trans, root, inode, path, dst_path, in btrfs_log_inode()
5619 btrfs_free_path(dst_path); in btrfs_log_inode()