Lines Matching refs:hb2
1627 double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_lock_hb() argument
1629 if (hb1 <= hb2) { in double_lock_hb()
1631 if (hb1 < hb2) in double_lock_hb()
1632 spin_lock_nested(&hb2->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1634 spin_lock(&hb2->lock); in double_lock_hb()
1640 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1643 if (hb1 != hb2) in double_unlock_hb()
1644 spin_unlock(&hb2->lock); in double_unlock_hb()
1751 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1765 hb2 = hash_futex(&key2); in futex_wake_op()
1768 double_lock_hb(hb1, hb2); in futex_wake_op()
1771 double_unlock_hb(hb1, hb2); in futex_wake_op()
1809 plist_for_each_entry_safe(this, next, &hb2->chain, list) { in futex_wake_op()
1824 double_unlock_hb(hb1, hb2); in futex_wake_op()
1838 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
1845 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1848 hb_waiters_inc(hb2); in requeue_futex()
1849 plist_add(&q->list, &hb2->chain); in requeue_futex()
1850 q->lock_ptr = &hb2->lock; in requeue_futex()
2031 struct futex_hash_bucket *hb2, union futex_key *key1, in futex_proxy_trylock_atomic() argument
2082 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
2091 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
2134 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
2207 hb2 = hash_futex(&key2); in futex_requeue()
2210 hb_waiters_inc(hb2); in futex_requeue()
2211 double_lock_hb(hb1, hb2); in futex_requeue()
2219 double_unlock_hb(hb1, hb2); in futex_requeue()
2220 hb_waiters_dec(hb2); in futex_requeue()
2248 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
2305 double_unlock_hb(hb1, hb2); in futex_requeue()
2306 hb_waiters_dec(hb2); in futex_requeue()
2319 double_unlock_hb(hb1, hb2); in futex_requeue()
2320 hb_waiters_dec(hb2); in futex_requeue()
2360 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
2404 requeue_pi_wake_futex(this, &key2, hb2); in futex_requeue()
2408 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
2437 double_unlock_hb(hb1, hb2); in futex_requeue()
2439 hb_waiters_dec(hb2); in futex_requeue()