Lines Matching refs:dst_path
3575 struct btrfs_path *dst_path, int key_type, in log_dir_items() argument
3636 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3682 ret = overwrite_item(trans, log, dst_path, src, i, in log_dir_items()
3740 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3752 btrfs_release_path(dst_path); in log_dir_items()
3783 struct btrfs_path *dst_path, in log_directory_changes() argument
3795 ret = log_dir_items(trans, root, inode, path, dst_path, key_type, in log_directory_changes()
3989 struct btrfs_path *dst_path, in copy_items() argument
4023 ret = btrfs_insert_empty_items(trans, log, dst_path, in copy_items()
4030 for (i = 0; i < nr; i++, dst_path->slots[0]++) { in copy_items()
4031 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], in copy_items()
4032 dst_path->slots[0]); in copy_items()
4037 inode_item = btrfs_item_ptr(dst_path->nodes[0], in copy_items()
4038 dst_path->slots[0], in copy_items()
4040 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
4045 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
4092 btrfs_mark_buffer_dirty(dst_path->nodes[0]); in copy_items()
4093 btrfs_release_path(dst_path); in copy_items()
4327 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4386 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4431 if (!dst_path) { in btrfs_log_prealloc_extents()
4432 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4433 if (!dst_path) { in btrfs_log_prealloc_extents()
4440 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4444 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
4608 struct btrfs_path *dst_path) in btrfs_log_all_xattrs() argument
4635 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
4661 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5093 struct btrfs_path *dst_path, in copy_inode_items_to_log() argument
5152 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5170 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5188 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5202 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5221 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5233 ret = btrfs_log_prealloc_extents(trans, inode, dst_path); in copy_inode_items_to_log()
5259 struct btrfs_path *dst_path; in btrfs_log_inode() local
5276 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
5277 if (!dst_path) { in btrfs_log_inode()
5317 btrfs_free_path(dst_path); in btrfs_log_inode()
5412 path, dst_path, logged_isize, in btrfs_log_inode()
5419 btrfs_release_path(dst_path); in btrfs_log_inode()
5420 err = btrfs_log_all_xattrs(trans, root, inode, path, dst_path); in btrfs_log_inode()
5426 btrfs_release_path(dst_path); in btrfs_log_inode()
5433 btrfs_release_path(dst_path); in btrfs_log_inode()
5435 err = log_inode_item(trans, log, dst_path, inode); in btrfs_log_inode()
5438 dst_path); in btrfs_log_inode()
5445 ret = btrfs_log_changed_extents(trans, root, inode, dst_path, in btrfs_log_inode()
5461 ret = log_directory_changes(trans, root, inode, path, dst_path, in btrfs_log_inode()
5502 btrfs_free_path(dst_path); in btrfs_log_inode()