Lines Matching refs:hb1
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()
1494 spin_lock(&hb1->lock); in double_lock_hb()
1495 if (hb1 < hb2) in double_lock_hb()
1499 spin_lock_nested(&hb1->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1504 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1506 spin_unlock(&hb1->lock); in double_unlock_hb()
1507 if (hb1 != hb2) in double_unlock_hb()
1619 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1632 hb1 = hash_futex(&key1); in futex_wake_op()
1636 double_lock_hb(hb1, hb2); in futex_wake_op()
1640 double_unlock_hb(hb1, hb2); in futex_wake_op()
1668 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_wake_op()
1697 double_unlock_hb(hb1, hb2); in futex_wake_op()
1715 void requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1, in requeue_futex() argument
1723 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1724 plist_del(&q->list, &hb1->chain); in requeue_futex()
1725 hb_waiters_dec(hb1); in requeue_futex()
1786 struct futex_hash_bucket *hb1, in futex_proxy_trylock_atomic() argument
1809 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
1859 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
1921 hb1 = hash_futex(&key1); in futex_requeue()
1926 double_lock_hb(hb1, hb2); in futex_requeue()
1934 double_unlock_hb(hb1, hb2); in futex_requeue()
1961 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
1999 double_unlock_hb(hb1, hb2); in futex_requeue()
2014 double_unlock_hb(hb1, hb2); in futex_requeue()
2025 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_requeue()
2107 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
2119 double_unlock_hb(hb1, hb2); in futex_requeue()