Home
last modified time | relevance | path

Searched refs:try_lock (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_inode.c448 int attempts = 0, i, j, try_lock; in xfs_lock_inodes() local
473 try_lock = 0; in xfs_lock_inodes()
483 * If try_lock is not set yet, make sure all locked inodes are in xfs_lock_inodes()
484 * not in the AIL. If any are, set try_lock to be used later. 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()
505 /* try_lock means we have an inode locked that is in the AIL. */ in xfs_lock_inodes()
531 try_lock in xfs_lock_inodes()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Drmap.h450 * try_lock: bail out if the rmap lock is contended
459 bool try_lock; member
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_inode.c459 bool try_lock; in xfs_lock_inodes() local
485 try_lock = false; in xfs_lock_inodes()
494 * If try_lock is not set yet, make sure all locked inodes are in xfs_lock_inodes()
495 * not in the AIL. If any are, set try_lock to be used later. in xfs_lock_inodes()
497 if (!try_lock) { in xfs_lock_inodes()
498 for (j = (i - 1); j >= 0 && !try_lock; j--) { in xfs_lock_inodes()
501 try_lock = true; in xfs_lock_inodes()
511 if (!try_lock) { in xfs_lock_inodes()
516 /* try_lock means we have an inode locked that is in the AIL. */ in xfs_lock_inodes()
/kernel/linux/linux-6.6/mm/
H A Drmap.c537 * on !rwc->try_lock case.
568 if (rwc && rwc->try_lock) { in folio_lock_anon_vma_read()
920 .try_lock = true, in folio_referenced()
2419 if (rwc->try_lock) { in rmap_walk_anon_lock()
2513 if (rwc->try_lock) { in rmap_walk_file()
H A Dksm.c2863 if (rwc->try_lock) { in rmap_walk_ksm()

Completed in 23 milliseconds