Lines Matching refs:kExclusive
701 static const Mutex::MuHow kExclusive = &kExclusiveS; // exclusive lock variable
944 } else if (waitp->how == kExclusive && in Enqueue()
1037 if (w->waitp->how == kExclusive) { // wake at most 1 writer in DequeueAllWakeable()
1470 this->LockSlow(kExclusive, nullptr, 0); in Lock()
1495 this->LockSlow(kExclusive, &cond, 0); in LockWhen()
1507 bool res = LockSlowWithDeadline(kExclusive, &cond, in LockWhenWithDeadline()
1570 (mu_.load(std::memory_order_relaxed) & kMuWriter) ? kExclusive : kShared; in AwaitCommon()
1602 if ((v & kExclusive->slow_need_zero) == 0 && // try fast acquire in TryLock()
1604 v, (kExclusive->fast_or | v) + kExclusive->fast_add, in TryLock()
1909 waitp->how == kExclusive? SYNCH_EV_LOCK: SYNCH_EV_READERLOCK); in LockSlowLoop()
1941 if (waitp->how == kExclusive && (v & kMuReader) != 0) { in LockSlowLoop()
1986 if (waitp->how == kExclusive && (v & kMuReader) != 0) { in LockSlowLoop()
2014 waitp->how == kExclusive? SYNCH_EV_LOCK_RETURNING : in LockSlowLoop()
2146 if (h->next->waitp->how == kExclusive && in UnlockSlow()
2160 } else if (w != nullptr && (w->waitp->how == kExclusive || h == old_h)) { in UnlockSlow()
2238 if (w_walk->waitp->how == kExclusive) { in UnlockSlow()
2526 Mutex::MuHow mutex_how = ((mutex_v & kMuWriter) != 0) ? kExclusive : kShared; in WaitCommon()