Lines Matching refs:whiteout
838 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
852 if (whiteout) { in __f2fs_tmpfile()
877 if (whiteout) { in __f2fs_tmpfile()
884 *whiteout = inode; in __f2fs_tmpfile()
915 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
920 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
930 struct inode *whiteout = NULL; in f2fs_rename() local
963 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
1052 if (!old_dir_entry || whiteout) in f2fs_rename()
1065 if (whiteout) { in f2fs_rename()
1066 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename()
1067 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename()
1071 spin_lock(&whiteout->i_lock); in f2fs_rename()
1072 whiteout->i_state &= ~I_LINKABLE; in f2fs_rename()
1073 spin_unlock(&whiteout->i_lock); in f2fs_rename()
1075 iput(whiteout); in f2fs_rename()
1079 if (old_dir != new_dir && !whiteout) in f2fs_rename()
1110 if (whiteout) in f2fs_rename()
1111 iput(whiteout); in f2fs_rename()