Home
last modified time | relevance | path

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

/openbmc/sdbusplus/src/
H A Devent.cpp184 if (!l.try_lock()) in obtain_lock()
/openbmc/linux/include/linux/
H A Drmap.h459 bool try_lock; member
/openbmc/linux/fs/xfs/
H A Dxfs_inode.c459 bool try_lock; in xfs_lock_inodes() local
485 try_lock = false; 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()
/openbmc/linux/mm/
H A Drmap.c567 if (rwc && rwc->try_lock) { in folio_lock_anon_vma_read()
909 .try_lock = true, in folio_referenced()
2391 if (rwc->try_lock) { in rmap_walk_anon_lock()
2485 if (rwc->try_lock) { in rmap_walk_file()
H A Dksm.c2860 if (rwc->try_lock) { in rmap_walk_ksm()
/openbmc/linux/Documentation/locking/
H A Dlocktypes.rst31 Although implementations allow try_lock() from other contexts, it is
33 try_lock(). Furthermore, it is also necessary to evaluate the debugging
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_mgmt.cpp313 if (mutexCleanupLock.try_lock()) in ChannelConfig()
334 if (chPropertiesSignal == nullptr && sigHndlrLock.try_lock()) in ChannelConfig()
H A Duser_mgmt.cpp463 if (mutexCleanupLock.try_lock()) in UserAccess()
1645 if (userUpdatedSignal == nullptr && sigHndlrLock.try_lock()) in cacheUserDataFile()