Lines Matching defs:hb
227 extern void futex_hash_get(struct futex_hash_bucket *hb);
228 extern void futex_hash_put(struct futex_hash_bucket *hb);
235 static inline void futex_hash_get(struct futex_hash_bucket *hb) { }
236 static inline void futex_hash_put(struct futex_hash_bucket *hb) { }
242 DEFINE_CLASS(hb, struct futex_hash_bucket *,
273 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
346 extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb,
353 * @hb: The destination hash bucket
356 * The hb->lock must be held by the caller, and is released here. A call to
365 static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb,
367 __releases(&hb->lock)
369 __futex_queue(q, hb, task);
370 spin_unlock(&hb->lock);
380 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb)
383 atomic_inc(&hb->waiters);
395 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb)
398 atomic_dec(&hb->waiters);
402 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb)
409 return atomic_read(&hb->waiters);
415 extern void futex_q_lock(struct futex_q *q, struct futex_hash_bucket *hb);
416 extern void futex_q_unlock(struct futex_hash_bucket *hb);
419 extern int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb,