Lines Matching refs:hb
221 struct futex_q *q, struct futex_hash_bucket **hb);
222 extern void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q,
230 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
233 extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb);
239 * @hb: The destination hash bucket
241 * The hb->lock must be held by the caller, and is released here. A call to
248 static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb)
249 __releases(&hb->lock)
251 __futex_queue(q, hb);
252 spin_unlock(&hb->lock);
262 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb)
265 atomic_inc(&hb->waiters);
277 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb)
280 atomic_dec(&hb->waiters);
284 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb)
291 return atomic_read(&hb->waiters);
298 extern void futex_q_unlock(struct futex_hash_bucket *hb);
301 extern int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb,