Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/overlayfs/
H A 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 …]
H A Dsuper.c229 dput(ofs->whiteout); in ovl_free_fs()
1212 struct dentry *whiteout; in ovl_check_rename_whiteout() local
1239 whiteout = lookup_one_len(name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout()
1240 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
1241 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
1244 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout()
1248 ovl_cleanup(dir, whiteout); in ovl_check_rename_whiteout()
1249 dput(whiteout); in ovl_check_rename_whiteout()
H A Dovl_entry.h82 struct dentry *whiteout; member
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Ddir.c353 umode_t mode, struct inode **whiteout) in do_tmpfile() argument
398 if (whiteout) { in do_tmpfile()
410 if (whiteout) { in do_tmpfile()
413 *whiteout = inode; in do_tmpfile()
438 else if (whiteout) in do_tmpfile()
439 iput(*whiteout); in do_tmpfile()
1262 struct inode *whiteout = NULL; in do_rename() local
1340 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename()
1346 spin_lock(&whiteout->i_lock); in do_rename()
1347 whiteout->i_state |= I_LINKABLE; in do_rename()
[all …]
H A 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()
H A Dubifs.h1785 const struct inode *whiteout, int sync);
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dnamei.c833 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
847 if (whiteout) { in __f2fs_tmpfile()
872 if (whiteout) { in __f2fs_tmpfile()
879 *whiteout = inode; in __f2fs_tmpfile()
909 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
914 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
924 struct inode *whiteout = NULL; in f2fs_rename() local
957 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
1046 if (!old_dir_entry || whiteout) in f2fs_rename()
1059 if (whiteout) { in f2fs_rename()
[all …]
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dnamei.c3933 struct inode *whiteout = NULL; in ext4_rename() local
4002 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename()
4003 if (IS_ERR(whiteout)) { in ext4_rename()
4004 retval = PTR_ERR(whiteout); in ext4_rename()
4037 if (whiteout) { in ext4_rename()
4042 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
4046 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
4074 if (!whiteout) { in ext4_rename()
4123 if (whiteout) in ext4_rename()
4124 __ext4_fc_track_create(handle, whiteout, old.dentry); in ext4_rename()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dshmem.c3041 struct dentry *whiteout; in shmem_whiteout() local
3044 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3045 if (!whiteout) in shmem_whiteout()
3048 error = shmem_mknod(old_dir, whiteout, in shmem_whiteout()
3050 dput(whiteout); in shmem_whiteout()
3061 d_rehash(whiteout); in shmem_whiteout()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Doverlayfs.rst171 A whiteout is created as a character device with 0/0 device number.
172 When a whiteout is found in the upper level of a merged directory, any
173 matching name in the lower level is ignored, and the whiteout itself
554 4. If a whiteout is found in index, return ESTALE. This represents an