Home
last modified time | relevance | path

Searched refs:whiteout (Results 1 – 6 of 6) sorted by relevance

/fs/ubifs/
Ddir.c349 umode_t mode, struct inode **whiteout) in do_tmpfile() argument
391 if (whiteout) { in do_tmpfile()
403 if (whiteout) { in do_tmpfile()
406 *whiteout = inode; in do_tmpfile()
1252 struct inode *whiteout = NULL; in do_rename() local
1329 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename()
1335 whiteout->i_state |= I_LINKABLE; in do_rename()
1336 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1342 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1413 if (whiteout) { in do_rename()
[all …]
Djournal.c1215 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument
1283 if (whiteout) { in ubifs_jnl_rename()
1284 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename()
1285 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename()
1360 if (whiteout) { in ubifs_jnl_rename()
1366 ubifs_delete_orphan(c, whiteout->i_ino); in ubifs_jnl_rename()
Dubifs.h1782 const struct inode *whiteout, int sync);
/fs/f2fs/
Dnamei.c759 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
773 if (whiteout) { in __f2fs_tmpfile()
798 if (whiteout) { in __f2fs_tmpfile()
800 *whiteout = inode; in __f2fs_tmpfile()
836 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
841 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
851 struct inode *whiteout = NULL; in f2fs_rename() local
902 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
981 if (!old_dir_entry || whiteout) in f2fs_rename()
993 if (whiteout) { in f2fs_rename()
[all …]
/fs/overlayfs/
Ddir.c68 struct dentry *whiteout; in ovl_whiteout() local
71 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout()
72 if (IS_ERR(whiteout)) in ovl_whiteout()
73 return whiteout; in ovl_whiteout()
75 err = ovl_do_whiteout(wdir, whiteout); in ovl_whiteout()
77 dput(whiteout); in ovl_whiteout()
78 whiteout = ERR_PTR(err); in ovl_whiteout()
81 return whiteout; in ovl_whiteout()
89 struct dentry *whiteout; in ovl_cleanup_and_whiteout() local
93 whiteout = ovl_whiteout(workdir); in ovl_cleanup_and_whiteout()
[all …]
/fs/ext4/
Dnamei.c3650 struct inode *whiteout = NULL; in ext4_rename() local
3719 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename()
3720 if (IS_ERR(whiteout)) { in ext4_rename()
3721 retval = PTR_ERR(whiteout); in ext4_rename()
3722 whiteout = NULL; in ext4_rename()
3755 if (whiteout) { in ext4_rename()
3760 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3764 ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3787 if (!whiteout) { in ext4_rename()
3829 if (whiteout) { in ext4_rename()
[all …]