Lines Matching refs:old
478 static int ovl_link(struct dentry *old, struct inode *newdir, in ovl_link() argument
484 err = ovl_want_write(old); in ovl_link()
488 err = ovl_copy_up(old); in ovl_link()
492 upper = ovl_dentry_upper(old); in ovl_link()
496 ovl_drop_write(old); in ovl_link()
678 static int ovl_rename2(struct inode *olddir, struct dentry *old, in ovl_rename2() argument
695 bool is_dir = d_is_dir(old); in ovl_rename2()
706 err = ovl_check_sticky(old); in ovl_rename2()
711 old_type = ovl_path_type(old); in ovl_rename2()
731 if (ovl_dentry_lower(old)->d_inode == in ovl_rename2()
736 if (ovl_dentry_upper(old)->d_inode == in ovl_rename2()
747 err = ovl_want_write(old); in ovl_rename2()
751 err = ovl_copy_up(old); in ovl_rename2()
768 old_cred = ovl_override_creds(old->d_sb); in ovl_rename2()
794 old_upperdir = ovl_dentry_upper(old->d_parent); in ovl_rename2()
800 olddentry = lookup_one_len(old->d_name.name, old_upperdir, in ovl_rename2()
801 old->d_name.len); in ovl_rename2()
807 if (olddentry != ovl_dentry_upper(old)) in ovl_rename2()
885 ovl_dentry_set_opaque(old, new_opaque); in ovl_rename2()
893 ovl_dentry_version_inc(old->d_parent); in ovl_rename2()
906 ovl_drop_write(old); in ovl_rename2()