Searched refs:whiteout (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/fs/ubifs/ |
D | dir.c | 372 umode_t mode, struct inode **whiteout) in do_tmpfile() argument 417 if (whiteout) { in do_tmpfile() 429 if (whiteout) { in do_tmpfile() 432 *whiteout = inode; in do_tmpfile() 458 else if (whiteout) in do_tmpfile() 459 iput(*whiteout); in do_tmpfile() 1286 struct inode *whiteout = NULL; in do_rename() local 1363 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename() 1369 spin_lock(&whiteout->i_lock); in do_rename() 1370 whiteout->i_state |= I_LINKABLE; in do_rename() [all …]
|
D | journal.c | 1094 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument 1151 if (whiteout) { in ubifs_jnl_rename() 1152 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename() 1153 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename() 1209 if (whiteout) { in ubifs_jnl_rename() 1215 ubifs_delete_orphan(c, whiteout->i_ino); in ubifs_jnl_rename()
|
D | ubifs.h | 1550 const struct inode *whiteout, int sync);
|
/linux-4.19.296/fs/f2fs/ |
D | namei.c | 734 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument 748 if (whiteout) { in __f2fs_tmpfile() 773 if (whiteout) { in __f2fs_tmpfile() 780 *whiteout = inode; in __f2fs_tmpfile() 814 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument 819 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout() 829 struct inode *whiteout = NULL; in f2fs_rename() local 847 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename() 956 if (!old_dir_entry || whiteout) in f2fs_rename() 968 if (whiteout) { in f2fs_rename() [all …]
|
/linux-4.19.296/fs/overlayfs/ |
D | dir.c | 71 struct dentry *whiteout; in ovl_whiteout() local 74 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout() 75 if (IS_ERR(whiteout)) in ovl_whiteout() 76 return whiteout; in ovl_whiteout() 78 err = ovl_do_whiteout(wdir, whiteout); in ovl_whiteout() 80 dput(whiteout); in ovl_whiteout() 81 whiteout = ERR_PTR(err); in ovl_whiteout() 84 return whiteout; in ovl_whiteout() 92 struct dentry *whiteout; in ovl_cleanup_and_whiteout() local 96 whiteout = ovl_whiteout(workdir); in ovl_cleanup_and_whiteout() [all …]
|
/linux-4.19.296/fs/ext4/ |
D | namei.c | 3654 struct inode *whiteout = NULL; in ext4_rename() local 3723 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename() 3724 if (IS_ERR(whiteout)) { in ext4_rename() 3725 retval = PTR_ERR(whiteout); in ext4_rename() 3758 if (whiteout) { in ext4_rename() 3763 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename() 3767 ext4_mark_inode_dirty(handle, whiteout); in ext4_rename() 3790 if (!whiteout) { in ext4_rename() 3829 if (whiteout) { in ext4_rename() 3833 drop_nlink(whiteout); in ext4_rename() [all …]
|