Home
last modified time | relevance | path

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

/linux/tools/memory-model/litmus-tests/
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);
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);
A DREADME72 spin_is_locked() calls in the other process.
76 acquire load followed by a pair of spin_is_locked() calls
/linux/tools/memory-model/
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
100 * RU, i.e., spin_is_locked() returning False, is slightly different.
101 * We rely on the memory model to rule out cases where spin_is_locked()
A Dlinux-kernel.def43 spin_is_locked(X) __islocked(X)
/linux/include/linux/
A Dspinlock_rt.h150 static inline int spin_is_locked(spinlock_t *lock) in spin_is_locked() function
155 #define assert_spin_locked(lock) BUG_ON(!spin_is_locked(lock))
A Dspinlock.h440 static __always_inline int spin_is_locked(spinlock_t *lock) in spin_is_locked() function
/linux/arch/powerpc/include/asm/
A Dkvm_book3s_64.h666 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_secondary_pte()
678 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_host_pte()
/linux/fs/
A Duserfaultfd.c169 VM_BUG_ON(spin_is_locked(&ctx->fault_pending_wqh.lock)); in userfaultfd_ctx_put()
171 VM_BUG_ON(spin_is_locked(&ctx->fault_wqh.lock)); in userfaultfd_ctx_put()
173 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock)); in userfaultfd_ctx_put()
175 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put()
/linux/include/net/
A Dsch_generic.h160 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
A Dsock.h1747 return !sk->sk_lock.owned && !spin_is_locked(&sk->sk_lock.slock); in sock_allow_reclassification()
/linux/arch/parisc/kernel/
A Dfirmware.c204 if (spin_is_locked(&pdc_lock)) in pdc_emergency_unlock()
/linux/fs/ocfs2/
A Dinode.c1176 mlog_bug_on_msg(spin_is_locked(&oi->ip_lock), in ocfs2_clear_inode()
A Ddlmglue.c779 mlog_bug_on_msg(spin_is_locked(&res->l_lock), in ocfs2_lock_res_free()
/linux/arch/powerpc/kvm/
A Dbook3s_hv_nested.c863 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_nested_guest_pte()
/linux/ipc/
A Dsem.c1876 spin_is_locked(&ulp->lock)) { in __lookup_undo()
/linux/Documentation/scsi/
A DChangeLog.megaraid249 BUG_ON(!spin_is_locked(&some_lock));
/linux/Documentation/dev-tools/
A Dcheckpatch.rst462 assertions based on spin_is_locked()

Completed in 62 milliseconds