Searched refs:LOCK_HELD (Results 1 – 16 of 16) sorted by relevance
143 while (lp == *tlpp && LOCK_HELD(lp)) { in thread_lock()178 while (lp == *tlpp && LOCK_HELD(lp)) { in thread_lock_high()
540 return (LOCK_HELD(&lp->m_spin.m_spinlock)); in mutex_owned()661 while (LOCK_HELD(lp) || !lock_spin_try(lp)) { in lock_set_spin()700 while (LOCK_HELD(lp)) { in lock_set_spl_spin()
333 ASSERT(LOCK_HELD(wlp)); in turnstile_interlock()372 while (olp == *olpp && LOCK_HELD(olp)) { in turnstile_interlock()
1649 while (LOCK_HELD(lp) || !lock_spin_try(lp)) { in dumpsys_spinlock()
81 #define DISP_LOCK_HELD(lp) LOCK_HELD((lock_t *)(lp))
486 #define SWAP_OK(t) (!LOCK_HELD(&(t)->t_lock))
55 #define LOCK_HELD(lp) (*(volatile lock_t *)(lp) != 0) macro
59 #define LOCK_HELD(lp) (*(volatile lock_t *)(lp) != 0) macro
114 ASSERT(!LOCK_HELD(&ops->busy)); in tnf_trace_init()
665 if (LOCK_HELD(&tpdp->busy)) { in tnf_deallocbuf()
785 ASSERT(vecp != NULL && LOCK_HELD(&apix_lock)); in apix_addspl()818 ASSERT(vecp != NULL && LOCK_HELD(&apix_lock)); in apix_delspl()1600 ASSERT(LOCK_HELD(&apix_lock)); in apix_set_cpu()1665 ASSERT(LOCK_HELD(&apix_lock)); in apix_grp_set_cpu()1789 ASSERT(LOCK_HELD(&apic_ioapic_lock) && !IS_IRQ_FREE(irqp)); in apix_intx_enable()1827 ASSERT(LOCK_HELD(&apic_ioapic_lock) && !IS_IRQ_FREE(irqp)); in apix_intx_disable()
1466 ASSERT(LOCK_HELD(&apix_lock) && count > 0); in apix_rebind()1800 ASSERT(LOCK_HELD(&apix_lock)); in apix_setup_io_intr()
196 #define APIX_CPU_LOCK_HELD(cpuid) LOCK_HELD(&apixs[(cpuid)]->x_lock)
1593 ASSERT(LOCK_HELD(&apic_ioapic_lock)); in delete_defer_repro_ent()
1660 ASSERT(LOCK_HELD(&apic_ioapic_lock)); in delete_defer_repro_ent()
3895 regs[rd] = LOCK_HELD(&m.mi.m_spin.m_spinlock); in dtrace_dif_subr()