• Home
  • Raw
  • Download

Lines Matching refs:orig_dvnode

690 int afs_vnode_rename(struct afs_vnode *orig_dvnode,  in afs_vnode_rename()  argument
700 orig_dvnode->volume->vlocation->vldb.name, in afs_vnode_rename()
701 orig_dvnode->fid.vid, in afs_vnode_rename()
702 orig_dvnode->fid.vnode, in afs_vnode_rename()
703 orig_dvnode->fid.unique, in afs_vnode_rename()
714 spin_lock(&orig_dvnode->lock); in afs_vnode_rename()
715 orig_dvnode->update_cnt++; in afs_vnode_rename()
716 spin_unlock(&orig_dvnode->lock); in afs_vnode_rename()
717 if (new_dvnode != orig_dvnode) { in afs_vnode_rename()
725 server = afs_volume_pick_fileserver(orig_dvnode); in afs_vnode_rename()
731 ret = afs_fs_rename(server, key, orig_dvnode, orig_name, in afs_vnode_rename()
734 } while (!afs_volume_release_fileserver(orig_dvnode, server, ret)); in afs_vnode_rename()
738 afs_vnode_finalise_status_update(orig_dvnode, server); in afs_vnode_rename()
739 if (new_dvnode != orig_dvnode) in afs_vnode_rename()
743 afs_vnode_status_update_failed(orig_dvnode, ret); in afs_vnode_rename()
744 if (new_dvnode != orig_dvnode) in afs_vnode_rename()
748 _leave(" = %d [cnt %d]", ret, orig_dvnode->update_cnt); in afs_vnode_rename()
752 spin_lock(&orig_dvnode->lock); in afs_vnode_rename()
753 orig_dvnode->update_cnt--; in afs_vnode_rename()
754 ASSERTCMP(orig_dvnode->update_cnt, >=, 0); in afs_vnode_rename()
755 spin_unlock(&orig_dvnode->lock); in afs_vnode_rename()
756 if (new_dvnode != orig_dvnode) { in afs_vnode_rename()
762 _leave(" = %ld [cnt %d]", PTR_ERR(server), orig_dvnode->update_cnt); in afs_vnode_rename()