Lines Matching refs:dst_path
3444 struct btrfs_path *dst_path, int key_type, in log_dir_items() argument
3505 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3536 ret = overwrite_item(trans, log, dst_path, src, i, in log_dir_items()
3594 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3606 btrfs_release_path(dst_path); in log_dir_items()
3637 struct btrfs_path *dst_path, in log_directory_changes() argument
3649 ret = log_dir_items(trans, root, inode, path, dst_path, key_type, in log_directory_changes()
3799 struct btrfs_path *dst_path, in copy_items() argument
3839 ret = btrfs_insert_empty_items(trans, log, dst_path, in copy_items()
3846 for (i = 0; i < nr; i++, dst_path->slots[0]++) { in copy_items()
3847 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], in copy_items()
3848 dst_path->slots[0]); in copy_items()
3856 inode_item = btrfs_item_ptr(dst_path->nodes[0], in copy_items()
3857 dst_path->slots[0], in copy_items()
3859 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
3864 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
3920 btrfs_release_path(dst_path); in copy_items()
3928 btrfs_mark_buffer_dirty(dst_path->nodes[0]); in copy_items()
3929 btrfs_release_path(dst_path); in copy_items()
4271 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4293 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4339 if (!dst_path) { in btrfs_log_prealloc_extents()
4340 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4341 if (!dst_path) { in btrfs_log_prealloc_extents()
4348 ret = copy_items(trans, inode, dst_path, path, &last_extent, in btrfs_log_prealloc_extents()
4355 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
4492 struct btrfs_path *dst_path) in btrfs_log_all_xattrs() argument
4517 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
4547 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
4815 struct btrfs_path *dst_path; in btrfs_log_inode() local
4835 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
4836 if (!dst_path) { in btrfs_log_inode()
4872 btrfs_free_path(dst_path); in btrfs_log_inode()
4992 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_inode()
5045 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_inode()
5069 ret = copy_items(trans, inode, dst_path, path, &last_extent, in btrfs_log_inode()
5093 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_inode()
5115 ret = copy_items(trans, inode, dst_path, path, &last_extent, in btrfs_log_inode()
5127 btrfs_release_path(dst_path); in btrfs_log_inode()
5128 err = btrfs_log_all_xattrs(trans, root, inode, path, dst_path); in btrfs_log_inode()
5134 btrfs_release_path(dst_path); in btrfs_log_inode()
5141 btrfs_release_path(dst_path); in btrfs_log_inode()
5143 err = log_inode_item(trans, log, dst_path, inode); in btrfs_log_inode()
5146 dst_path); in btrfs_log_inode()
5153 ret = btrfs_log_changed_extents(trans, root, inode, dst_path, in btrfs_log_inode()
5192 ret = log_directory_changes(trans, root, inode, path, dst_path, in btrfs_log_inode()
5208 btrfs_free_path(dst_path); in btrfs_log_inode()