Lines Matching refs:lock_ptr
95 * @lock_ptr: the hash bucket lock
106 * It is considered woken when plist_node_empty(&q->list) || q->lock_ptr == 0.
117 spinlock_t *lock_ptr;
738 * We set q->lock_ptr = NULL _before_ we wake up the task. If
749 * q->lock_ptr = NULL is written, without taking any locks. A
751 * store to lock_ptr from getting ahead of the plist_del.
754 q->lock_ptr = NULL;
1024 q->lock_ptr = &hb2->lock;
1043 * atomic lock acquisition. Set the q->lock_ptr to the requeue target hb->lock
1045 * with both q->lock_ptr and hb->lock held.
1060 q->lock_ptr = &hb->lock;
1367 q->lock_ptr = &hb->lock;
1418 * The q->lock_ptr must not be held by the caller. A call to unqueue_me() must
1427 spinlock_t *lock_ptr;
1432 lock_ptr = q->lock_ptr;
1434 if (lock_ptr != NULL) {
1435 spin_lock(lock_ptr);
1437 * q->lock_ptr can change between reading it and
1442 * q->lock_ptr must have changed (maybe several times)
1449 if (unlikely(lock_ptr != q->lock_ptr)) {
1450 spin_unlock(lock_ptr);
1458 spin_unlock(lock_ptr);
1468 * hash bucket. The hash bucket lock (i.e. lock_ptr) is held on entry
1480 spin_unlock(q->lock_ptr);
1565 spin_unlock(q->lock_ptr);
1569 spin_lock(q->lock_ptr);
1962 spin_lock(q.lock_ptr);
2136 WARN_ON(q->lock_ptr && (&hb->lock != q->lock_ptr));
2268 spin_lock(q.lock_ptr);
2271 spin_unlock(q.lock_ptr);
2276 * signal. futex_unlock_pi() will not destroy the lock_ptr nor
2284 spin_lock(q.lock_ptr);