Home
last modified time | relevance | path

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

/Linux-v5.10/fs/overlayfs/
Ddir.c68 struct dentry *whiteout; in ovl_whiteout() local
72 if (!ofs->whiteout) { in ovl_whiteout()
73 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout()
74 if (IS_ERR(whiteout)) in ovl_whiteout()
77 err = ovl_do_whiteout(wdir, whiteout); in ovl_whiteout()
79 dput(whiteout); in ovl_whiteout()
80 whiteout = ERR_PTR(err); in ovl_whiteout()
83 ofs->whiteout = whiteout; in ovl_whiteout()
87 whiteout = ovl_lookup_temp(workdir); in ovl_whiteout()
88 if (IS_ERR(whiteout)) in ovl_whiteout()
[all …]
Dovl_entry.h81 struct dentry *whiteout; member
Dsuper.c220 dput(ofs->whiteout); in ovl_free_fs()
1172 struct dentry *whiteout; in ovl_check_rename_whiteout() local
1199 whiteout = lookup_one_len(name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout()
1200 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
1201 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
1204 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout()
1208 ovl_cleanup(dir, whiteout); in ovl_check_rename_whiteout()
1209 dput(whiteout); in ovl_check_rename_whiteout()
/Linux-v5.10/fs/ubifs/
Ddir.c343 umode_t mode, struct inode **whiteout) in do_tmpfile() argument
385 if (whiteout) { in do_tmpfile()
397 if (whiteout) { in do_tmpfile()
400 *whiteout = inode; in do_tmpfile()
1246 struct inode *whiteout = NULL; in do_rename() local
1323 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename()
1329 whiteout->i_state |= I_LINKABLE; in do_rename()
1330 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1336 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1407 if (whiteout) { in do_rename()
[all …]
Djournal.c1219 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument
1287 if (whiteout) { in ubifs_jnl_rename()
1288 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename()
1289 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename()
1365 if (whiteout) { in ubifs_jnl_rename()
1371 ubifs_delete_orphan(c, whiteout->i_ino); in ubifs_jnl_rename()
Dubifs.h1783 const struct inode *whiteout, int sync);
/Linux-v5.10/fs/f2fs/
Dnamei.c816 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
830 if (whiteout) { in __f2fs_tmpfile()
855 if (whiteout) { in __f2fs_tmpfile()
858 *whiteout = inode; in __f2fs_tmpfile()
888 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
893 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
903 struct inode *whiteout = NULL; in f2fs_rename() local
936 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
1025 if (!old_dir_entry || whiteout) in f2fs_rename()
1038 if (whiteout) { in f2fs_rename()
[all …]
/Linux-v5.10/fs/ext4/
Dnamei.c3726 struct inode *whiteout = NULL; in ext4_rename() local
3795 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename()
3796 if (IS_ERR(whiteout)) { in ext4_rename()
3797 retval = PTR_ERR(whiteout); in ext4_rename()
3798 whiteout = NULL; in ext4_rename()
3831 if (whiteout) { in ext4_rename()
3836 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3840 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3867 if (!whiteout) { in ext4_rename()
3931 if (whiteout) { in ext4_rename()
[all …]
/Linux-v5.10/Documentation/filesystems/
Doverlayfs.rst148 A whiteout is created as a character device with 0/0 device number.
149 When a whiteout is found in the upper level of a merged directory, any
150 matching name in the lower level is ignored, and the whiteout itself
531 4. If a whiteout is found in index, return ESTALE. This represents an
/Linux-v5.10/mm/
Dshmem.c3072 struct dentry *whiteout; in shmem_whiteout() local
3075 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3076 if (!whiteout) in shmem_whiteout()
3079 error = shmem_mknod(old_dir, whiteout, in shmem_whiteout()
3081 dput(whiteout); in shmem_whiteout()
3092 d_rehash(whiteout); in shmem_whiteout()