Lines Matching refs:ips
2125 xfs_inode_t *ips[2]; in xfs_lock_dir_and_entry() local
2182 ips[0] = ip; in xfs_lock_dir_and_entry()
2183 ips[1] = dp; in xfs_lock_dir_and_entry()
2184 xfs_lock_inodes(ips, 2, 0, XFS_ILOCK_EXCL); in xfs_lock_dir_and_entry()
2215 xfs_inode_t **ips, in xfs_lock_inodes() argument
2223 ASSERT(ips && (inodes >= 2)); /* we need at least two */ in xfs_lock_inodes()
2235 ASSERT(ips[i]); in xfs_lock_inodes()
2237 if (i && (ips[i] == ips[i-1])) /* Already locked */ in xfs_lock_inodes()
2248 lp = (xfs_log_item_t *)ips[j]->i_itemp; in xfs_lock_inodes()
2269 if (!xfs_ilock_nowait(ips[i], lock_mode)) { in xfs_lock_inodes()
2286 if ((j != (i - 1)) && ips[j] == in xfs_lock_inodes()
2287 ips[j+1]) in xfs_lock_inodes()
2290 xfs_iunlock(ips[j], lock_mode); in xfs_lock_inodes()
2304 xfs_ilock(ips[i], lock_mode); in xfs_lock_inodes()
2584 xfs_inode_t *ips[2]; in xfs_link() local
2654 ips[0] = sip; in xfs_link()
2655 ips[1] = tdp; in xfs_link()
2657 ips[0] = tdp; in xfs_link()
2658 ips[1] = sip; in xfs_link()
2661 xfs_lock_inodes(ips, 2, 0, XFS_ILOCK_EXCL); in xfs_link()