Lines Matching refs:dst_path
3541 struct btrfs_path *dst_path, in flush_dir_items_batch() argument
3590 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in flush_dir_items_batch()
3594 dst = dst_path->nodes[0]; in flush_dir_items_batch()
3605 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1); in flush_dir_items_batch()
3608 btrfs_release_path(dst_path); in flush_dir_items_batch()
3633 struct btrfs_path *dst_path, in process_dir_items_leaf() argument
3682 ret = insert_dir_log_key(trans, log, dst_path, in process_dir_items_leaf()
3735 ret = flush_dir_items_batch(trans, inode, src, dst_path, in process_dir_items_leaf()
3752 struct btrfs_path *dst_path, in log_dir_items() argument
3860 ret = process_dir_items_leaf(trans, inode, path, dst_path, ctx, in log_dir_items()
3907 btrfs_release_path(dst_path); in log_dir_items()
4009 struct btrfs_path *dst_path, in log_directory_changes() argument
4024 ret = log_dir_items(trans, inode, path, dst_path, in log_directory_changes()
4267 struct btrfs_path *dst_path, in copy_items() argument
4437 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in copy_items()
4444 const int dst_slot = dst_path->slots[0] + dst_index; in copy_items()
4471 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], dst_slot); in copy_items()
4477 inode_item = btrfs_item_ptr(dst_path->nodes[0], dst_slot, in copy_items()
4479 fill_inode_item(trans, dst_path->nodes[0], inode_item, in copy_items()
4484 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
4491 btrfs_mark_buffer_dirty(dst_path->nodes[0]); in copy_items()
4492 btrfs_release_path(dst_path); in copy_items()
4719 struct btrfs_path *dst_path = NULL; in btrfs_log_prealloc_extents() local
4778 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4819 if (!dst_path) { in btrfs_log_prealloc_extents()
4820 dst_path = btrfs_alloc_path(); in btrfs_log_prealloc_extents()
4821 if (!dst_path) { in btrfs_log_prealloc_extents()
4828 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_prealloc_extents()
4832 btrfs_free_path(dst_path); in btrfs_log_prealloc_extents()
4989 struct btrfs_path *dst_path) in btrfs_log_all_xattrs() argument
5017 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5043 ret = copy_items(trans, inode, dst_path, path, in btrfs_log_all_xattrs()
5796 struct btrfs_path *dst_path, in copy_inode_items_to_log() argument
5854 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5873 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5891 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5905 ret = copy_items(trans, inode, dst_path, path, in copy_inode_items_to_log()
5931 ret = copy_items(trans, inode, dst_path, path, ins_start_slot, in copy_inode_items_to_log()
5943 ret = btrfs_log_prealloc_extents(trans, inode, dst_path); in copy_inode_items_to_log()
6334 struct btrfs_path *dst_path; in btrfs_log_inode() local
6353 dst_path = btrfs_alloc_path(); in btrfs_log_inode()
6354 if (!dst_path) { in btrfs_log_inode()
6527 path, dst_path, logged_isize, in btrfs_log_inode()
6534 btrfs_release_path(dst_path); in btrfs_log_inode()
6535 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path); in btrfs_log_inode()
6541 btrfs_release_path(dst_path); in btrfs_log_inode()
6548 btrfs_release_path(dst_path); in btrfs_log_inode()
6550 ret = log_inode_item(trans, log, dst_path, inode, inode_item_dropped); in btrfs_log_inode()
6562 ret = btrfs_log_all_xattrs(trans, inode, path, dst_path); in btrfs_log_inode()
6569 ret = btrfs_log_changed_extents(trans, inode, dst_path, ctx); in btrfs_log_inode()
6582 ret = log_directory_changes(trans, inode, path, dst_path, ctx); in btrfs_log_inode()
6643 btrfs_free_path(dst_path); in btrfs_log_inode()