Home
last modified time | relevance | path

Searched refs:spin_is_locked (Results 1 – 20 of 20) sorted by relevance

/linux/tools/memory-model/litmus-tests/
H A DMP+polockonce+poacquiresilsil.litmus6 * Do spinlocks provide order to outside observers using spin_is_locked()
8 * first spin_is_locked() returns false and the second true, we know that
29 r2 = spin_is_locked(lo);
30 r3 = spin_is_locked(lo);
H A DMP+polockmbonce+poacquiresilsil.litmus7 * to outside observers using spin_is_locked() to sense the lock-held
8 * state, ordered by acquire? Note that when the first spin_is_locked()
30 r2 = spin_is_locked(lo);
31 r3 = spin_is_locked(lo);
H A DREADME76 spin_is_locked() calls in the other process.
80 acquire load followed by a pair of spin_is_locked() calls
/linux/tools/memory-model/scripts/
H A Dsimpletest.sh25 exclude="${exclude}spin_lock(\|spin_unlock(\|spin_trylock(\|spin_is_locked("
/linux/tools/memory-model/
H A Dlock.cat22 * RL Read-Locked: a spin_is_locked() event which returns True
23 * RU Read-Unlocked: a spin_is_locked() event which returns False
58 * In the same way, spin_is_locked() inside a critical section must always
H A Dlinux-kernel.def44 spin_is_locked(X) __islocked(X)
/linux/drivers/s390/char/
H A Dsclp_con.c234 if (spin_is_locked(&sclp_con_lock)) in sclp_console_notify()
H A Dsclp_vt220.c795 if (spin_is_locked(&sclp_vt220_lock)) in sclp_vt220_notify()
H A Draw3270.c888 if (spin_is_locked(get_ccwdev_lock(rp->cdev))) in raw3270_view_lock_unavailable()
/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c43 EFX_WARN_ON_PARANOID(spin_is_locked(&cnt->lock)); in efx_tc_counter_free()
193 EFX_WARN_ON_PARANOID(spin_is_locked(&cnt->lock)); in efx_tc_flower_release_counter()
/linux/tools/memory-model/Documentation/
H A Dherd-representation.txt45 | spin_is_locked | On success: RL |
/linux/fs/
H A Duserfaultfd.c168 VM_BUG_ON(spin_is_locked(&ctx->fault_pending_wqh.lock)); in userfaultfd_ctx_put()
170 VM_BUG_ON(spin_is_locked(&ctx->fault_wqh.lock)); in userfaultfd_ctx_put()
172 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock)); in userfaultfd_ctx_put()
174 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put()
/linux/drivers/hv/
H A Dring_buffer.c270 return spin_is_locked(&rinfo->ring_lock); in hv_ringbuffer_spinlock_busy()
/linux/include/linux/
H A Dspinlock.h442 static __always_inline int spin_is_locked(spinlock_t *lock) in spin_is_locked() function
/linux/include/net/
H A Dsch_generic.h170 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
H A Dsock.h1747 !spin_is_locked(&sk->sk_lock.slock); in sock_allow_reclassification()
/linux/arch/parisc/kernel/
H A Dfirmware.c211 if (spin_is_locked(&pdc_lock)) in pdc_emergency_unlock()
/linux/Documentation/scsi/
H A DChangeLog.megaraid249 BUG_ON(!spin_is_locked(&some_lock));
/linux/ipc/
H A Dsem.c1874 spin_is_locked(&ulp->lock)) { in __lookup_undo()
/linux/fs/ocfs2/
H A Ddlmglue.c779 mlog_bug_on_msg(spin_is_locked(&res->l_lock), in ocfs2_lock_res_free()