Home
last modified time | relevance | path

Searched refs:newdentry (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/overlayfs/
Ddir.c119 int ovl_mkdir_real(struct inode *dir, struct dentry **newdentry, umode_t mode) in ovl_mkdir_real() argument
122 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real()
144 *newdentry = d; in ovl_mkdir_real()
149 struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry, in ovl_create_real() argument
154 if (IS_ERR(newdentry)) in ovl_create_real()
155 return newdentry; in ovl_create_real()
158 if (newdentry->d_inode) in ovl_create_real()
162 err = ovl_do_link(attr->hardlink, dir, newdentry); in ovl_create_real()
166 err = ovl_do_create(dir, newdentry, attr->mode); in ovl_create_real()
171 err = ovl_mkdir_real(dir, &newdentry, attr->mode); in ovl_create_real()
[all …]
Doverlayfs.h168 struct inode *newdir, struct dentry *newdentry, in ovl_do_rename() argument
173 pr_debug("rename(%pd2, %pd2, 0x%x)\n", olddentry, newdentry, flags); in ovl_do_rename()
174 err = vfs_rename(olddir, olddentry, newdir, newdentry, NULL, flags); in ovl_do_rename()
177 olddentry, newdentry, err); in ovl_do_rename()
405 int ovl_mkdir_real(struct inode *dir, struct dentry **newdentry, umode_t mode);
406 struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,
Dcopy_up.c445 struct dentry **newdentry) in ovl_install_temp() argument
461 *newdentry = dget(c->tmpfile ? upper : temp); in ovl_install_temp()
561 struct dentry *newdentry = NULL; in ovl_copy_up_locked() local
581 err = ovl_install_temp(c, temp, &newdentry); in ovl_copy_up_locked()
584 err = ovl_install_temp(c, temp, &newdentry); in ovl_copy_up_locked()
592 ovl_inode_update(inode, newdentry); in ovl_copy_up_locked()