Lines Matching refs:cip

3161 	struct xfs_inode	*cip;  in xfs_iflush_cluster()  local
3184 cip = cilist[i]; in xfs_iflush_cluster()
3185 if (cip == ip) in xfs_iflush_cluster()
3194 spin_lock(&cip->i_flags_lock); in xfs_iflush_cluster()
3195 if (!cip->i_ino || in xfs_iflush_cluster()
3196 __xfs_iflags_test(cip, XFS_ISTALE)) { in xfs_iflush_cluster()
3197 spin_unlock(&cip->i_flags_lock); in xfs_iflush_cluster()
3206 if ((XFS_INO_TO_AGINO(mp, cip->i_ino) & mask) != first_index) { in xfs_iflush_cluster()
3207 spin_unlock(&cip->i_flags_lock); in xfs_iflush_cluster()
3210 spin_unlock(&cip->i_flags_lock); in xfs_iflush_cluster()
3217 if (xfs_inode_clean(cip) && xfs_ipincount(cip) == 0) in xfs_iflush_cluster()
3225 if (!xfs_ilock_nowait(cip, XFS_ILOCK_SHARED)) in xfs_iflush_cluster()
3227 if (!xfs_iflock_nowait(cip)) { in xfs_iflush_cluster()
3228 xfs_iunlock(cip, XFS_ILOCK_SHARED); in xfs_iflush_cluster()
3231 if (xfs_ipincount(cip)) { in xfs_iflush_cluster()
3232 xfs_ifunlock(cip); in xfs_iflush_cluster()
3233 xfs_iunlock(cip, XFS_ILOCK_SHARED); in xfs_iflush_cluster()
3244 if (!cip->i_ino) { in xfs_iflush_cluster()
3245 xfs_ifunlock(cip); in xfs_iflush_cluster()
3246 xfs_iunlock(cip, XFS_ILOCK_SHARED); in xfs_iflush_cluster()
3254 if (!xfs_inode_clean(cip)) { in xfs_iflush_cluster()
3256 error = xfs_iflush_int(cip, bp); in xfs_iflush_cluster()
3258 xfs_iunlock(cip, XFS_ILOCK_SHARED); in xfs_iflush_cluster()
3263 xfs_ifunlock(cip); in xfs_iflush_cluster()
3265 xfs_iunlock(cip, XFS_ILOCK_SHARED); in xfs_iflush_cluster()
3303 xfs_iflush_abort(cip, false); in xfs_iflush_cluster()