Lines Matching full:hb

227 extern void futex_hash_get(struct futex_hash_bucket *hb);
228 extern void futex_hash_put(struct futex_hash_bucket *hb);
234 static inline void futex_hash_get(struct futex_hash_bucket *hb) { } in futex_hash_get() argument
235 static inline void futex_hash_put(struct futex_hash_bucket *hb) { } in futex_hash_put() argument
240 DEFINE_CLASS(hb, struct futex_hash_bucket *,
271 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
344 extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb,
351 * @hb: The destination hash bucket
354 * The hb->lock must be held by the caller, and is released here. A call to
363 static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb, in futex_queue() argument
365 __releases(&hb->lock) in futex_queue()
367 __futex_queue(q, hb, task); in futex_queue()
368 spin_unlock(&hb->lock); in futex_queue()
378 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) in futex_hb_waiters_inc() argument
381 atomic_inc(&hb->waiters); in futex_hb_waiters_inc()
393 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) in futex_hb_waiters_dec() argument
396 atomic_dec(&hb->waiters); in futex_hb_waiters_dec()
400 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) in futex_hb_waiters_pending() argument
407 return atomic_read(&hb->waiters); in futex_hb_waiters_pending()
413 extern void futex_q_lock(struct futex_q *q, struct futex_hash_bucket *hb);
414 extern void futex_q_unlock(struct futex_hash_bucket *hb);
417 extern int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb,