Lines Matching refs:old_dir
402 affs_rename(struct inode *old_dir, struct dentry *old_dentry, in affs_rename() argument
405 struct super_block *sb = old_dir->i_sb; in affs_rename()
428 affs_lock_dir(old_dir); in affs_rename()
429 retval = affs_remove_hash(old_dir, bh); in affs_rename()
430 affs_unlock_dir(old_dir); in affs_rename()
443 mark_buffer_dirty_inode(bh, retval ? old_dir : new_dir); in affs_rename()
449 affs_xrename(struct inode *old_dir, struct dentry *old_dentry, in affs_xrename() argument
453 struct super_block *sb = old_dir->i_sb; in affs_xrename()
467 affs_lock_dir(old_dir); in affs_xrename()
468 retval = affs_remove_hash(old_dir, bh_old); in affs_xrename()
469 affs_unlock_dir(old_dir); in affs_xrename()
490 affs_lock_dir(old_dir); in affs_xrename()
491 retval = affs_insert_hash(old_dir, bh_new); in affs_xrename()
492 affs_unlock_dir(old_dir); in affs_xrename()
495 mark_buffer_dirty_inode(bh_new, old_dir); in affs_xrename()
501 int affs_rename2(struct inode *old_dir, struct dentry *old_dentry, in affs_rename2() argument
510 old_dir->i_ino, old_dentry, new_dir->i_ino, new_dentry); in affs_rename2()
513 return affs_xrename(old_dir, old_dentry, new_dir, new_dentry); in affs_rename2()
515 return affs_rename(old_dir, old_dentry, new_dir, new_dentry); in affs_rename2()