Home
last modified time | relevance | path

Searched refs:spin_trylock (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.6.21/include/linux/
Dspinlock_rt.h126 #define spin_trylock(lock) \ macro
141 __locked = spin_trylock(lock); \
Dspinlock.h359 static __always_inline int spin_trylock(spinlock_t *lock) in spin_trylock() function
/linux-6.6.21/tools/memory-model/scripts/
Dsimpletest.sh25 exclude="${exclude}spin_lock(\|spin_unlock(\|spin_trylock(\|spin_is_locked("
/linux-6.6.21/drivers/usb/phy/
Dphy-mv-usb.c96 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_timer_await_bcon()
549 if (spin_trylock(&mvotg->wq_lock)) { in a_bus_req_store()
577 if (spin_trylock(&mvotg->wq_lock)) { in a_clr_err_store()
620 if (spin_trylock(&mvotg->wq_lock)) { in a_bus_drop_store()
810 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_probe()
859 if (spin_trylock(&mvotg->wq_lock)) { in mv_otg_resume()
/linux-6.6.21/drivers/cpuidle/
Dcpuidle-ux500.c33 if (!spin_trylock(&master_lock)) in ux500_enter_idle()
/linux-6.6.21/tools/memory-model/
Dlock.cat17 * spin_trylock() read-modify-write event pair
19 * spin_trylock() RMW event pair
21 * LF Lock-Fail: a failed spin_trylock() event
Dlinux-kernel.def43 spin_trylock(X) __trylock(X)
/linux-6.6.21/drivers/misc/pvpanic/
Dpvpanic.c37 if (!spin_trylock(&pvpanic_lock)) in pvpanic_send_event()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Despi.c315 if (!spin_trylock(&espi->lock)) in t1_espi_get_mon()
342 if (!spin_trylock(&espi->lock)) in t1_espi_get_mon_t204()
/linux-6.6.21/scripts/coccinelle/locks/
Ddouble_lock.cocci30 spin_trylock@p1
Dmini_lock.cocci33 spin_trylock@p1
Dcall_kern.cocci55 spin_trylock@p1
/linux-6.6.21/fs/nfs/
Dnfs42xattr.c841 if (!spin_trylock(&inode->i_lock)) in cache_lru_isolate()
911 if (!spin_trylock(&bucket->lock)) in entry_lru_isolate()
923 if (!spin_trylock(&cache->listxattr_lock)) in entry_lru_isolate()
/linux-6.6.21/arch/alpha/kernel/
Dsrmcons.c76 if (spin_trylock(&srmcons_callback_lock)) { in srmcons_receive_chars()
/linux-6.6.21/fs/
Ddcache.c658 if (likely(spin_trylock(&parent->d_lock))) in lock_parent()
717 if (inode && unlikely(!spin_trylock(&inode->i_lock))) in dentry_kill()
722 if (unlikely(!spin_trylock(&parent->d_lock))) { in dentry_kill()
1146 if (inode && unlikely(!spin_trylock(&inode->i_lock))) { in shrink_lock_dentry()
1158 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry()
1218 if (!spin_trylock(&dentry->d_lock)) in dentry_lru_isolate()
1298 if (!spin_trylock(&dentry->d_lock)) in dentry_lru_isolate_shrink()
/linux-6.6.21/block/
Dblk-ioc.c123 if (spin_trylock(&q->queue_lock)) { in ioc_release_fn()
/linux-6.6.21/drivers/soc/qcom/
Drpmh.c442 if (!spin_trylock(&ctrlr->cache_lock)) in rpmh_flush()
/linux-6.6.21/drivers/scsi/bnx2i/
Dbnx2i.h144 if (spin_trylock(&__hba->stat_lock)) { \
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k.h405 return spin_trylock(&interface->mbx_lock); in fm10k_mbx_trylock()
/linux-6.6.21/mm/
Dworkingset.c719 if (!spin_trylock(&mapping->host->i_lock)) { in shadow_lru_isolate()
/linux-6.6.21/drivers/crypto/stm32/
Dstm32-crc32.c160 if (!spin_trylock(&crc->lock)) { in burst_update()
/linux-6.6.21/drivers/hwspinlock/
Dhwspinlock_core.c123 ret = spin_trylock(&hwlock->lock); in __hwspin_trylock()
/linux-6.6.21/include/net/
Dsch_generic.h194 if (spin_trylock(&qdisc->seqlock)) in qdisc_run_begin()
209 return spin_trylock(&qdisc->seqlock); in qdisc_run_begin()
/linux-6.6.21/drivers/char/hw_random/
Dcctrng.c222 if (!spin_trylock(&drvdata->read_lock)) { in cctrng_read()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring_mux.c140 if (!spin_trylock(&mux->lock)) { in amdgpu_mux_resubmit_fallback()

1234