Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_vnodeops.c1513 int attempts = 0, i, j, try_lock; in xfs_lock_inodes() local
1518 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()
/linux-2.6.39/fs/gfs2/
Dglock.c948 int try_lock = 0; in add_to_queue() local
956 try_lock = 1; in add_to_queue()
965 if (try_lock && in add_to_queue()