Lines Matching refs:hb
145 struct futex_hash_bucket *hb; in futex_wake() local
158 hb = futex_hash(&key); in futex_wake()
161 if (!futex_hb_waiters_pending(hb)) in futex_wake()
164 spin_lock(&hb->lock); in futex_wake()
166 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake()
183 spin_unlock(&hb->lock); in futex_wake()
328 void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q, in futex_wait_queue() argument
338 futex_queue(q, hb); in futex_wait_queue()
401 struct futex_hash_bucket *hb; in futex_wait_multiple_setup() local
440 hb = futex_q_lock(q); in futex_wait_multiple_setup()
449 futex_queue(q, hb); in futex_wait_multiple_setup()
453 futex_q_unlock(hb); in futex_wait_multiple_setup()
578 struct futex_q *q, struct futex_hash_bucket **hb) in futex_wait_setup() argument
607 *hb = futex_q_lock(q); in futex_wait_setup()
612 futex_q_unlock(*hb); in futex_wait_setup()
625 futex_q_unlock(*hb); in futex_wait_setup()
636 struct futex_hash_bucket *hb; in futex_wait() local
651 ret = futex_wait_setup(uaddr, val, flags, &q, &hb); in futex_wait()
656 futex_wait_queue(hb, &q, to); in futex_wait()