Lines Matching refs:old
1157 struct inode *old;
1162 old = find_inode(inode->i_sb, head, test, data);
1163 if (unlikely(old)) {
1166 * Use the old inode instead of the preallocated one.
1169 if (IS_ERR(old))
1171 wait_on_inode(old);
1172 if (unlikely(inode_unhashed(old))) {
1173 iput(old);
1176 return old;
1275 struct inode *old;
1279 old = find_inode_fast(sb, head, ino);
1280 if (!old) {
1297 * us. Use the old inode instead of the one we just
1302 if (IS_ERR(old))
1304 inode = old;
1621 struct inode *old = NULL;
1623 hlist_for_each_entry(old, head, i_hash) {
1624 if (old->i_ino != ino)
1626 if (old->i_sb != sb)
1628 spin_lock(&old->i_lock);
1629 if (old->i_state & (I_FREEING|I_WILL_FREE)) {
1630 spin_unlock(&old->i_lock);
1635 if (likely(!old)) {
1643 if (unlikely(old->i_state & I_CREATING)) {
1644 spin_unlock(&old->i_lock);
1648 __iget(old);
1649 spin_unlock(&old->i_lock);
1651 wait_on_inode(old);
1652 if (unlikely(!inode_unhashed(old))) {
1653 iput(old);
1656 iput(old);
1664 struct inode *old;
1667 old = inode_insert5(inode, hashval, test, NULL, data);
1669 if (old != inode) {
1670 iput(old);