Lines Matching refs:kExclusive
699 static const Mutex::MuHow kExclusive = &kExclusiveS; // exclusive lock variable
942 } else if (waitp->how == kExclusive && in Enqueue()
1035 if (w->waitp->how == kExclusive) { // wake at most 1 writer in DequeueAllWakeable()
1469 this->LockSlow(kExclusive, nullptr, 0); in Lock()
1494 this->LockSlow(kExclusive, &cond, 0); in LockWhen()
1506 bool res = LockSlowWithDeadline(kExclusive, &cond, in LockWhenWithDeadline()
1569 (mu_.load(std::memory_order_relaxed) & kMuWriter) ? kExclusive : kShared; in AwaitCommon()
1601 if ((v & kExclusive->slow_need_zero) == 0 && // try fast acquire in TryLock()
1603 v, (kExclusive->fast_or | v) + kExclusive->fast_add, in TryLock()
1906 waitp->how == kExclusive? SYNCH_EV_LOCK: SYNCH_EV_READERLOCK); in LockSlowLoop()
1938 if (waitp->how == kExclusive && (v & kMuReader) != 0) { in LockSlowLoop()
1983 if (waitp->how == kExclusive && (v & kMuReader) != 0) { in LockSlowLoop()
2010 waitp->how == kExclusive? SYNCH_EV_LOCK_RETURNING : in LockSlowLoop()
2141 if (h->next->waitp->how == kExclusive && in UnlockSlow()
2155 } else if (w != nullptr && (w->waitp->how == kExclusive || h == old_h)) { in UnlockSlow()
2233 if (w_walk->waitp->how == kExclusive) { in UnlockSlow()
2517 Mutex::MuHow mutex_how = ((mutex_v & kMuWriter) != 0) ? kExclusive : kShared; in WaitCommon()