Lines Matching refs:hb1
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()
1563 spin_lock(&hb1->lock); in double_lock_hb()
1564 if (hb1 < hb2) in double_lock_hb()
1568 spin_lock_nested(&hb1->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1573 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1575 spin_unlock(&hb1->lock); in double_unlock_hb()
1576 if (hb1 != hb2) in double_unlock_hb()
1684 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1697 hb1 = hash_futex(&key1); in futex_wake_op()
1701 double_lock_hb(hb1, hb2); in futex_wake_op()
1704 double_unlock_hb(hb1, hb2); in futex_wake_op()
1731 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_wake_op()
1760 double_unlock_hb(hb1, hb2); in futex_wake_op()
1773 void requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1, in requeue_futex() argument
1781 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1782 plist_del(&q->list, &hb1->chain); in requeue_futex()
1783 hb_waiters_dec(hb1); in requeue_futex()
1848 futex_proxy_trylock_atomic(u32 __user *pifutex, struct futex_hash_bucket *hb1, in futex_proxy_trylock_atomic() argument
1871 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
1921 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
1981 hb1 = hash_futex(&key1); in futex_requeue()
1986 double_lock_hb(hb1, hb2); in futex_requeue()
1994 double_unlock_hb(hb1, hb2); in futex_requeue()
2021 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
2060 double_unlock_hb(hb1, hb2); in futex_requeue()
2074 double_unlock_hb(hb1, hb2); in futex_requeue()
2089 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_requeue()
2170 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
2181 double_unlock_hb(hb1, hb2); in futex_requeue()