Lines Matching refs:hb1

1299 double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)  in double_lock_hb()  argument
1301 if (hb1 <= hb2) { in double_lock_hb()
1302 spin_lock(&hb1->lock); in double_lock_hb()
1303 if (hb1 < hb2) in double_lock_hb()
1307 spin_lock_nested(&hb1->lock, SINGLE_DEPTH_NESTING); in double_lock_hb()
1312 double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) in double_unlock_hb() argument
1314 spin_unlock(&hb1->lock); in double_unlock_hb()
1315 if (hb1 != hb2) in double_unlock_hb()
1380 struct futex_hash_bucket *hb1, *hb2; in futex_wake_op() local
1393 hb1 = hash_futex(&key1); in futex_wake_op()
1397 double_lock_hb(hb1, hb2); in futex_wake_op()
1401 double_unlock_hb(hb1, hb2); in futex_wake_op()
1429 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_wake_op()
1458 double_unlock_hb(hb1, hb2); in futex_wake_op()
1476 void requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1, in requeue_futex() argument
1484 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1485 plist_del(&q->list, &hb1->chain); in requeue_futex()
1486 hb_waiters_dec(hb1); in requeue_futex()
1547 struct futex_hash_bucket *hb1, in futex_proxy_trylock_atomic() argument
1570 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
1620 struct futex_hash_bucket *hb1, *hb2; in futex_requeue() local
1670 hb1 = hash_futex(&key1); in futex_requeue()
1675 double_lock_hb(hb1, hb2); in futex_requeue()
1683 double_unlock_hb(hb1, hb2); in futex_requeue()
1710 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
1744 double_unlock_hb(hb1, hb2); in futex_requeue()
1761 double_unlock_hb(hb1, hb2); in futex_requeue()
1772 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_requeue()
1832 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
1838 double_unlock_hb(hb1, hb2); in futex_requeue()