Home
last modified time | relevance | path

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

/Linux-v5.15/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.h83 struct dentry *whiteout; member
Dsuper.c223 dput(ofs->whiteout); in ovl_free_fs()
1260 struct dentry *whiteout; in ovl_check_rename_whiteout() local
1287 whiteout = lookup_one_len(name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout()
1288 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
1289 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
1292 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout()
1296 ovl_cleanup(dir, whiteout); in ovl_check_rename_whiteout()
1297 dput(whiteout); in ovl_check_rename_whiteout()
/Linux-v5.15/fs/ubifs/
Ddir.c353 umode_t mode, struct inode **whiteout) in do_tmpfile() argument
395 if (whiteout) { in do_tmpfile()
407 if (whiteout) { in do_tmpfile()
410 *whiteout = inode; in do_tmpfile()
1257 struct inode *whiteout = NULL; in do_rename() local
1334 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename()
1340 spin_lock(&whiteout->i_lock); in do_rename()
1341 whiteout->i_state |= I_LINKABLE; in do_rename()
1342 spin_unlock(&whiteout->i_lock); in do_rename()
1344 whiteout_ui = ubifs_inode(whiteout); in do_rename()
[all …]
Djournal.c1220 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument
1288 if (whiteout) { in ubifs_jnl_rename()
1289 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename()
1290 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename()
1366 if (whiteout) { in ubifs_jnl_rename()
1372 ubifs_delete_orphan(c, whiteout->i_ino); in ubifs_jnl_rename()
Dubifs.h1785 const struct inode *whiteout, int sync);
/Linux-v5.15/fs/f2fs/
Dnamei.c838 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
852 if (whiteout) { in __f2fs_tmpfile()
877 if (whiteout) { in __f2fs_tmpfile()
884 *whiteout = inode; in __f2fs_tmpfile()
915 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
920 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
930 struct inode *whiteout = NULL; in f2fs_rename() local
963 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
1052 if (!old_dir_entry || whiteout) in f2fs_rename()
1065 if (whiteout) { in f2fs_rename()
[all …]
/Linux-v5.15/fs/ext4/
Dnamei.c3709 struct inode *whiteout = NULL; in ext4_rename() local
3777 whiteout = ext4_whiteout_for_rename(mnt_userns, &old, credits, &handle); in ext4_rename()
3778 if (IS_ERR(whiteout)) { in ext4_rename()
3779 retval = PTR_ERR(whiteout); in ext4_rename()
3812 if (whiteout) { in ext4_rename()
3817 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3821 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3849 if (!whiteout) { in ext4_rename()
3898 if (whiteout) in ext4_rename()
3899 __ext4_fc_track_create(handle, whiteout, old.dentry); in ext4_rename()
[all …]
/Linux-v5.15/mm/
Dshmem.c2973 struct dentry *whiteout; in shmem_whiteout() local
2976 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
2977 if (!whiteout) in shmem_whiteout()
2980 error = shmem_mknod(&init_user_ns, old_dir, whiteout, in shmem_whiteout()
2982 dput(whiteout); in shmem_whiteout()
2993 d_rehash(whiteout); in shmem_whiteout()
/Linux-v5.15/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
538 4. If a whiteout is found in index, return ESTALE. This represents an