Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/overlayfs/
Ddir.c140 int ovl_mkdir_real(struct inode *dir, struct dentry **newdentry, umode_t mode) in ovl_mkdir_real() argument
143 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real()
165 *newdentry = d; in ovl_mkdir_real()
170 struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry, in ovl_create_real() argument
175 if (IS_ERR(newdentry)) in ovl_create_real()
176 return newdentry; in ovl_create_real()
179 if (newdentry->d_inode) in ovl_create_real()
183 err = ovl_do_link(attr->hardlink, dir, newdentry); in ovl_create_real()
187 err = ovl_do_create(dir, newdentry, attr->mode); in ovl_create_real()
192 err = ovl_mkdir_real(dir, &newdentry, attr->mode); in ovl_create_real()
[all …]
Doverlayfs.h211 struct inode *newdir, struct dentry *newdentry, in ovl_do_rename() argument
216 pr_debug("rename(%pd2, %pd2, 0x%x)\n", olddentry, newdentry, flags); in ovl_do_rename()
217 err = vfs_rename(olddir, olddentry, newdir, newdentry, NULL, flags); in ovl_do_rename()
220 olddentry, newdentry, err); in ovl_do_rename()
522 int ovl_mkdir_real(struct inode *dir, struct dentry **newdentry, umode_t mode);
523 struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_merge_view.h155 #define hmdfs_trace_rename_merge(olddir, olddentry, newdir, newdentry, err) \ argument
158 trace_hmdfs_rename_merge(olddir, olddentry, newdir, newdentry, \
165 mutex_lock(&hmdfs_dm(newdentry)->comrade_list_lock); \
166 for_each_comrade_locked(newdentry, comrade) \
167 trace_hmdfs_show_comrade(newdentry, comrade->lo_d, \
169 mutex_unlock(&hmdfs_dm(newdentry)->comrade_list_lock); \
Dhmdfs_trace.h234 struct inode *newdir, struct dentry *newdentry,
237 TP_ARGS(olddir, olddentry, newdir, newdentry, flags),
243 __string(newname_str, newdentry->d_name.name)
251 __assign_str(newname_str, newdentry->d_name.name);
263 struct inode *newdir, struct dentry *newdentry, \
265 TP_ARGS(olddir, olddentry, newdir, newdentry, flags))