Home
last modified time | relevance | path

Searched refs:try_lock (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/fs/xfs/
Dxfs_inode.c466 int attempts = 0, i, j, try_lock; in xfs_lock_inodes() local
491 try_lock = 0; in xfs_lock_inodes()
504 if (!try_lock) { in xfs_lock_inodes()
505 for (j = (i - 1); j >= 0 && !try_lock; j--) { in xfs_lock_inodes()
508 try_lock++; in xfs_lock_inodes()
518 if (!try_lock) { in xfs_lock_inodes()
549 try_lock = 0; in xfs_lock_inodes()
/Linux-v5.15/Documentation/locking/
Dlocktypes.rst31 Although implementations allow try_lock() from other contexts, it is
33 try_lock(). Furthermore, it is also necessary to evaluate the debugging