Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dnamei.c729 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
743 if (whiteout) { in __f2fs_tmpfile()
768 if (whiteout) { in __f2fs_tmpfile()
770 *whiteout = inode; in __f2fs_tmpfile()
804 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
809 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
819 struct inode *whiteout = NULL; in f2fs_rename() local
867 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
946 if (!old_dir_entry || whiteout) in f2fs_rename()
957 if (whiteout) { in f2fs_rename()
[all …]
/Linux-v4.19/fs/ubifs/
Ddir.c363 umode_t mode, struct inode **whiteout) in do_tmpfile() argument
405 if (whiteout) { in do_tmpfile()
417 if (whiteout) { in do_tmpfile()
420 *whiteout = inode; in do_tmpfile()
1270 struct inode *whiteout = NULL; in do_rename() local
1342 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename()
1348 whiteout->i_state |= I_LINKABLE; in do_rename()
1349 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1355 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1426 if (whiteout) { in do_rename()
[all …]
Djournal.c1094 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()
Dubifs.h1550 const struct inode *whiteout, int sync);
/Linux-v4.19/fs/overlayfs/
Ddir.c71 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-v4.19/fs/ext4/
Dnamei.c3477 struct inode *whiteout = NULL; in ext4_rename() local
3546 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename()
3547 if (IS_ERR(whiteout)) { in ext4_rename()
3548 retval = PTR_ERR(whiteout); in ext4_rename()
3549 whiteout = NULL; in ext4_rename()
3582 if (whiteout) { in ext4_rename()
3587 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3591 ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3614 if (!whiteout) { in ext4_rename()
3656 if (whiteout) { in ext4_rename()
[all …]
/Linux-v4.19/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
433 4. If a whiteout is found in index, return ESTALE. This represents an
/Linux-v4.19/mm/
Dshmem.c2938 struct dentry *whiteout; in shmem_whiteout() local
2941 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
2942 if (!whiteout) in shmem_whiteout()
2945 error = shmem_mknod(old_dir, whiteout, in shmem_whiteout()
2947 dput(whiteout); in shmem_whiteout()
2958 d_rehash(whiteout); in shmem_whiteout()