Lines Matching refs:whiteout
353 umode_t mode, struct inode **whiteout) in do_tmpfile() argument
395 if (whiteout) { in do_tmpfile()
407 if (whiteout) { in do_tmpfile()
410 *whiteout = inode; in do_tmpfile()
1257 struct inode *whiteout = NULL; in do_rename() local
1334 err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout); in do_rename()
1340 spin_lock(&whiteout->i_lock); in do_rename()
1341 whiteout->i_state |= I_LINKABLE; in do_rename()
1342 spin_unlock(&whiteout->i_lock); in do_rename()
1344 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1350 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1421 if (whiteout) { in do_rename()
1424 ALIGN(ubifs_inode(whiteout)->data_len, 8) }; in do_rename()
1430 iput(whiteout); in do_rename()
1434 inc_nlink(whiteout); in do_rename()
1435 mark_inode_dirty(whiteout); in do_rename()
1437 spin_lock(&whiteout->i_lock); in do_rename()
1438 whiteout->i_state &= ~I_LINKABLE; in do_rename()
1439 spin_unlock(&whiteout->i_lock); in do_rename()
1441 iput(whiteout); in do_rename()
1445 new_inode, &new_nm, whiteout, sync); in do_rename()
1449 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1485 if (whiteout) { in do_rename()
1486 drop_nlink(whiteout); in do_rename()
1487 iput(whiteout); in do_rename()
1489 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()