/kernel/linux/linux-5.10/fs/overlayfs/ |
D | dir.c | 68 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 …]
|
D | ovl_entry.h | 81 struct dentry *whiteout; member
|
D | super.c | 223 dput(ofs->whiteout); in ovl_free_fs() 1188 struct dentry *whiteout; in ovl_check_rename_whiteout() local 1215 whiteout = lookup_one_len(name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout() 1216 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout() 1217 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout() 1220 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout() 1224 ovl_cleanup(dir, whiteout); in ovl_check_rename_whiteout() 1225 dput(whiteout); in ovl_check_rename_whiteout()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | namei.c | 824 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument 838 if (whiteout) { in __f2fs_tmpfile() 863 if (whiteout) { in __f2fs_tmpfile() 870 *whiteout = inode; in __f2fs_tmpfile() 900 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument 905 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout() 915 struct inode *whiteout = NULL; in f2fs_rename() local 948 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename() 1037 if (!old_dir_entry || whiteout) in f2fs_rename() 1050 if (whiteout) { in f2fs_rename() [all …]
|
/kernel/linux/linux-5.10/fs/ubifs/ |
D | dir.c | 1289 struct inode *whiteout = NULL; in do_rename() local 1373 whiteout = create_whiteout(old_dir, old_dentry); in do_rename() 1374 if (IS_ERR(whiteout)) { in do_rename() 1375 err = PTR_ERR(whiteout); in do_rename() 1380 whiteout_ui = ubifs_inode(whiteout); in do_rename() 1400 iput(whiteout); in do_rename() 1405 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename() 1482 new_inode, &new_nm, whiteout, sync); in do_rename() 1486 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename() 1489 if (whiteout) { in do_rename() [all …]
|
D | journal.c | 1220 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument 1253 if (whiteout) { in ubifs_jnl_rename() 1254 whiteout_ui = ubifs_inode(whiteout); in ubifs_jnl_rename() 1256 ubifs_assert(c, whiteout->i_nlink == 1); in ubifs_jnl_rename() 1300 if (whiteout) { in ubifs_jnl_rename() 1301 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename() 1302 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename() 1328 if (whiteout) { in ubifs_jnl_rename() 1329 pack_inode(c, p, whiteout, 0); in ubifs_jnl_rename() 1376 if (whiteout) in ubifs_jnl_rename() [all …]
|
D | ubifs.h | 1785 const struct inode *whiteout, int sync);
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | namei.c | 3802 struct inode *whiteout = NULL; in ext4_rename() local 3870 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename() 3871 if (IS_ERR(whiteout)) { in ext4_rename() 3872 retval = PTR_ERR(whiteout); in ext4_rename() 3905 if (whiteout) { in ext4_rename() 3910 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename() 3914 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename() 3942 if (!whiteout) { in ext4_rename() 3991 if (whiteout) in ext4_rename() 3992 __ext4_fc_track_create(handle, whiteout, old.dentry); in ext4_rename() [all …]
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | overlayfs.rst | 148 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
|
/kernel/linux/linux-5.10/mm/ |
D | shmem.c | 3073 struct dentry *whiteout; in shmem_whiteout() local 3076 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout() 3077 if (!whiteout) in shmem_whiteout() 3080 error = shmem_mknod(old_dir, whiteout, in shmem_whiteout() 3082 dput(whiteout); in shmem_whiteout() 3093 d_rehash(whiteout); in shmem_whiteout()
|