Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dnamei.c948 struct inode *dir, struct inode **whiteout, in f2fs_create_whiteout() argument
952 true, whiteout, fname); in f2fs_create_whiteout()
969 struct inode *whiteout = NULL; in f2fs_rename() local
1014 err = f2fs_create_whiteout(idmap, old_dir, &whiteout, &fname); in f2fs_rename()
1108 if (!old_is_dir || whiteout) in f2fs_rename()
1121 if (whiteout) { in f2fs_rename()
1122 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename()
1123 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename()
1129 spin_lock(&whiteout->i_lock); in f2fs_rename()
1130 inode_state_clear(whiteout, I_LINKABLE); in f2fs_rename()
[all …]
/linux/fs/overlayfs/
H A Dsuper.c569 struct dentry *whiteout; in ovl_check_rename_whiteout() local
601 whiteout = ovl_lookup_upper_unlocked(ofs, name.name.name, in ovl_check_rename_whiteout()
603 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
604 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
607 err = ovl_upper_is_whiteout(ofs, whiteout); in ovl_check_rename_whiteout()
611 ovl_cleanup(ofs, workdir, whiteout); in ovl_check_rename_whiteout()
612 dput(whiteout); in ovl_check_rename_whiteout()
H A Dovl_entry.h89 struct dentry *whiteout; member
H A Dparams.c847 dput(ofs->whiteout); in ovl_free_fs()
/linux/fs/ext4/
H A Dnamei.c3816 struct inode *whiteout = NULL; in ext4_rename() local
3889 whiteout = ext4_whiteout_for_rename(idmap, &old, credits, &handle); in ext4_rename()
3890 if (IS_ERR(whiteout)) { in ext4_rename()
3891 retval = PTR_ERR(whiteout); in ext4_rename()
3924 if (whiteout) { in ext4_rename()
3929 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3933 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3961 if (!whiteout) { in ext4_rename()
4015 if (whiteout) in ext4_rename()
4016 __ext4_fc_track_create(handle, whiteout, in ext4_rename()
[all …]
/linux/Documentation/filesystems/
H A Doverlayfs.rst147 A whiteout is created as a character device with 0/0 device number or
148 as a zero-size regular file with the xattr "trusted.overlay.whiteout".
150 When a whiteout is found in the upper level of a merged directory, any
151 matching name in the lower level is ignored, and the whiteout itself
160 "trusted.overlay.whiteout", should be additionally marked by setting the xattr
162 This is needed to avoid the overhead of checking the "trusted.overlay.whiteout"
598 A lower dir with a regular whiteout will always be handled by the overlayfs
599 mount, so to support storing an effective whiteout file in an overlayfs mount an
600 alternative form of whiteout is supported. This form is a regular, zero-size
601 file with the "overlay.whiteout" xattr set, inside a directory with the
[all …]
/linux/security/landlock/
H A Dfs.c1233 const bool whiteout) in current_check_refer_path() argument
1267 if (whiteout) in current_check_refer_path()
/linux/mm/
H A Dshmem.c3979 struct dentry *whiteout; in shmem_whiteout()
3982 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3983 if (!whiteout) in shmem_whiteout()
3985 error = shmem_mknod(idmap, old_dir, whiteout, in shmem_whiteout()
3987 dput(whiteout);
3976 struct dentry *whiteout; shmem_whiteout() local
/linux/fs/ubifs/
H A Dubifs.h1813 const struct inode *whiteout, int sync, int delete_orphan);