Home
last modified time | relevance | path

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

/Linux-v5.4/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()
992 if (whiteout) { in f2fs_rename()
[all …]
/Linux-v5.4/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);
/Linux-v5.4/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 …]
/Linux-v5.4/fs/ext4/
Dnamei.c3647 struct inode *whiteout = NULL; in ext4_rename() local
3716 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename()
3717 if (IS_ERR(whiteout)) { in ext4_rename()
3718 retval = PTR_ERR(whiteout); in ext4_rename()
3719 whiteout = NULL; in ext4_rename()
3752 if (whiteout) { in ext4_rename()
3757 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3761 ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3784 if (!whiteout) { in ext4_rename()
3826 if (whiteout) { in ext4_rename()
[all …]
/Linux-v5.4/Documentation/filesystems/
Doverlayfs.txt113 A whiteout is created as a character device with 0/0 device number.
114 When a whiteout is found in the upper level of a merged directory, any
115 matching name in the lower level is ignored, and the whiteout itself
451 4. If a whiteout is found in index, return ESTALE. This represents an
/Linux-v5.4/mm/
Dshmem.c3021 struct dentry *whiteout; in shmem_whiteout() local
3024 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3025 if (!whiteout) in shmem_whiteout()
3028 error = shmem_mknod(old_dir, whiteout, in shmem_whiteout()
3030 dput(whiteout); in shmem_whiteout()
3041 d_rehash(whiteout); in shmem_whiteout()