| /linux-6.15/include/linux/ |
| H A D | spinlock_rt.h | 125 #define spin_trylock(lock) \ macro 140 __locked = spin_trylock(lock); \
|
| H A D | spinlock.h | 359 static __always_inline int spin_trylock(spinlock_t *lock) in spin_trylock() function 569 DEFINE_LOCK_GUARD_1_COND(spinlock, _try, spin_trylock(_T->lock))
|
| H A D | local_lock_internal.h | 271 __locked = spin_trylock(this_cpu_ptr((lock))); \
|
| /linux-6.15/tools/memory-model/scripts/ |
| H A D | simpletest.sh | 25 exclude="${exclude}spin_lock(\|spin_unlock(\|spin_trylock(\|spin_is_locked("
|
| /linux-6.15/drivers/usb/phy/ |
| H A D | phy-mv-usb.c | 97 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_timer_await_bcon() 550 if (spin_trylock(&mvotg->wq_lock)) { in a_bus_req_store() 578 if (spin_trylock(&mvotg->wq_lock)) { in a_clr_err_store() 621 if (spin_trylock(&mvotg->wq_lock)) { in a_bus_drop_store() 811 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_probe() 860 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_resume()
|
| /linux-6.15/rust/helpers/ |
| H A D | spinlock.c | 31 return spin_trylock(lock); in rust_helper_spin_trylock()
|
| /linux-6.15/rust/kernel/sync/lock/ |
| H A D | spinlock.rs | 128 let result = unsafe { bindings::spin_trylock(ptr) }; in try_lock()
|
| /linux-6.15/drivers/cpuidle/ |
| H A D | cpuidle-ux500.c | 33 if (!spin_trylock(&master_lock)) in ux500_enter_idle()
|
| /linux-6.15/mm/ |
| H A D | pt_reclaim.c | 18 if (!spin_trylock(pml)) in try_get_and_clear_pmd()
|
| /linux-6.15/tools/memory-model/ |
| H A D | lock.cat | 17 * spin_trylock() read-modify-write event pair 19 * spin_trylock() RMW event pair 21 * LF Lock-Fail: a failed spin_trylock() event
|
| H A D | linux-kernel.def | 43 spin_trylock(X) __trylock(X)
|
| /linux-6.15/io_uring/ |
| H A D | msg_ring.c | 79 if (spin_trylock(&ctx->msg_lock)) { in io_msg_tw_complete() 111 if (spin_trylock(&ctx->msg_lock)) { in io_msg_get_kiocb()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | espi.c | 315 if (!spin_trylock(&espi->lock)) in t1_espi_get_mon() 342 if (!spin_trylock(&espi->lock)) in t1_espi_get_mon_t204()
|
| /linux-6.15/scripts/coccinelle/locks/ |
| H A D | double_lock.cocci | 30 spin_trylock@p1
|
| H A D | mini_lock.cocci | 33 spin_trylock@p1
|
| H A D | call_kern.cocci | 55 spin_trylock@p1
|
| /linux-6.15/drivers/misc/pvpanic/ |
| H A D | pvpanic.c | 51 if (!spin_trylock(&pvpanic_lock)) in pvpanic_send_event()
|
| /linux-6.15/fs/nfs/ |
| H A D | nfs42xattr.c | 822 if (!spin_trylock(&inode->i_lock)) in cache_lru_isolate() 892 if (!spin_trylock(&bucket->lock)) in entry_lru_isolate() 904 if (!spin_trylock(&cache->listxattr_lock)) in entry_lru_isolate()
|
| /linux-6.15/arch/alpha/kernel/ |
| H A D | srmcons.c | 78 if (spin_trylock(&srmcons_callback_lock)) { in srmcons_receive_chars()
|
| /linux-6.15/tools/memory-model/Documentation/ |
| H A D | herd-representation.txt | 111 | spin_trylock | On success: LKR ->po LKW |
|
| /linux-6.15/block/ |
| H A D | blk-ioc.c | 116 if (spin_trylock(&q->queue_lock)) { in ioc_release_fn()
|
| /linux-6.15/drivers/soc/qcom/ |
| H A D | rpmh.c | 441 if (!spin_trylock(&ctrlr->cache_lock)) in rpmh_flush()
|
| /linux-6.15/drivers/hwspinlock/ |
| H A D | hwspinlock_core.c | 124 ret = spin_trylock(&hwlock->lock); in __hwspin_trylock()
|
| /linux-6.15/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k.h | 405 return spin_trylock(&interface->mbx_lock); in fm10k_mbx_trylock()
|
| /linux-6.15/drivers/scsi/bnx2i/ |
| H A D | bnx2i.h | 144 if (spin_trylock(&__hba->stat_lock)) { \
|