Home
last modified time | relevance | path

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

/linux/fs/overlayfs/
H A Ddir.c81 struct dentry *whiteout, *link; in ovl_whiteout() local
87 if (!ofs->whiteout) { in ovl_whiteout()
88 whiteout = ovl_start_creating_temp(ofs, workdir); in ovl_whiteout()
89 if (IS_ERR(whiteout)) in ovl_whiteout()
90 return whiteout; in ovl_whiteout()
91 err = ovl_do_whiteout(ofs, wdir, whiteout); in ovl_whiteout()
93 ofs->whiteout = dget(whiteout); in ovl_whiteout()
94 end_creating(whiteout); in ovl_whiteout()
103 err = ovl_do_link(ofs, ofs->whiteout, wdir, link); in ovl_whiteout()
105 whiteout = dget(link); in ovl_whiteout()
[all …]
H A Dsuper.c574 struct dentry *whiteout; in ovl_check_rename_whiteout() local
606 whiteout = ovl_lookup_upper_unlocked(ofs, name.name.name, in ovl_check_rename_whiteout()
608 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
609 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
612 err = ovl_upper_is_whiteout(ofs, whiteout); in ovl_check_rename_whiteout()
616 ovl_cleanup(ofs, workdir, whiteout); in ovl_check_rename_whiteout()
617 dput(whiteout); in ovl_check_rename_whiteout()
H A Dovl_entry.h89 struct dentry *whiteout; member
H A Dparams.c824 dput(ofs->whiteout); in ovl_free_fs()
/linux/fs/ubifs/
H A Ddir.c1328 struct inode *whiteout = NULL; in do_rename() local
1413 whiteout = create_whiteout(old_dir, old_dentry); in do_rename()
1414 if (IS_ERR(whiteout)) { in do_rename()
1415 err = PTR_ERR(whiteout); in do_rename()
1420 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1435 iput(whiteout); in do_rename()
1438 set_nlink(whiteout, 1); in do_rename()
1444 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1517 new_inode, &new_nm, whiteout, sync, !!whiteout); in do_rename()
1521 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
[all …]
H A Djournal.c1360 const struct inode *whiteout, int sync, int delete_orphan) in ubifs_jnl_rename() argument
1393 if (whiteout) { in ubifs_jnl_rename()
1394 whiteout_ui = ubifs_inode(whiteout); in ubifs_jnl_rename()
1396 ubifs_assert(c, whiteout->i_nlink == 1); in ubifs_jnl_rename()
1440 if (whiteout) { in ubifs_jnl_rename()
1441 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename()
1442 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename()
1468 if (whiteout) { in ubifs_jnl_rename()
1469 pack_inode(c, p, whiteout, 0); in ubifs_jnl_rename()
1516 if (whiteout) in ubifs_jnl_rename()
[all …]
/linux/mm/
H A Dshmem.c4030 struct dentry *whiteout; in shmem_whiteout() local
4033 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
4034 if (!whiteout) in shmem_whiteout()
4036 error = shmem_mknod(idmap, old_dir, whiteout, in shmem_whiteout()
4038 dput(whiteout); in shmem_whiteout()