Searched refs:spin_is_locked (Results 1 – 25 of 25) sorted by relevance
/linux-6.6.21/tools/memory-model/litmus-tests/ |
D | MP+polockonce+poacquiresilsil.litmus | 6 * 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);
|
D | MP+polockmbonce+poacquiresilsil.litmus | 7 * 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);
|
D | README | 76 spin_is_locked() calls in the other process. 80 acquire load followed by a pair of spin_is_locked() calls
|
/linux-6.6.21/include/linux/ |
D | spinlock_rt.h | 150 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))
|
D | spinlock.h | 442 static __always_inline int spin_is_locked(spinlock_t *lock) in spin_is_locked() function
|
/linux-6.6.21/tools/memory-model/ |
D | lock.cat | 22 * 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()
|
D | linux-kernel.def | 44 spin_is_locked(X) __islocked(X)
|
/linux-6.6.21/tools/memory-model/scripts/ |
D | simpletest.sh | 25 exclude="${exclude}spin_lock(\|spin_unlock(\|spin_trylock(\|spin_is_locked("
|
/linux-6.6.21/drivers/s390/char/ |
D | sclp_con.c | 234 if (spin_is_locked(&sclp_con_lock)) in sclp_console_notify()
|
D | sclp_vt220.c | 795 if (spin_is_locked(&sclp_vt220_lock)) in sclp_vt220_notify()
|
D | raw3270.c | 884 if (spin_is_locked(get_ccwdev_lock(rp->cdev))) in raw3270_view_lock_unavailable()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 654 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_secondary_pte() 666 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_host_pte()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | tc_counters.c | 43 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-6.6.21/fs/ |
D | userfaultfd.c | 217 VM_BUG_ON(spin_is_locked(&ctx->fault_pending_wqh.lock)); in userfaultfd_ctx_put() 219 VM_BUG_ON(spin_is_locked(&ctx->fault_wqh.lock)); in userfaultfd_ctx_put() 221 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock)); in userfaultfd_ctx_put() 223 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put()
|
/linux-6.6.21/drivers/hv/ |
D | ring_buffer.c | 270 return spin_is_locked(&rinfo->ring_lock); in hv_ringbuffer_spinlock_busy()
|
/linux-6.6.21/drivers/firmware/google/ |
D | gsmi.c | 691 if (spin_is_locked(&gsmi_dev.lock)) in gsmi_panic_callback()
|
/linux-6.6.21/include/net/ |
D | sch_generic.h | 167 return spin_is_locked(&qdisc->seqlock); in qdisc_is_running()
|
D | sock.h | 1838 !spin_is_locked(&sk->sk_lock.slock); in sock_allow_reclassification()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | firmware.c | 211 if (spin_is_locked(&pdc_lock)) in pdc_emergency_unlock()
|
/linux-6.6.21/fs/ocfs2/ |
D | inode.c | 1176 mlog_bug_on_msg(spin_is_locked(&oi->ip_lock), in ocfs2_clear_inode()
|
D | dlmglue.c | 779 mlog_bug_on_msg(spin_is_locked(&res->l_lock), in ocfs2_lock_res_free()
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_hv_nested.c | 871 VM_WARN(!spin_is_locked(&kvm->mmu_lock), in find_kvm_nested_guest_pte()
|
/linux-6.6.21/ipc/ |
D | sem.c | 1874 spin_is_locked(&ulp->lock)) { in __lookup_undo()
|
/linux-6.6.21/Documentation/scsi/ |
D | ChangeLog.megaraid | 249 BUG_ON(!spin_is_locked(&some_lock));
|
/linux-6.6.21/Documentation/dev-tools/ |
D | checkpatch.rst | 462 assertions based on spin_is_locked()
|