Home
last modified time | relevance | path

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

/openbmc/linux/fs/overlayfs/
H A Ddir.c72 if (!ofs->whiteout) { in ovl_whiteout()
74 if (IS_ERR(whiteout)) in ovl_whiteout()
79 dput(whiteout); in ovl_whiteout()
83 ofs->whiteout = whiteout; in ovl_whiteout()
91 err = ovl_do_link(ofs, ofs->whiteout, wdir, whiteout); in ovl_whiteout()
100 dput(whiteout); in ovl_whiteout()
102 whiteout = ofs->whiteout; in ovl_whiteout()
103 ofs->whiteout = NULL; in ovl_whiteout()
105 return whiteout; in ovl_whiteout()
119 if (IS_ERR(whiteout)) in ovl_cleanup_and_whiteout()
[all …]
H A Dsuper.c610 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()
H A Dovl_entry.h90 struct dentry *whiteout; member
H A Dparams.c756 dput(ofs->whiteout); in ovl_free_fs()
/openbmc/linux/fs/f2fs/
H A Dnamei.c945 true, whiteout, fname); in f2fs_create_whiteout()
962 struct inode *whiteout = NULL; in f2fs_rename() local
1091 if (!old_dir_entry || whiteout) in f2fs_rename()
1104 if (whiteout) { in f2fs_rename()
1105 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename()
1106 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename()
1110 spin_lock(&whiteout->i_lock); in f2fs_rename()
1111 whiteout->i_state &= ~I_LINKABLE; in f2fs_rename()
1112 spin_unlock(&whiteout->i_lock); in f2fs_rename()
1114 iput(whiteout); in f2fs_rename()
[all …]
/openbmc/linux/fs/ubifs/
H A Ddir.c1291 struct inode *whiteout = NULL; in do_rename() local
1376 whiteout = create_whiteout(old_dir, old_dentry); in do_rename()
1377 if (IS_ERR(whiteout)) { in do_rename()
1378 err = PTR_ERR(whiteout); in do_rename()
1383 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1403 iput(whiteout); in do_rename()
1484 new_inode, &new_nm, whiteout, sync); in do_rename()
1491 if (whiteout) { in do_rename()
1493 iput(whiteout); in do_rename()
1535 if (whiteout) { in do_rename()
[all …]
H A Djournal.c1257 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()
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()
1382 whiteout->i_ino); in ubifs_jnl_rename()
1394 if (whiteout) { in ubifs_jnl_rename()
1419 if (whiteout) { in ubifs_jnl_rename()
[all …]
H A Dubifs.h1819 const struct inode *whiteout, int sync);
/openbmc/linux/fs/ext4/
H A Dnamei.c3810 struct inode *whiteout = NULL; in ext4_rename() local
3884 if (IS_ERR(whiteout)) { in ext4_rename()
3885 retval = PTR_ERR(whiteout); in ext4_rename()
3918 if (whiteout) { in ext4_rename()
3955 if (!whiteout) { in ext4_rename()
4009 if (whiteout) in ext4_rename()
4025 if (whiteout) { in ext4_rename()
4029 drop_nlink(whiteout); in ext4_rename()
4031 ext4_orphan_add(handle, whiteout); in ext4_rename()
4033 unlock_new_inode(whiteout); in ext4_rename()
[all …]
/openbmc/linux/mm/
H A Dshmem.c3374 struct dentry *whiteout; in shmem_whiteout() local
3377 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3378 if (!whiteout) in shmem_whiteout()
3381 error = shmem_mknod(idmap, old_dir, whiteout, in shmem_whiteout()
3383 dput(whiteout); in shmem_whiteout()
3394 d_rehash(whiteout); in shmem_whiteout()
/openbmc/linux/Documentation/filesystems/
H A 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
642 4. If a whiteout is found in index, return ESTALE. This represents an