Lines Matching refs:dst_path

3659 				 struct btrfs_path *dst_path,  in flush_dir_items_batch()  argument
3706 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in flush_dir_items_batch()
3710 dst = dst_path->nodes[0]; in flush_dir_items_batch()
3721 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1); in flush_dir_items_batch()
3724 btrfs_release_path(dst_path); in flush_dir_items_batch()
3734 struct btrfs_path *dst_path, in process_dir_items_leaf() argument
3815 ret = btrfs_search_slot(NULL, log, &key, dst_path, 0, 0); in process_dir_items_leaf()
3819 btrfs_release_path(dst_path); in process_dir_items_leaf()
3830 ret = do_overwrite_item(trans, log, dst_path, src, i, &key); in process_dir_items_leaf()
3835 ret = flush_dir_items_batch(trans, log, src, dst_path, in process_dir_items_leaf()
3851 ret = flush_dir_items_batch(trans, log, src, dst_path, in process_dir_items_leaf()
3868 struct btrfs_path *dst_path, int key_type, in log_dir_items() argument
3925 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3954 ret = process_dir_items_leaf(trans, inode, path, dst_path, in log_dir_items()
3982 ret = overwrite_item(trans, log, dst_path, in log_dir_items()
3999 btrfs_release_path(dst_path); in log_dir_items()
4030 struct btrfs_path *dst_path, in log_directory_changes() argument
4064 ret = log_dir_items(trans, inode, path, dst_path, key_type, in log_directory_changes()
4317 struct btrfs_path *dst_path, in copy_items() argument
4357 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in copy_items()
4363 for (i = 0; i < nr; i++, dst_path->slots[0]++) { in copy_items()
4364 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], in copy_items()
4365 dst_path->slots[0]); in copy_items()
4370 inode_item = btrfs_item_ptr(dst_path->nodes[0], in copy_items()
4371 dst_path->slots[0], in copy_items()
4373 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
4378 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
4425 btrfs_mark_buffer_dirty(dst_path->nodes[0]); in copy_items()
4426 btrfs_release_path(dst_path); in copy_items()
4675 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4734 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4775 if (!dst_path) { in btrfs_log_prealloc_extents()
4776 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4777 if (!dst_path) { in btrfs_log_prealloc_extents()
4784 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4788 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
4948 struct btrfs_path *dst_path) in btrfs_log_all_xattrs() argument
4976 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5002 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5433 struct btrfs_path *dst_path, in copy_inode_items_to_log() argument
5483 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5503 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5521 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5535 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5554 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5580 struct btrfs_path *dst_path; in btrfs_log_inode() local
5598 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
5599 if (!dst_path) { in btrfs_log_inode()
5725 path, dst_path, logged_isize, in btrfs_log_inode()
5732 btrfs_release_path(dst_path); in btrfs_log_inode()
5733 err = btrfs_log_all_xattrs(trans, inode, path, dst_path); in btrfs_log_inode()
5739 btrfs_release_path(dst_path); in btrfs_log_inode()
5746 btrfs_release_path(dst_path); in btrfs_log_inode()
5748 err = log_inode_item(trans, log, dst_path, inode, inode_item_dropped); in btrfs_log_inode()
5760 err = btrfs_log_all_xattrs(trans, inode, path, dst_path); in btrfs_log_inode()
5767 ret = btrfs_log_changed_extents(trans, inode, dst_path, ctx); in btrfs_log_inode()
5782 ret = log_directory_changes(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
5829 btrfs_free_path(dst_path); in btrfs_log_inode()