Lines Matching defs:hb
29 * the hb spinlock can be avoided and simply return. In order for this
147 * the hb->lock.
172 CLASS(hb, hb)(&key);
175 if (!futex_hb_waiters_pending(hb))
178 spin_lock(&hb->lock);
180 plist_for_each_entry_safe(this, next, &hb->chain, list) {
197 spin_unlock(&hb->lock);
269 CLASS(hb, hb1)(&key1);
270 CLASS(hb, hb2)(&key2);
449 CLASS(hb, hb)(&q->key);
451 futex_q_lock(q, hb);
457 * next futex. Queue each futex at this moment so hb can
460 futex_queue(q, hb, current);
464 futex_q_unlock(hb);
584 * Return with the hb lock held on success, and unlocked on failure.
587 * - 0 - uaddr contains val and hb has been locked;
588 * - <0 - On error and the hb is unlocked. A possible reason: the uaddr can not
623 CLASS(hb, hb)(&q->key);
625 futex_q_lock(q, hb);
630 futex_q_unlock(hb);
643 futex_q_unlock(hb);
648 futex_q_unlock(hb);
660 futex_queue(q, hb, task);
679 * Prepare to wait on uaddr. On success, it holds hb->lock and q