Lines Matching refs:hb2
1200 double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_lock_hb() argument
1202 if (hb1 <= hb2) { in double_lock_hb()
1204 if (hb1 < hb2) in double_lock_hb()
1205 spin_lock_nested(&hb2->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1207 spin_lock(&hb2->lock); in double_lock_hb()
1213 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1216 if (hb1 != hb2) in double_unlock_hb()
1217 spin_unlock(&hb2->lock); in double_unlock_hb()
1279 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1292 hb2 = hash_futex(&key2); in futex_wake_op()
1295 double_lock_hb(hb1, hb2); in futex_wake_op()
1299 double_unlock_hb(hb1, hb2); in futex_wake_op()
1341 plist_for_each_entry_safe(this, next, &hb2->chain, list) { in futex_wake_op()
1356 double_unlock_hb(hb1, hb2); in futex_wake_op()
1374 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
1381 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1384 plist_add(&q->list, &hb2->chain); in requeue_futex()
1385 hb_waiters_inc(hb2); in requeue_futex()
1386 q->lock_ptr = &hb2->lock; in requeue_futex()
1445 struct futex_hash_bucket *hb2, in futex_proxy_trylock_atomic() argument
1480 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
1483 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
1514 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
1564 hb2 = hash_futex(&key2); in futex_requeue()
1567 hb_waiters_inc(hb2); in futex_requeue()
1568 double_lock_hb(hb1, hb2); in futex_requeue()
1576 double_unlock_hb(hb1, hb2); in futex_requeue()
1577 hb_waiters_dec(hb2); in futex_requeue()
1603 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
1628 ret = lookup_pi_state(ret, hb2, &key2, &pi_state); in futex_requeue()
1637 double_unlock_hb(hb1, hb2); in futex_requeue()
1638 hb_waiters_dec(hb2); in futex_requeue()
1654 double_unlock_hb(hb1, hb2); in futex_requeue()
1655 hb_waiters_dec(hb2); in futex_requeue()
1715 requeue_pi_wake_futex(this, &key2, hb2); in futex_requeue()
1725 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
1731 double_unlock_hb(hb1, hb2); in futex_requeue()
1732 hb_waiters_dec(hb2); in futex_requeue()