Home
last modified time | relevance | path

Searched refs:olddentry (Results 1 – 5 of 5) sorted by relevance

/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, \
160 mutex_lock(&hmdfs_dm(olddentry)->comrade_list_lock); \
161 for_each_comrade_locked(olddentry, comrade) \
162 trace_hmdfs_show_comrade(olddentry, comrade->lo_d, \
164 mutex_unlock(&hmdfs_dm(olddentry)->comrade_list_lock); \
Dhmdfs_trace.h233 TP_PROTO(struct inode *olddir, struct dentry *olddentry,
237 TP_ARGS(olddir, olddentry, newdir, newdentry, flags),
241 __string(oldname_str, olddentry->d_name.name)
249 __assign_str(oldname_str, olddentry->d_name.name);
262 TP_PROTO(struct inode *olddir, struct dentry *olddentry, \
265 TP_ARGS(olddir, olddentry, newdir, newdentry, flags))
/kernel/linux/linux-5.10/fs/overlayfs/
Ddir.c1080 struct dentry *olddentry; in ovl_rename() local
1187 olddentry = lookup_one_len(old->d_name.name, old_upperdir, in ovl_rename()
1189 err = PTR_ERR(olddentry); in ovl_rename()
1190 if (IS_ERR(olddentry)) in ovl_rename()
1194 if (!ovl_matches_upper(old, olddentry)) in ovl_rename()
1225 if (olddentry == trap) in ovl_rename()
1230 if (olddentry->d_inode == newdentry->d_inode) in ovl_rename()
1237 err = ovl_set_opaque_xerr(old, olddentry, -EXDEV); in ovl_rename()
1249 err = ovl_do_rename(old_upperdir->d_inode, olddentry, in ovl_rename()
1270 ovl_copyattr(d_inode(olddentry), d_inode(old)); in ovl_rename()
[all …]
Doverlayfs.h210 static inline int ovl_do_rename(struct inode *olddir, struct dentry *olddentry, 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()
/kernel/linux/linux-5.10/fs/affs/
Daffs.h173 extern int affs_link(struct dentry *olddentry, struct inode *dir,