Lines Matching refs:dst_path

3599 				 struct btrfs_path *dst_path,  in flush_dir_items_batch()  argument
3648 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in flush_dir_items_batch()
3652 dst = dst_path->nodes[0]; in flush_dir_items_batch()
3663 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1); in flush_dir_items_batch()
3666 btrfs_release_path(dst_path); in flush_dir_items_batch()
3715 struct btrfs_path *dst_path, in process_dir_items_leaf() argument
3761 ret = insert_dir_log_key(trans, log, dst_path, in process_dir_items_leaf()
3814 ret = flush_dir_items_batch(trans, inode, src, dst_path, in process_dir_items_leaf()
3831 struct btrfs_path *dst_path, in log_dir_items() argument
3939 ret = process_dir_items_leaf(trans, inode, path, dst_path, ctx, in log_dir_items()
3986 btrfs_release_path(dst_path); in log_dir_items()
4088 struct btrfs_path *dst_path, in log_directory_changes() argument
4103 ret = log_dir_items(trans, inode, path, dst_path, in log_directory_changes()
4348 struct btrfs_path *dst_path, in copy_items() argument
4515 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in copy_items()
4522 const int dst_slot = dst_path->slots[0] + dst_index; in copy_items()
4549 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], dst_slot); in copy_items()
4555 inode_item = btrfs_item_ptr(dst_path->nodes[0], dst_slot, in copy_items()
4557 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
4562 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
4569 btrfs_mark_buffer_dirty(trans, dst_path->nodes[0]); in copy_items()
4570 btrfs_release_path(dst_path); in copy_items()
4803 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4862 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4908 if (!dst_path) { in btrfs_log_prealloc_extents()
4909 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4910 if (!dst_path) { in btrfs_log_prealloc_extents()
4917 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4921 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
5078 struct btrfs_path *dst_path, in btrfs_log_all_xattrs() argument
5107 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5133 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5884 struct btrfs_path *dst_path, in copy_inode_items_to_log() argument
5942 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5961 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5979 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5993 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
6019 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
6031 ret = btrfs_log_prealloc_extents(trans, inode, dst_path, ctx); in copy_inode_items_to_log()
6421 struct btrfs_path *dst_path; in btrfs_log_inode() local
6440 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
6441 if (!dst_path) { in btrfs_log_inode()
6614 path, dst_path, logged_isize, in btrfs_log_inode()
6621 btrfs_release_path(dst_path); in btrfs_log_inode()
6622 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6628 btrfs_release_path(dst_path); in btrfs_log_inode()
6635 btrfs_release_path(dst_path); in btrfs_log_inode()
6637 ret = log_inode_item(trans, log, dst_path, inode, inode_item_dropped); in btrfs_log_inode()
6649 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6656 ret = btrfs_log_changed_extents(trans, inode, dst_path, ctx); in btrfs_log_inode()
6669 ret = log_directory_changes(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6730 btrfs_free_path(dst_path); in btrfs_log_inode()