newdentry         116 fs/overlayfs/dir.c static int ovl_mkdir_real(struct inode *dir, struct dentry **newdentry,
newdentry         120 fs/overlayfs/dir.c 	struct dentry *d, *dentry = *newdentry;
newdentry         142 fs/overlayfs/dir.c 	*newdentry = d;
newdentry         147 fs/overlayfs/dir.c struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,
newdentry         152 fs/overlayfs/dir.c 	if (IS_ERR(newdentry))
newdentry         153 fs/overlayfs/dir.c 		return newdentry;
newdentry         156 fs/overlayfs/dir.c 	if (newdentry->d_inode)
newdentry         160 fs/overlayfs/dir.c 		err = ovl_do_link(attr->hardlink, dir, newdentry);
newdentry         164 fs/overlayfs/dir.c 			err = ovl_do_create(dir, newdentry, attr->mode);
newdentry         169 fs/overlayfs/dir.c 			err =  ovl_mkdir_real(dir, &newdentry, attr->mode);
newdentry         176 fs/overlayfs/dir.c 			err = ovl_do_mknod(dir, newdentry, attr->mode,
newdentry         181 fs/overlayfs/dir.c 			err = ovl_do_symlink(dir, newdentry, attr->link);
newdentry         188 fs/overlayfs/dir.c 	if (!err && WARN_ON(!newdentry->d_inode)) {
newdentry         197 fs/overlayfs/dir.c 		dput(newdentry);
newdentry         200 fs/overlayfs/dir.c 	return newdentry;
newdentry         237 fs/overlayfs/dir.c 			   struct dentry *newdentry, bool hardlink)
newdentry         240 fs/overlayfs/dir.c 		.upperdentry = newdentry,
newdentry         263 fs/overlayfs/dir.c 		WARN_ON(ovl_inode_real(inode) != d_inode(newdentry));
newdentry         264 fs/overlayfs/dir.c 		dput(newdentry);
newdentry         296 fs/overlayfs/dir.c 	struct dentry *newdentry;
newdentry         303 fs/overlayfs/dir.c 	newdentry = ovl_create_real(udir,
newdentry         308 fs/overlayfs/dir.c 	err = PTR_ERR(newdentry);
newdentry         309 fs/overlayfs/dir.c 	if (IS_ERR(newdentry))
newdentry         312 fs/overlayfs/dir.c 	if (ovl_type_merge(dentry->d_parent) && d_is_dir(newdentry)) {
newdentry         314 fs/overlayfs/dir.c 		ovl_set_opaque(dentry, newdentry);
newdentry         317 fs/overlayfs/dir.c 	err = ovl_instantiate(dentry, inode, newdentry, !!attr->hardlink);
newdentry         325 fs/overlayfs/dir.c 	ovl_cleanup(udir, newdentry);
newdentry         326 fs/overlayfs/dir.c 	dput(newdentry);
newdentry         437 fs/overlayfs/dir.c 	struct dentry *newdentry;
newdentry         466 fs/overlayfs/dir.c 	newdentry = ovl_create_temp(workdir, cattr);
newdentry         467 fs/overlayfs/dir.c 	err = PTR_ERR(newdentry);
newdentry         468 fs/overlayfs/dir.c 	if (IS_ERR(newdentry))
newdentry         476 fs/overlayfs/dir.c 	    newdentry->d_inode->i_mode != cattr->mode) {
newdentry         481 fs/overlayfs/dir.c 		inode_lock(newdentry->d_inode);
newdentry         482 fs/overlayfs/dir.c 		err = notify_change(newdentry, &attr, NULL);
newdentry         483 fs/overlayfs/dir.c 		inode_unlock(newdentry->d_inode);
newdentry         488 fs/overlayfs/dir.c 		err = ovl_set_upper_acl(newdentry, XATTR_NAME_POSIX_ACL_ACCESS,
newdentry         493 fs/overlayfs/dir.c 		err = ovl_set_upper_acl(newdentry, XATTR_NAME_POSIX_ACL_DEFAULT,
newdentry         500 fs/overlayfs/dir.c 		err = ovl_set_opaque(dentry, newdentry);
newdentry         504 fs/overlayfs/dir.c 		err = ovl_do_rename(wdir, newdentry, udir, upper,
newdentry         511 fs/overlayfs/dir.c 		err = ovl_do_rename(wdir, newdentry, udir, upper, 0);
newdentry         515 fs/overlayfs/dir.c 	err = ovl_instantiate(dentry, inode, newdentry, hardlink);
newdentry         530 fs/overlayfs/dir.c 	ovl_cleanup(wdir, newdentry);
newdentry         531 fs/overlayfs/dir.c 	dput(newdentry);
newdentry        1028 fs/overlayfs/dir.c 	struct dentry *newdentry;
newdentry        1144 fs/overlayfs/dir.c 	newdentry = lookup_one_len(new->d_name.name, new_upperdir,
newdentry        1146 fs/overlayfs/dir.c 	err = PTR_ERR(newdentry);
newdentry        1147 fs/overlayfs/dir.c 	if (IS_ERR(newdentry))
newdentry        1156 fs/overlayfs/dir.c 			if (newdentry != opaquedir)
newdentry        1159 fs/overlayfs/dir.c 			if (!ovl_matches_upper(new, newdentry))
newdentry        1163 fs/overlayfs/dir.c 		if (!d_is_negative(newdentry) &&
newdentry        1164 fs/overlayfs/dir.c 		    (!new_opaque || !ovl_is_whiteout(newdentry)))
newdentry        1170 fs/overlayfs/dir.c 	if (newdentry == trap)
newdentry        1173 fs/overlayfs/dir.c 	if (olddentry->d_inode == newdentry->d_inode)
newdentry        1188 fs/overlayfs/dir.c 		err = ovl_set_opaque_xerr(new, newdentry, -EXDEV);
newdentry        1193 fs/overlayfs/dir.c 			    new_upperdir->d_inode, newdentry, flags);
newdentry        1198 fs/overlayfs/dir.c 		ovl_cleanup(old_upperdir->d_inode, newdentry);
newdentry        1215 fs/overlayfs/dir.c 		ovl_copyattr(d_inode(newdentry), d_inode(new));
newdentry        1218 fs/overlayfs/dir.c 	dput(newdentry);
newdentry         165 fs/overlayfs/overlayfs.h 				struct inode *newdir, struct dentry *newdentry,
newdentry         170 fs/overlayfs/overlayfs.h 	pr_debug("rename(%pd2, %pd2, 0x%x)\n", olddentry, newdentry, flags);
newdentry         171 fs/overlayfs/overlayfs.h 	err = vfs_rename(olddir, olddentry, newdir, newdentry, NULL, flags);
newdentry         174 fs/overlayfs/overlayfs.h 			 olddentry, newdentry, err);
newdentry         412 fs/overlayfs/overlayfs.h struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,