• Home
  • Raw
  • Download

Lines Matching refs:new_dentry

4080  * @new_dentry:	where to create the new link
4095 int vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)
4104 error = may_create(dir, new_dentry);
4128 error = security_inode_link(old_dentry, dir, new_dentry);
4141 error = dir->i_op->link(old_dentry, dir, new_dentry);
4151 fsnotify_link(dir, inode, new_dentry);
4168 struct dentry *new_dentry;
4194 new_dentry = user_path_create(newdfd, newname, &new_path,
4196 error = PTR_ERR(new_dentry);
4197 if (IS_ERR(new_dentry))
4206 error = security_path_link(old_path.dentry, &new_path, new_dentry);
4209 error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode);
4211 done_path_create(&new_path, new_dentry);
4246 * @new_dentry: destination
4292 struct inode *new_dir, struct dentry *new_dentry,
4298 struct inode *target = new_dentry->d_inode;
4311 error = may_create(new_dir, new_dentry);
4313 new_is_dir = d_is_dir(new_dentry);
4316 error = may_delete(new_dir, new_dentry, is_dir);
4318 error = may_delete(new_dir, new_dentry, new_is_dir);
4343 error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry,
4349 dget(new_dentry);
4362 if (is_local_mountpoint(old_dentry) || is_local_mountpoint(new_dentry))
4384 new_dir, new_dentry, flags);
4390 shrink_dcache_parent(new_dentry);
4393 dont_mount(new_dentry);
4394 detach_mounts(new_dentry);
4398 d_move(old_dentry, new_dentry);
4400 d_exchange(old_dentry, new_dentry);
4406 dput(new_dentry);
4412 new_is_dir, NULL, new_dentry);
4424 struct dentry *old_dentry, *new_dentry;
4487 new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags);
4488 error = PTR_ERR(new_dentry);
4489 if (IS_ERR(new_dentry))
4492 if ((flags & RENAME_NOREPLACE) && d_is_positive(new_dentry))
4496 if (d_is_negative(new_dentry))
4499 if (!d_is_dir(new_dentry)) {
4520 if (new_dentry == trap)
4524 &new_path, new_dentry, flags);
4528 new_path.dentry->d_inode, new_dentry,
4531 dput(new_dentry);