Lines Matching refs:old
1196 struct inode *old;
1200 old = find_inode(inode->i_sb, head, test, data);
1201 if (unlikely(old)) {
1204 * Use the old inode instead of the preallocated one.
1207 if (IS_ERR(old))
1209 wait_on_inode(old);
1210 if (unlikely(inode_unhashed(old))) {
1211 iput(old);
1214 return old;
1318 struct inode *old;
1322 old = find_inode_fast(sb, head, ino);
1323 if (!old) {
1340 * us. Use the old inode instead of the one we just
1345 if (IS_ERR(old))
1347 inode = old;
1664 struct inode *old = NULL;
1666 hlist_for_each_entry(old, head, i_hash) {
1667 if (old->i_ino != ino)
1669 if (old->i_sb != sb)
1671 spin_lock(&old->i_lock);
1672 if (old->i_state & (I_FREEING|I_WILL_FREE)) {
1673 spin_unlock(&old->i_lock);
1678 if (likely(!old)) {
1686 if (unlikely(old->i_state & I_CREATING)) {
1687 spin_unlock(&old->i_lock);
1691 __iget(old);
1692 spin_unlock(&old->i_lock);
1694 wait_on_inode(old);
1695 if (unlikely(!inode_unhashed(old))) {
1696 iput(old);
1699 iput(old);
1707 struct inode *old;
1710 old = inode_insert5(inode, hashval, test, NULL, data);
1712 if (old != inode) {
1713 iput(old);