Searched refs:try_lock (Results 1 – 2 of 2) sorted by relevance
1513 int attempts = 0, i, j, try_lock; in xfs_lock_inodes() local1518 try_lock = 0; in xfs_lock_inodes()1534 if (!try_lock) { in xfs_lock_inodes()1535 for (j = (i - 1); j >= 0 && !try_lock; j--) { in xfs_lock_inodes()1538 try_lock++; in xfs_lock_inodes()1550 if (try_lock) { in xfs_lock_inodes()1588 try_lock = 0; in xfs_lock_inodes()
948 int try_lock = 0; in add_to_queue() local956 try_lock = 1; in add_to_queue()965 if (try_lock && in add_to_queue()