Lines Matching refs:hb2

1491 double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)  in double_lock_hb()  argument
1493 if (hb1 <= hb2) { in double_lock_hb()
1495 if (hb1 < hb2) in double_lock_hb()
1496 spin_lock_nested(&hb2->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1498 spin_lock(&hb2->lock); in double_lock_hb()
1504 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1507 if (hb1 != hb2) in double_unlock_hb()
1508 spin_unlock(&hb2->lock); in double_unlock_hb()
1619 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1633 hb2 = hash_futex(&key2); in futex_wake_op()
1636 double_lock_hb(hb1, hb2); in futex_wake_op()
1640 double_unlock_hb(hb1, hb2); in futex_wake_op()
1682 plist_for_each_entry_safe(this, next, &hb2->chain, list) { in futex_wake_op()
1697 double_unlock_hb(hb1, hb2); in futex_wake_op()
1716 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
1723 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1726 hb_waiters_inc(hb2); in requeue_futex()
1727 plist_add(&q->list, &hb2->chain); in requeue_futex()
1728 q->lock_ptr = &hb2->lock; in requeue_futex()
1787 struct futex_hash_bucket *hb2, in futex_proxy_trylock_atomic() argument
1825 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
1828 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
1859 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
1922 hb2 = hash_futex(&key2); in futex_requeue()
1925 hb_waiters_inc(hb2); in futex_requeue()
1926 double_lock_hb(hb1, hb2); in futex_requeue()
1934 double_unlock_hb(hb1, hb2); in futex_requeue()
1935 hb_waiters_dec(hb2); in futex_requeue()
1961 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
1989 ret = lookup_pi_state(uaddr2, ret, hb2, &key2, &pi_state); in futex_requeue()
1999 double_unlock_hb(hb1, hb2); in futex_requeue()
2000 hb_waiters_dec(hb2); in futex_requeue()
2014 double_unlock_hb(hb1, hb2); in futex_requeue()
2015 hb_waiters_dec(hb2); in futex_requeue()
2086 requeue_pi_wake_futex(this, &key2, hb2); in futex_requeue()
2107 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
2119 double_unlock_hb(hb1, hb2); in futex_requeue()
2121 hb_waiters_dec(hb2); in futex_requeue()