Lines Matching refs:wait_lock
19 * 2) Take tmutex::wait_lock, which protects the writelocked flag
75 raw_spin_lock_irq(&rtm->wait_lock);
78 * Call into the slow lock path with the rtmutex->wait_lock
87 * unlock(m->wait_lock)
90 * lock(m->wait_lock)
92 * unlock(m->wait_lock)
120 * rtmutex->wait_lock has to be unlocked in any case of course.
124 raw_spin_unlock_irq(&rtm->wait_lock);
151 raw_spin_lock_irq(&rtm->wait_lock);
155 * clean up rwb->readers it needs to acquire rtm->wait_lock. The
164 raw_spin_unlock_irq(&rtm->wait_lock);
191 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags);
200 raw_spin_lock_irqsave(&rtm->wait_lock, flags);
209 raw_spin_lock_irqsave(&rtm->wait_lock, flags);
216 /* Can do without CAS because we're serialized by wait_lock. */
217 lockdep_assert_held(&rwb->rtmutex.wait_lock);
246 raw_spin_lock_irqsave(&rtm->wait_lock, flags);
265 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags);
267 raw_spin_lock_irqsave(&rtm->wait_lock, flags);
275 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags);
290 raw_spin_lock_irqsave(&rtm->wait_lock, flags);
292 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags);