Lines Matching refs:cur_ino
174 u64 cur_ino; member
2240 if (ino != sctx->cur_ino && ow_inode == sctx->cur_ino) { in did_overwrite_ref()
2856 if (ino != sctx->cur_ino) { in send_create_inode()
3003 ret = did_create_dir(sctx, sctx->cur_ino); in send_create_inode_if_needed()
3010 ret = send_create_inode(sctx, sctx->cur_ino); in send_create_inode_if_needed()
3013 cache_dir_created(sctx, sctx->cur_ino); in send_create_inode_if_needed()
3214 if (odi && sctx->cur_ino < odi->dir_high_seq_ino) in can_rmdir()
3258 if (sctx->cur_ino < dir_high_seq_ino) { in can_rmdir()
3292 if (loc.objectid > sctx->cur_ino) { in can_rmdir()
3565 sctx->send_progress = sctx->cur_ino + 1; in apply_dir_move()
3693 u64 parent_ino = sctx->cur_ino; in apply_children_dir_moves()
3830 sctx->cur_ino, in wait_for_dest_dir_move()
4005 sctx->cur_ino, sctx->cur_inode_gen, in wait_for_parent_move()
4029 if (ino > sctx->cur_ino && in wait_for_parent_move()
4052 sctx->cur_ino, in wait_for_parent_move()
4182 btrfs_debug(fs_info, "process_recorded_refs %llu", sctx->cur_ino); in process_recorded_refs()
4188 if (unlikely(sctx->cur_ino <= BTRFS_FIRST_FREE_OBJECTID)) { in process_recorded_refs()
4191 sctx->cur_ino); in process_recorded_refs()
4214 ret = did_overwrite_first_ref(sctx, sctx->cur_ino, in process_recorded_refs()
4222 ret = gen_unique_name(sctx, sctx->cur_ino, in process_recorded_refs()
4228 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, in process_recorded_refs()
4347 sctx->cur_ino, NULL); in process_recorded_refs()
4351 ret = get_cur_path(sctx, sctx->cur_ino, in process_recorded_refs()
4498 ret = can_rmdir(sctx, sctx->cur_ino, sctx->cur_inode_gen); in process_recorded_refs()
4506 ret = orphanize_inode(sctx, sctx->cur_ino, in process_recorded_refs()
4536 sctx->cur_ino, sctx->cur_inode_gen, in process_recorded_refs()
4588 if (cur->dir > sctx->cur_ino) in process_recorded_refs()
4946 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in __process_new_xattr()
4969 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in __process_deleted_xattr()
5185 inode = btrfs_iget(sctx->cur_ino, sctx->send_root); in process_verity()
5215 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in process_verity()
5310 folio_pos(folio), sctx->cur_ino, in put_file_data()
5356 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in send_write()
5398 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in send_clone()
5463 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in send_update_extent()
5507 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, p); in send_hole()
5549 inode = btrfs_iget(sctx->cur_ino, root); in send_encoded_inline_extent()
5563 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, fspath); in send_encoded_inline_extent()
5616 inode = btrfs_iget(sctx->cur_ino, root); in send_encoded_extent()
5630 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, fspath); in send_encoded_extent()
5746 sctx->cur_inode = btrfs_iget(sctx->cur_ino, root); in send_extent_data()
5844 di = btrfs_lookup_xattr(NULL, sctx->send_root, path, sctx->cur_ino, in send_capabilities()
5864 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, fspath); in send_capabilities()
6131 clone_root->ino == sctx->cur_ino && in clone_range()
6204 ret = send_truncate(sctx, sctx->cur_ino, in send_write_or_clone()
6431 key.objectid = sctx->cur_ino; in get_last_extent()
6439 if (key.objectid != sctx->cur_ino || key.type != BTRFS_EXTENT_DATA_KEY) in get_last_extent()
6462 key.objectid = sctx->cur_ino; in range_is_hole_in_parent()
6487 if (key.objectid < sctx->cur_ino || in range_is_hole_in_parent()
6490 if (key.objectid > sctx->cur_ino || in range_is_hole_in_parent()
6519 if (sctx->cur_ino != key->objectid || !need_send_hole(sctx)) in maybe_send_hole()
6656 if (sctx->cur_ino == 0) in process_recorded_refs_if_needed()
6658 if (!at_end && sctx->cur_ino == sctx->cmp_key->objectid && in process_recorded_refs_if_needed()
6713 sctx->send_progress = sctx->cur_ino + 1; in finish_inode_if_needed()
6715 if (sctx->cur_ino == 0 || sctx->cur_inode_deleted) in finish_inode_if_needed()
6717 if (!at_end && sctx->cmp_key->objectid == sctx->cur_ino) in finish_inode_if_needed()
6719 ret = get_inode_info(sctx->send_root, sctx->cur_ino, &info); in finish_inode_if_needed()
6736 ret = get_inode_info(sctx->parent_root, sctx->cur_ino, &info); in finish_inode_if_needed()
6783 ret = send_truncate(sctx, sctx->cur_ino, in finish_inode_if_needed()
6792 ret = send_chown(sctx, sctx->cur_ino, sctx->cur_inode_gen, in finish_inode_if_needed()
6798 ret = send_chmod(sctx, sctx->cur_ino, sctx->cur_inode_gen, in finish_inode_if_needed()
6804 ret = send_fileattr(sctx, sctx->cur_ino, sctx->cur_inode_gen, in finish_inode_if_needed()
6825 if (!is_waiting_for_move(sctx, sctx->cur_ino)) { in finish_inode_if_needed()
6836 sctx->send_progress = sctx->cur_ino + 1; in finish_inode_if_needed()
6845 ret = cache_dir_utimes(sctx, sctx->cur_ino, sctx->cur_inode_gen); in finish_inode_if_needed()
6847 ret = send_utimes(sctx, sctx->cur_ino, sctx->cur_inode_gen); in finish_inode_if_needed()
6896 sctx->cur_ino = key->objectid; in changed_inode()
6907 sctx->send_progress = sctx->cur_ino; in changed_inode()
6937 sctx->cur_ino != BTRFS_FIRST_FREE_OBJECTID) in changed_inode()
6989 if (sctx->cur_ino != BTRFS_FIRST_FREE_OBJECTID) in changed_inode()
7063 sctx->send_progress = sctx->cur_ino + 1; in changed_inode()
7107 if (sctx->cur_ino != sctx->cmp_key->objectid) { in changed_ref()
7113 sctx->cur_ino != BTRFS_FIRST_FREE_OBJECTID) { in changed_ref()
7135 if (sctx->cur_ino != sctx->cmp_key->objectid) { in changed_xattr()
7175 if (sctx->cur_ino != sctx->cmp_key->objectid) in changed_extent()