Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/memory-model/litmus-tests/
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
30 r2 = spin_is_locked(lo);
31 r3 = spin_is_locked(lo);
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()
31 r2 = spin_is_locked(lo);
32 r3 = spin_is_locked(lo);
DREADME72 spin_is_locked() calls in the other process.
76 acquire load followed by a pair of spin_is_locked() calls
/kernel/linux/linux-5.10/tools/memory-model/
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()
Dlinux-kernel.def43 spin_is_locked(X) __islocked(X)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h653 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_secondary_pte()
665 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_host_pte()
/kernel/linux/linux-5.10/include/linux/
Dspinlock.h445 static __always_inline int spin_is_locked(spinlock_t *lock) in spin_is_locked() function
/kernel/linux/linux-5.10/fs/
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()
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h144 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
Dsock.h1658 return !sk->sk_lock.owned && !spin_is_locked(&sk->sk_lock.slock); in sock_allow_reclassification()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dfirmware.c204 if (spin_is_locked(&pdc_lock)) in pdc_emergency_unlock()
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c1178 mlog_bug_on_msg(spin_is_locked(&oi->ip_lock), in ocfs2_clear_inode()
Ddlmglue.c780 mlog_bug_on_msg(spin_is_locked(&res->l_lock), in ocfs2_lock_res_free()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_nested.c791 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_nested_guest_pte()
/kernel/linux/linux-5.10/ipc/
Dsem.c1873 spin_is_locked(&ulp->lock)) { in __lookup_undo()
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.megaraid249 BUG_ON(!spin_is_locked(&some_lock));