Lines Matching refs:interlock
254 if (lck->interlock == LCK_SPIN_TAG_DESTROYED)
256 lck->interlock = LCK_SPIN_TAG_DESTROYED;
303 return (lck->interlock != 0)? TRUE : FALSE;
318 hw_lock_init(&l->interlock);
365 if(__improbable(hw_lock_to(&l->interlock, LockTimeOutTSC) == 0)) {
369 if ((uslock_acquired = hw_lock_to(&l->interlock, LockTimeOutTSC)))
375 uintptr_t lowner = (uintptr_t)l->interlock.lock_data;
378 panic("Spinlock acquisition timed out: lock=%p, lock owner thread=0x%lx, current_thread: %p, lock owner active on CPU 0x%x, current owner: 0x%lx", l, lowner, current_thread(), lock_cpu, (uintptr_t)l->interlock.lock_data);
404 hw_lock_unlock(&l->interlock);
433 if ((success = hw_lock_try(&l->interlock))) {
792 * We disable interrupts while holding the RW interlock to prevent an
945 * a check of the interlock not being held since
948 * adjustments are done behind the interlock and represent an
951 * and the interlock not held, we are safe to proceed
1017 * readers or upgrade owner behind the interlock
1029 * At least we get out from under the interlock before we record
1044 * the interlock so the count is accurate.
1743 * neither the mutex or interlock is held
1820 * mutex is owned... interlock is held... preemption is disabled
1877 * Called with the interlock unlocked.
1960 * Called with the interlock locked and