Lines Matching refs:whiteout
353 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()
1348 spin_unlock(&whiteout->i_lock); in do_rename()
1350 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1365 iput(whiteout); in do_rename()
1373 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1444 if (whiteout) { in do_rename()
1445 inc_nlink(whiteout); in do_rename()
1446 mark_inode_dirty(whiteout); in do_rename()
1448 spin_lock(&whiteout->i_lock); in do_rename()
1449 whiteout->i_state &= ~I_LINKABLE; in do_rename()
1450 spin_unlock(&whiteout->i_lock); in do_rename()
1452 iput(whiteout); in do_rename()
1456 new_inode, &new_nm, whiteout, sync); in do_rename()
1460 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1496 if (whiteout) { in do_rename()
1497 drop_nlink(whiteout); in do_rename()
1498 iput(whiteout); in do_rename()
1500 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()