Lines Matching refs:hb2
1560 double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_lock_hb() argument
1562 if (hb1 <= hb2) { in double_lock_hb()
1564 if (hb1 < hb2) in double_lock_hb()
1565 spin_lock_nested(&hb2->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1567 spin_lock(&hb2->lock); in double_lock_hb()
1573 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1576 if (hb1 != hb2) in double_unlock_hb()
1577 spin_unlock(&hb2->lock); in double_unlock_hb()
1684 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1698 hb2 = hash_futex(&key2); in futex_wake_op()
1701 double_lock_hb(hb1, hb2); in futex_wake_op()
1704 double_unlock_hb(hb1, hb2); in futex_wake_op()
1745 plist_for_each_entry_safe(this, next, &hb2->chain, list) { in futex_wake_op()
1760 double_unlock_hb(hb1, hb2); in futex_wake_op()
1774 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
1781 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1784 hb_waiters_inc(hb2); in requeue_futex()
1785 plist_add(&q->list, &hb2->chain); in requeue_futex()
1786 q->lock_ptr = &hb2->lock; in requeue_futex()
1849 struct futex_hash_bucket *hb2, union futex_key *key1, in futex_proxy_trylock_atomic() argument
1887 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
1890 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
1921 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
1982 hb2 = hash_futex(&key2); in futex_requeue()
1985 hb_waiters_inc(hb2); in futex_requeue()
1986 double_lock_hb(hb1, hb2); in futex_requeue()
1994 double_unlock_hb(hb1, hb2); in futex_requeue()
1995 hb_waiters_dec(hb2); in futex_requeue()
2021 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
2049 ret = lookup_pi_state(uaddr2, ret, hb2, &key2, in futex_requeue()
2060 double_unlock_hb(hb1, hb2); in futex_requeue()
2061 hb_waiters_dec(hb2); in futex_requeue()
2074 double_unlock_hb(hb1, hb2); in futex_requeue()
2075 hb_waiters_dec(hb2); in futex_requeue()
2150 requeue_pi_wake_futex(this, &key2, hb2); in futex_requeue()
2170 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
2181 double_unlock_hb(hb1, hb2); in futex_requeue()
2183 hb_waiters_dec(hb2); in futex_requeue()