Searched refs:hb (Results 1 – 2 of 2) sorted by relevance
231 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument233 atomic_set(&hb->count, 0); in hib_init_batch()234 init_waitqueue_head(&hb->wait); in hib_init_batch()235 hb->error = BLK_STS_OK; in hib_init_batch()240 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local255 if (bio->bi_status && !hb->error) in hib_end_io()256 hb->error = bio->bi_status; in hib_end_io()257 if (atomic_dec_and_test(&hb->count)) in hib_end_io()258 wake_up(&hb->wait); in hib_end_io()264 struct hib_bio_batch *hb) in hib_submit_io() argument[all …]
348 static inline void hb_waiters_inc(struct futex_hash_bucket *hb) in hb_waiters_inc() argument351 atomic_inc(&hb->waiters); in hb_waiters_inc()363 static inline void hb_waiters_dec(struct futex_hash_bucket *hb) in hb_waiters_dec() argument366 atomic_dec(&hb->waiters); in hb_waiters_dec()370 static inline int hb_waiters_pending(struct futex_hash_bucket *hb) in hb_waiters_pending() argument373 return atomic_read(&hb->waiters); in hb_waiters_pending()771 static struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, in futex_top_waiter() argument776 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()903 struct futex_hash_bucket *hb; in exit_pi_state_list() local918 hb = hash_futex(&key); in exit_pi_state_list()[all …]