Searched refs:try_lock (Results 1 – 2 of 2) sorted by relevance
448 int attempts = 0, i, j, try_lock; in xfs_lock_inodes() local473 try_lock = 0; in xfs_lock_inodes()486 if (!try_lock) { in xfs_lock_inodes()487 for (j = (i - 1); j >= 0 && !try_lock; j--) { in xfs_lock_inodes()490 try_lock++; in xfs_lock_inodes()500 if (!try_lock) { in xfs_lock_inodes()531 try_lock = 0; in xfs_lock_inodes()
275 int nr_pages, bool try_lock) in __scif_dec_pinned_vm_lock() argument279 if (try_lock) { in __scif_dec_pinned_vm_lock()