Lines Matching defs:old
1160 struct inode *old;
1164 old = find_inode(inode->i_sb, head, test, data);
1165 if (unlikely(old)) {
1168 * Use the old inode instead of the preallocated one.
1171 if (IS_ERR(old))
1173 wait_on_inode(old);
1174 if (unlikely(inode_unhashed(old))) {
1175 iput(old);
1178 return old;
1282 struct inode *old;
1286 old = find_inode_fast(sb, head, ino);
1287 if (!old) {
1304 * us. Use the old inode instead of the one we just
1309 if (IS_ERR(old))
1311 inode = old;
1628 struct inode *old = NULL;
1630 hlist_for_each_entry(old, head, i_hash) {
1631 if (old->i_ino != ino)
1633 if (old->i_sb != sb)
1635 spin_lock(&old->i_lock);
1636 if (old->i_state & (I_FREEING|I_WILL_FREE)) {
1637 spin_unlock(&old->i_lock);
1642 if (likely(!old)) {
1650 if (unlikely(old->i_state & I_CREATING)) {
1651 spin_unlock(&old->i_lock);
1655 __iget(old);
1656 spin_unlock(&old->i_lock);
1658 wait_on_inode(old);
1659 if (unlikely(!inode_unhashed(old))) {
1660 iput(old);
1663 iput(old);
1671 struct inode *old;
1674 old = inode_insert5(inode, hashval, test, NULL, data);
1676 if (old != inode) {
1677 iput(old);