/Linux-v6.6/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(ofs, workdir); in ovl_whiteout() 74 if (IS_ERR(whiteout)) in ovl_whiteout() 77 err = ovl_do_whiteout(ofs, 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(ofs, workdir); in ovl_whiteout() 88 if (IS_ERR(whiteout)) in ovl_whiteout() [all …]
|
D | super.c | 610 struct dentry *whiteout; in ovl_check_rename_whiteout() local 637 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout() 638 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout() 639 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout() 642 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout() 646 ovl_cleanup(ofs, dir, whiteout); in ovl_check_rename_whiteout() 647 dput(whiteout); in ovl_check_rename_whiteout()
|
D | ovl_entry.h | 90 struct dentry *whiteout; member
|
D | params.c | 730 dput(ofs->whiteout); in ovl_free_fs()
|
/Linux-v6.6/fs/f2fs/ |
D | namei.c | 941 struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument 944 S_IFCHR | WHITEOUT_MODE, true, whiteout); in f2fs_create_whiteout() 960 struct inode *whiteout = NULL; in f2fs_rename() local 993 err = f2fs_create_whiteout(idmap, old_dir, &whiteout); in f2fs_rename() 1082 if (!old_dir_entry || whiteout) in f2fs_rename() 1095 if (whiteout) { in f2fs_rename() 1096 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename() 1097 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename() 1101 spin_lock(&whiteout->i_lock); in f2fs_rename() 1102 whiteout->i_state &= ~I_LINKABLE; in f2fs_rename() [all …]
|
/Linux-v6.6/fs/ubifs/ |
D | dir.c | 1289 struct inode *whiteout = NULL; in do_rename() local 1374 whiteout = create_whiteout(old_dir, old_dentry); in do_rename() 1375 if (IS_ERR(whiteout)) { in do_rename() 1376 err = PTR_ERR(whiteout); in do_rename() 1381 whiteout_ui = ubifs_inode(whiteout); in do_rename() 1401 iput(whiteout); in do_rename() 1409 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 | 1224 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument 1257 if (whiteout) { in ubifs_jnl_rename() 1258 whiteout_ui = ubifs_inode(whiteout); in ubifs_jnl_rename() 1260 ubifs_assert(c, whiteout->i_nlink == 1); in ubifs_jnl_rename() 1304 if (whiteout) { in ubifs_jnl_rename() 1305 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename() 1306 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename() 1332 if (whiteout) { in ubifs_jnl_rename() 1333 pack_inode(c, p, whiteout, 0); in ubifs_jnl_rename() 1380 if (whiteout) in ubifs_jnl_rename() [all …]
|
D | ubifs.h | 1819 const struct inode *whiteout, int sync);
|
/Linux-v6.6/fs/ext4/ |
D | namei.c | 3810 struct inode *whiteout = NULL; in ext4_rename() local 3883 whiteout = ext4_whiteout_for_rename(idmap, &old, credits, &handle); in ext4_rename() 3884 if (IS_ERR(whiteout)) { in ext4_rename() 3885 retval = PTR_ERR(whiteout); in ext4_rename() 3918 if (whiteout) { in ext4_rename() 3923 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename() 3927 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename() 3955 if (!whiteout) { in ext4_rename() 4009 if (whiteout) in ext4_rename() 4010 __ext4_fc_track_create(handle, whiteout, in ext4_rename() [all …]
|
/Linux-v6.6/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 631 4. If a whiteout is found in index, return ESTALE. This represents an
|
/Linux-v6.6/mm/ |
D | shmem.c | 3363 struct dentry *whiteout; in shmem_whiteout() local 3366 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout() 3367 if (!whiteout) in shmem_whiteout() 3370 error = shmem_mknod(idmap, old_dir, whiteout, in shmem_whiteout() 3372 dput(whiteout); in shmem_whiteout() 3383 d_rehash(whiteout); in shmem_whiteout()
|